More CS help :< Created 19 years ago2005-08-02 21:27:21 UTC by Ace Ace

Created 19 years ago2005-08-02 21:27:21 UTC by Ace Ace

Posted 19 years ago2005-08-02 21:27:21 UTC Post #125533
hey again guys,
this time i need help with the game_player_equip entity (in Counter-Strike of corse)
i have one simple question:
how do i make it team specific?
(give each team different weapons)
please give details, i get confused easily lol
thanks
Ace
Posted 19 years ago2005-08-02 21:35:29 UTC Post #125534
Make the team members start above trigger_multiples targeting the
game_player_equips
ChickenFist ChickenFist<Witty Title>
Posted 19 years ago2005-08-02 23:37:59 UTC Post #125542
no, that doesnt work :( one team can drop their weapons and run into the trigger to recive the other teams weapons
Posted 19 years ago2005-08-03 00:04:12 UTC Post #125543
i see an option under the game_player_equip's attributes that says "Team Master"

what does that do? i tried expierimenting and couldnt figure it out
Posted 19 years ago2005-08-03 03:04:11 UTC Post #125546
It still can be made with trigger_multiples. Pretty simple really. All you need is a trigger_changetarget that would be triggered after the game_player_equip. This trigger_changetarget would change the trigger _multiple target to nothing, or any non-existing entity. And you would also need a trigger_auto, that would trigger another trigger_changetarget, at the start of every round, which would change the trigger_multiple target to the game_player_equip ans so this circle would go on and on and on and on and on and... gets hit with a keyboard and falls asleep. :)

I could make an example map, if you need one.

Edit button - Seventh
Daubster DaubsterVault Dweller
Posted 19 years ago2005-08-03 10:28:00 UTC Post #125667
Or you could make the trigger_mutiples up in the air and make the players fall trough.
ChickenFist ChickenFist<Witty Title>
Posted 19 years ago2005-08-03 21:53:06 UTC Post #125779
Daubster: yeah.. that example map would be nice ( post it here =D )^.^
Seventh-Monkey: :biggrin:
ChickenFist: lol i tried that
Posted 19 years ago2005-08-04 06:33:03 UTC Post #125835
It works.
ChickenFist ChickenFist<Witty Title>
Posted 19 years ago2005-08-04 09:15:19 UTC Post #125863
Ace, I've made the game_player_equip give wpns once per round, but it gives the same wpns for both teams... Will that do? :)
Daubster DaubsterVault Dweller
Posted 19 years ago2005-08-04 10:20:41 UTC Post #125887
Daubster: there is no problem to trigger the game_player_equip entities. It is a problem to make them team-specific.
Posted 19 years ago2005-08-05 13:23:23 UTC Post #126079
Describe the scenario a little. Could you just disable both sets of equipping things after a few seconds?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-08-05 14:12:13 UTC Post #126097
Actually, it's all in multisources, game_team_masters and trigger_autos... It just gives you wpns, at the start of the round and doesn't give any more during the round. I'm trying to make it team-specific, but I didn't figure out how yet... :(
At the start of the round, a trigger_auto is triggered. The triger_auto triggers a multisource, which triggers a game_team_master, which triggers the game_player equip. I'm experimenting with the team master to see if it's possible to make equipping team-specific.
Daubster DaubsterVault Dweller
Posted 19 years ago2005-08-06 03:34:49 UTC Post #126203
ChickenFist: yeah i know, i just but they can jump up to get it again.. and if i make it too high the teams will lose health from the fall

Seventh: Youve got a point. that would work but it needs to work/reset for the start of each round

Daubster: thanks, but i think it would be easeir to do it the way Seventh thought, although i dont know how to lol and thanks again for trying to work out my problem lol
Posted 19 years ago2005-08-06 03:55:48 UTC Post #126205
Use a multisource as a master. Naming something game_playerspawn or possibly "roundreset" should have an entity fired at the beginning of a new round. jaardsi did an Example Map on using multisources as masters.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-08-07 01:10:33 UTC Post #126448
do i use it like a multimanager? and what should i name "roundreset"
Posted 19 years ago2005-08-07 01:47:09 UTC Post #126454
No, it's a completely different entity. Consult the Entity Guide, the MV, and, I think, the tutorial.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.