Basically what I have so far is
#ifndef CLIENT_DLL
LINK_ENTITY_TO_CLASS(info_player_ttf, CPointEntity);
LINK_ENTITY_TO_CLASS(info_player_terrorist, CPointEntity);
#endif
LINK_ENTITY_TO_CLASS(info_gamerules, CSDKGameRules);
Now I guess i need some kind of function to see what info_gamerules is set
to.
I can get the info with this I would imagine
gEntList.FindEntityByClassname(m_iGameRules, "info_gamerules");
Then decide what the game play is going to be and load the proper menu's
etc.
Which those above are not a problem.

How do I setup the FGD file so they can change this in hammer?
Is it PointClass? BaseClass?

I am gonna go read the sdk docs again also, I read them once and I did not
make much sense, but I am starting to get an understanding of how everything
works so maybe I will get it now.

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 6:02 PM Subject: RE: [hlcoders] PlayerSpawn


Yep. It's spawn function passes the variables to gamerules, and then sets
itself intangible (but still triggerable, so you can use I/o with it).


-----Original Message----- From: r00t 3:16 [mailto:[EMAIL PROTECTED] Sent: January 1, 2005 5:49 PM To: [email protected] Subject: Re: [hlcoders] PlayerSpawn

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

--
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



Reply via email to