When you created this entity you did something like LINK_ENTITY_TO_CLASS( "info_gamemode", CSDKGameRules);
or something correct? Just want to make sure im headed in the correct direction :)
r00t 3:16 CQC Gaming www.cqc-gaming.com ----- Original Message ----- From: "r00t 3:16" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, January 01, 2005 5:28 PM Subject: Re: [hlcoders] PlayerSpawn
Wow. This is interesting news actually :P So basically if I was to create an info entity and had these placed in the maps example.
info_roundtime info_gamemod etc The mapper could choose what game type for that map? and how long the rounds are etc?
Currently I added info_player_team1 info_player_team2 and also included those into an FGD file
So I could do basically the same thing for the game modes correct?
r00t 3:16 CQC Gaming www.cqc-gaming.com ----- Original Message ----- From: "Tony "omega" Sergi" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, January 01, 2005 5:10 PM Subject: RE: [hlcoders] PlayerSpawn
Addphysicsflag/remphysics flag just do the same thing that setphysicsflag does (which I didn’t even notice existed until now. ;p)
GetRulesMode() is all inside the gamerules and has nothing to do with a convar at all. I have an info entity that is placed in the map with variables like: gametype, roundtime, respawn times, etc. the gamerules get initialized from it.
-omega
-----Original Message----- From: r00t 3:16 [mailto:[EMAIL PROTECTED] Sent: January 1, 2005 4:31 PM To: [email protected] Subject: Re: [hlcoders] PlayerSpawn
Actually I was also wondering what the AddPhysicsFlag / RemPhysicsFlag actually does? Also where did you add these ?
GetRulesMode() is a function you created in SDKGameRules? so you must have added some kind of ConVar. Something like mp_gamemode 1 2 3 RULES_CLASSIC = 1 RULES_CUSTOM = 2 etc etc (Just as examples dunno if this is actually what was done just guestamating :)
Then did you define RULES_CLASSIC in the SDKGameRules ?
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 30/12/2004
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

