[ZP] Zombie Class : Invisible Cat
2 Attachment(s)
Description: The zombie can invisible if he/she not move, jump or attack. Have long jump. Cvar: zp_inviscat_amount 45 --> amount of invisible. Credit: Hello-World arkshine update logs: 1.1 ---> using fun code, thanks arkshine.:) 1.2 ---> add a cvar. |
Re: [ZP] Zombie Class : Invisible Cat
sorry but the cat sequences looks like shit :|
|
Re: [ZP] Zombie Class : Invisible Cat
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: [ZP] Zombie Class : Invisible Cat
- You should use set_user_rendering() from fun instead of fakemeta, it will be more efficient.
- You should use FM_CmdStart instead of PlayerPreThink, but is really need just to glow ? - Like said Nextra, you should move pev_button, but I would reorganize like this to avoid returs : Code:
Code:
|
Re: [ZP] Zombie Class : Invisible Cat
Quote:
Quote:
|
Re: [ZP] Zombie Class : Invisible Cat
Quote:
|
Re: [ZP] Zombie Class : Invisible Cat
Quote:
2. i don't understand, sorry. 3. why? |
Re: [ZP] Zombie Class : Invisible Cat
Quote:
|
Re: [ZP] Zombie Class : Invisible Cat
Quote:
http://data.fuskbugg.se/skalman01/cat2.bmp Its a 256-colours BMP. |
Re: [ZP] Zombie Class : Invisible Cat
2. Forget, for your need Prethink is fine actually. But I'm still wondering if there is not a more appropriate way to do that instead applying a lot of times the glow when it needs only one time. You could use the provided ZP forward when player becomes zombie and back human, then applying glow at this time.
3. You have to do the checks before retrieving player's buttons and about the returns, it will just generate less code. |
| All times are GMT -4. The time now is 16:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.