Raised This Month: $ Target: $400
 0% 

Health Disguise v1.1


Post New Thread Reply   
 
Thread Tools Display Modes
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-04-2009 , 18:46   Re: Health Disguise v1.1
Reply With Quote #11

Seeing this plugin i remembered a question that i once had. Exists any map with something like a mirror?
__________________
joaquimandrade is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 18:48   Re: Health Disguise v1.1
Reply With Quote #12

Hello joa!

You mean a texture/model that acts like a mirror?
BOYSplayCS is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-04-2009 , 18:49   Re: Health Disguise v1.1
Reply With Quote #13

Quote:
Originally Posted by BOYSplayCS View Post
Hello joa!

You mean a texture/model that acts like a mirror?
A thing that acts like a mirror, yes. It would be fine to see ourselves invisible.
__________________
joaquimandrade is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 18:50   Re: Health Disguise v1.1
Reply With Quote #14

Out of all the maps I've ever played, I haven't seen one. But I'm sure it's possible to create something like that with AMXX.
BOYSplayCS is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-04-2009 , 19:19   Re: Health Disguise v1.1
Reply With Quote #15

Quote:
Originally Posted by BOYSplayCS View Post
I would have to think about how to do that.
Like this?

Code:
public EventHealth(client) {     new health = read_data(1);     new disguise_amount = get_pcvar_num(hplevel);         if(health <= disguise_amount)     {         new invis_amount = get_pcvar_num(invisamount) * health / disguise_amount;                 set_user_rendering(client, kRenderFxNone, 0, 0, 0, kRenderTransAdd, invis_amount);                 if(isVisible[client])         {             client_print(client, print_chat, "[AMXX] Your health is below %d, you are now semi-invisible.", disguise_amount);             isVisible[client] = 0;         }         client_print(client, print_chat, "[AMXX] Health: [%d] - Invisibility Percent: [%d]", health, invis_amount);     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-04-2009 , 19:21   Re: Health Disguise v1.1
Reply With Quote #16

Ok.

I was playing against bots, and I was being shot and then killed by one and I couldn't see where it was.
I forgot i was using your plugin . It's nice.
__________________
joaquimandrade is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 19:31   Re: Health Disguise v1.1
Reply With Quote #17

Quote:
Originally Posted by Exolent[jNr] View Post
Like this?
Surprisingly, the code that I made for it is EXACTLY like yours. I was thinking the same thing, I tested it and it worked perfectly.

@Joa: Haha, thank you, thank you.


EDIT: Well, almost exactly

Last edited by BOYSplayCS; 04-04-2009 at 19:34.
BOYSplayCS is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 21:45   Re: Health Disguise v1.1
Reply With Quote #18

Can I get some more people other than Joa and myself to confirm this works?
BOYSplayCS is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-04-2009 , 22:34   Re: Health Disguise v1.1
Reply With Quote #19

You didn't even add the new update for the more invisible for less health.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 22:41   Re: Health Disguise v1.1
Reply With Quote #20

Woah! I thought I added that, doh!

Let me do that now, lol.
BOYSplayCS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode