In my map I have a flag that needs to be captured. But to make things more interesting I decided to make the flag a contructible, more or less similar to radar (side entrance) but in my case both teams can construct the flag…
This is the idea (see screenies above): when the game starts an allied- or axis engineer can construct a flag-pole (neutral crates, similar to the fueldump axis tower/ allied mg ) so their team will spawn there. When an axis eng is constructing, an axis flagpole will appear: when an allied eng is constructing an allied flagpole will appear… Now, when , for example, the axis has constructed the flag, any alliedplayer can ‘touch’ the flagpole, but instead of changing the flag into allies , the flag-pole will disappear and the constructible crates will reappear for the allied eng to construct: same thing for the axis team…And most importent : I do NOT want the flagpole to be destroyable by either dynamite or a Satchel Charge…
So I made myself a little testmap and all works well except:
1] the flagpole can be destroyed because it’s a constructible item after all. what I can try to do is this: after one of the teams construct the flagpole make it invisible and replace it with a static model…
2] this is the main issue and reason why I am posting this: how can I make it so that when a player ‘touches’ the pole, the flagpole disappears and the constructible crates re-appear ? My first guess is to use a small trigger_multiple brush covering the pole so the script knows what team entered the brush/ touched the pole? problem is that I never used this entity before and can’t find any info on it: So in other words: what entities and scripting would I need to create this? :nag:
I must add that I made 2 separeta md3 models for both the axis flagpole and the allies flagpole to appear when constructed…