Raised This Month: $32 Target: $400
 8% 

Zombie Panic Source notes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 06-21-2009 , 23:50   Zombie Panic Source notes
Reply With Quote #1

For lack of a better place to put this, I'm sticking these here so people don't duplicate what I've already attempted to do with the game:
  • You cannot set people to be carriers by changing CPlayerResource.m_bIsCarrier. If you do this every frame, they will appear on the scoreboard as infected, but not actually infect people. I assume the game is storing the "real" infected person elsewhere, though I was unable to locate where. It's also possible that it gives you a new weapon (I just looked at the weapon list for this mod, and it seems very likely)
  • You cannot make people infected just by changing CHL2_Player.m_IsInfected. This will only change the person over when they die. To do this properly, you need to set this, wait awhile, send SurvivorInfected (makes the little dots appear). Wait awhile longer, change the players team, strip all their weapons, and give them the "arms" weapon

That is all, hope I save someone some experimenting.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 06-22-2009 , 01:10   Re: Zombie Panic Source notes
Reply With Quote #2

Good stuff, but message Sammy-ROCK! on these forums at least a while ago he got the information on how to at least infect someone. He has a lot of ZPS info.
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
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 08:44.


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