[unfinished] Tag Game snippet (I think...)
1 Attachment(s)
For Cs:s, maybe HL2:dm & TF2 What I have done - TAG game system/modes
1 = Regular - Only one player can be IT, trying to catch another player to change roles.
2 = Freeze - Only one player can be IT, freeze other players and unfrozen players can try rescue frozen players.
3 = Team - One player start as IT, infecting other players to became IT also.
- Some wierd random player pick system... happen on event round_start - Player IT will render as color green with little transparent - Frozen player will be as color red with little transparent awhile, finally turn to blue, with little transparent - Simple PrintToServer & PrintToChatAll announces - // comments in source file, you maybe not understand them ever! - Player own two kind timers, to delay touch-rate and momentarily immunity againts tag and/or rescue. Delays are "hardcoded" in TagGame*Rules.sp files. What I have not done - commands and cvars - scoring system - not check when player die or disconnect - etc. etc. What else - If you want test, change mode manually from plugin source code and compile/reload plugin from server and use server command mp_restartgame 1 Of course need at least 2 players/bots or more - I have separate code in few files, to understand it easier (or least I tried)
This require SDKHooks extension, to recognize players touch and damage by melee weapon (I hope so). |
Re: [unfinished] Tag Game snippet (I think...)
I might pick up on this if I get any free time to do it.
|
Re: [unfinished] Tag Game snippet (I think...)
Quote:
|
Re: [unfinished] Tag Game snippet (I think...)
update youtube videos in my first post, if want look how it works before testing.
|
| All times are GMT -4. The time now is 18:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.