Raised This Month: $ Target: $400
 0% 

Biohazard v2.00 Beta 3b (Zombie Mod)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
marcellus
Senior Member
Join Date: Mar 2004
Old 01-26-2009 , 13:44   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #11

Quote:
Originally Posted by HeHu View Post
Hi, i got Biohazard 1.93. Is there anyway to change the gravity of all zombies (When they get infected.)
search in the source code :
Code:
stock set_zombie_attibutes(index)
add after
Code:
set_pev(index, pev_health, g_zombieoftheround == index ? health + bonus : health)
the line :
Code:
set_pev(index, pev_gravity, 1.0)
where 1.0 is the multiplier of the gravity ( less gravity < 1.0 < more gravity)
__________________
www.war-cs.com
french cz community
marcellus is offline
 


Thread Tools
Display Modes

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 20:57.


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