Is it possible to... ?


(IndyJones) #1

Hello everyone, I’m pretty new here :wink: I’m a very new mapper, but I’m into ET for a long time.
I decided to do my own map, but before I start I have few questions that I’d like to have some answers… Ok, let me start:

Is it possible to…

  1. make a brushes (func_explosive) destroyable for one side only, for example Allies?
  2. make a sound warning for one side, for example Allies that such brush is under attack? Ie ‘X is under attack, defend it!’

The other thing is where can I find some quality tutorials to start with? I found http://www.pythononline.co.uk/et/ and it’s pretty good, but i’m looking for something else… Sticked topis are giving are redirecting me to main website… Thanks in advance!
Indy


(isbowhten) #2
  1. take a script_mover entity with spawnflag set “Axis”. then it is destroyable by allies.
    you even need the “solid” spawnflag and a health key AND a scriptfile.
    in the scriptfile you type the name of the scriptname of the entity e.g. “wall_axis”.

in the script:
wall_axis
{
pain // this event is executed if it gets damaged, -> if allies attack
{
wm_announce “denfed!”
//if you want a sound
togglespeaker name-of-speaker (search the forum how to put a speaker in your map)
}
}
a good scripting reference is : http://games.chruker.dk/enemy_territory/scripting_reference.php
and a good tutorial should be in radiant menu “help”