Cs 1.6 - Spawn with dif. weapons each round Created 5 years ago2018-09-15 23:04:32 UTC by zeeba-G zeeba-G

Created 5 years ago2018-09-15 23:04:32 UTC by zeeba-G zeeba-G

Posted 5 years ago2018-09-15 23:04:32 UTC Post #340889
Does anyone know how this is done? I've seen it done before.

Basically I want players to spawn with all knives only the first round, mp5's the next round and so on.

I know how to strip the player's weapons and give them a weapon each round but what i'm looking for is the cycle of different weapons each round.
Posted 5 years ago2018-09-16 13:05:14 UTC Post #340894
You’ve seen this on specific maps or on specific servers?

If it’s by map, you could use a bsp explorer and examine the triggers yourself.

If it’s by server, that server is likely running it’s own scripts.

Now, if this trigger setup changes based on time (handled by maybe a multi manager) that could retarget a trigger to different player equip.

Just guessing.
Rimrook RimrookSince 2003
Posted 5 years ago2018-09-16 15:40:09 UTC Post #340895
Here's an idea, the first that comes to my mind:
If you want, say, 4 different weapon rounds, create 4 different game_counters with the same name, with the limit set to 4, with the Reset on fire flag checked, with different targets, and with different initial values. So the first one would have these properties:
Name: c
Target: give_players_knives
Initial value: 0
Limit: 4
[Reset on fire]
The second one would be:
Name: c
Target: give_players_mp5s
Initial value: 1
Limit: 4
[Reset on fire]
And so on...
And then make sure "c" is triggered at the start of each round.
Untested.
Posted 5 years ago2018-09-16 16:35:41 UTC Post #340898
Double Edit: I was able to get different doors to open each round, i'll share how it's done when I have the time. I figured I could have each door trigger a different game_player_equip each round but it crashes halflife for some reason. So instead, you just enter a region through the open door that triggers a game_player_equip...

Edit: Hmm, it gives each player all the guns each round.

I know this should be doable because i've seen maps where different doors are triggered open each round and it doesn't require special servers to run. Like the map fy_trifecta.

Let me analyze the map further.

Thanks Rim, yea I decompiled a couple maps but still couldn't figure it out.

Thanks Potatis, i'll test that method right now and let you know if it works.
You must be logged in to post a response.