-- [ Picked text/plain from multipart/alternative ] Content-description: Mail message body
The code to figure out whether it's a "game commence" round or not isn't that resource intensive. A bit flag set in LevelInit and reset depending on number of players (by cycling though edicts at max of globals->maxClients) on round_start is all you need. -- Roy "Kylratix" Laurie HalfLifeTwoDev (http://www.hl2dev.com/) On 14 Mar 2005 at 20:58, Ronny Schedel wrote: > round_start is every round, pretty useless. > > Greets > Ronny > > > > Ronny, > > > > Have you tried (from gameevents.res) "round_start"? > > > > -- Roy "Kylratix" Laurie > > HalfLifeTwoDev (http://www.hl2dev.com/) > > > > > > On 14 Mar 2005 at 18:14, Ronny Schedel wrote: > > > >> Some more events would be nice for CS:S: > >> > >> round restart > >> game commencing > >> > >> Greets > >> Ronny > >> > >> > >> > -- > >> > [ Picked text/plain from multipart/alternative ] > >> > Content-description: Mail message body > >> > > >> > Excellent. Thank you. > >> > > >> > Hopefully it will be the former, if not just for posterity. That and > >> > the > >> > workaround is > >> > somewhat resource intensive compared to the alternative. > >> > > >> > On a similar topic, there is the a lack of a "bomb_begin_plant" and a > >> > "hostage_stops_following". These events are, again, a matter of > >> > posterity. > >> > > >> > Current events include bomb explosion, bomb beginning defuse (which is > >> > nice), and > >> > abortion of defuse. The defusing events are excellent and I'd like to > >> > see > >> > its likeness > >> > for the Terrorist act of planting. > >> > > >> > "hostage_follows" makes a lot of interesting things possible on cs_ > >> > maps. > >> > Unfortunately, unless the hostage dies or is rescued, the plugin has no > >> > efficient > >> > means of learning if the hostage stopped following for some other > >> > reason. > >> > This > >> > negates the usefulness of hostage_follows, since we can not truly tell > >> > if > >> > it's following > >> > at any given time or not without an extensive and heavily resource > >> > intensive > >> > workaround, which I have not been able to devise at the moment. > >> > > >> > Thanks again, Alfred. > >> > > >> > -- Roy "Kylratix" Laurie > >> > HalfLifeTwoDev (http://www.hl2dev.com/) > >> > > >> > > >> > On 14 Mar 2005 at 0:40, Alfred Reynolds wrote: > >> > > >> >> The code doesn't set anything but the userid parameter to a useful > >> >> value > >> >> right now. I have passed on the problem and they will look into either > >> >> updating the code or amending the description. > >> >> > >> >> - Alfred > >> >> > >> >> -----Original Message----- > >> >> From: [EMAIL PROTECTED] > >> >> [mailto:[EMAIL PROTECTED] On Behalf Of Roy Laurie > >> >> Sent: Sunday, March 13, 2005 11:07 AM > >> >> To: hlcoders@list.valvesoftware.com > >> >> Subject: [hlcoders] BUG? Server Plugins => FireGameEvent => > >> >> hostage_rescued > >> >> > >> >> -- > >> >> [ Picked text/plain from multipart/alternative ] > >> >> Content-description: Mail message body > >> >> > >> >> Snippet from my SRCDS's modevent.res for CS:S: > >> >> > >> >> "hostage_rescued" > >> >> { > >> >> "userid" "short" // player who rescued the > >> >> hostage > >> >> "hostage" "short" // hostage entity index > >> >> "site" "short" // rescue site index > >> >> } > >> >> > >> >> > >> >> My plugin has been showing, to my dismay, that the hostage index > >> >> constantly returns as 0. Not very helpful at all. > >> >> > >> >> It does work, however, with hostage_killed. > >> >> > >> >> > >> >> -- Roy "Kylratix" Laurie > >> >> HalfLifeTwoDev (http://www.hl2dev.com/) > >> >> > >> >> Sincerely, > >> >> Roy Laurie > >> >> -- > >> >> > >> >> _______________________________________________ > >> >> 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 > >> > > >> > >> > >> _______________________________________________ > >> 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 > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders