Raised This Month: $7 Target: $400
 1% 

[unfinished] Tag Game snippet (I think...)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-20-2013 , 14:12   [unfinished] Tag Game snippet (I think...)
Reply With Quote #1

Rant:
What to write... bad english ?
I try to code plugin, what remind kids game called TAG, but tired continue this and all those testing.

Feel free to use


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)
  • TagGameTest.sp
    • TagGamePickPlayer.sp
    • TagGameProcess.sp
      • TagGameRegularRules.sp
      • TagGameFreezeRules.sp
      • TagGameTeamRules.sp


This require SDKHooks extension, to recognize players touch and damage by melee weapon (I hope so).
Attached Files
File Type: zip TagGameSnippet.zip (14.4 KB, 77 views)

Last edited by Bacardi; 03-21-2013 at 16:12.
Bacardi is offline
Skippy
Senior Member
Join Date: Nov 2011
Old 03-21-2013 , 01:40   Re: [unfinished] Tag Game snippet (I think...)
Reply With Quote #2

I might pick up on this if I get any free time to do it.
__________________
Plugins:
[Any] Aim Menu

Want a TF2 plugin? Feel free to pm me to discuss it.
Skippy is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-21-2013 , 13:04   Re: [unfinished] Tag Game snippet (I think...)
Reply With Quote #3

Quote:
Originally Posted by Skippy View Post
I might pick up on this if I get any free time to do it.
I was thinking about the same thing.
Mitchell is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-21-2013 , 16:20   Re: [unfinished] Tag Game snippet (I think...)
Reply With Quote #4

update youtube videos in my first post, if want look how it works before testing.
Bacardi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode