Re: [hlcoders] Different Gamerules based on mapname or entities

2005-06-02 Thread Jeffrey \botman\ Broome
Andrew (British_Bomber) wrote: That's fine and dandy however I have a few more gamemodes in the works and would rather be able to get and entity to define the gamemodes. Is that possible. Why can't you create a single GameRules class that handles all the different types of gameplay that you

Re: [hlcoders] Different Gamerules based on mapname or entities

2005-06-02 Thread Andrew (British_Bomber)
Don't know really, the mod team decided they wanted 3 different gameplays, 2 of which were similar and the other 1 being completely different I thought I would break it into 2 gameplays rather than run checks everytime on whether a feature was enabled or not. I take it no one has every created a

Re: [hlcoders] Different Gamerules based on mapname or entities

2005-06-02 Thread Jeffrey \botman\ Broome
Andrew (British_Bomber) wrote: I take it no one has every created a mod that used multiplegamerules... The problem isn't that you can't create multiple gamerules classes, the problem is that you are trying to use entity information which isn't available until after the gamerules class has

RE: [hlcoders] Different Gamerules based on mapname or entities

2005-06-02 Thread Tony \omega\ Sergi
, and think about It [EMAIL PROTECTED] ps listen to botman. Oh and me, yeah, me. -Original Message- From: Jeffrey botman Broome [mailto:[EMAIL PROTECTED] Sent: June 2, 2005 12:13 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Different Gamerules based on mapname or entities

Re: [hlcoders] Different Gamerules based on mapname or entities

2005-06-02 Thread Andrew (British_Bomber)
Thanks guys for not completely taking the hand of me for that completely stupid question and my arrogance towards your original reply jeff :D In my youthfull thinking the soloution was Make very specific gamerules that can handle a specific gameplay, rather than a robust one that can handle