|
New Ace of Spades Forums: http://buildandshoot.com/ |
|
I just need a few codes that could help me make a game mode for a psyspades server, I'm trying to make the blues only have pickaxes and greens use the /switch command when they die. |
#75117 [C.H]Winston_ Extreme Brit Posted 13 years ago |
greens make better zombies (cuz there green). |
#75132 [EX]Frosty Best Served Chilled Posted 13 years ago |
^agreed + god luck with this :) |
#75134 TWiiSt3D Soul_SnipeZ Posted 13 years ago |
Forcing someone to use a pickaxe in game wouldn't be possible (Client side, as far as I know) However, you can probably null the damage for the guns? Not sure. |
#77467 Komrade Korakoff Dictator of Komrades Posted 13 years ago |
there is a command set_weapon and I think I can use that. |
#77468 [C.H]Winston_ Extreme Brit Posted 13 years ago |
You can't use set_weapon to force the client to change weapons. Instead add to these functions: on_hit(), on_block_build_attempt(), on_block_destroy(), and grenade_exploded() Their body will all look something like: if self.team is self.protocol.green_team: |
#77481 Triplefox Member Posted 13 years ago |
Uhh, this looks quite confusing, I think I'll just wait untill 0.59 comes out... |
#77486 [C.H]Winston_ Extreme Brit Posted 13 years ago |
^ xD |
#78881 TWiiSt3D Soul_SnipeZ Posted 13 years ago |
XD |
#78883 [EX]Frosty Best Served Chilled Posted 13 years ago |
RSS feed for this topic |
You must log in to post.
|
No tags yet. |
Ace of Spades Game Forums is proudly powered by bbPress. // Theme by Mike Lothar |