ok… what your gonna want to do is put back some functionality from the original quake3 source that was not used ( but still exists in et ). in your scripts folder find the et_entities.def file and at the end of the file add this and save it,
/*QUAKED target_remove_powerups (1 0 0) (-8 -8 -8) (8 8 8)
takes away all the activators powerups.
Used to drop flight powerups into death puts.
*/
now all you need to do is create a trigger_multiple brush that covers the floor
area of your map, near the bottom where someone drops into, but above any
trigger_hurt thats designed to kill the player. basicly you want the player to
touch this brush before he gets killed so it can remove the flag he’s carrying.
now add the new target_remove_powerups entity and target that trigger_multiple at it.
you will also need to add a target_script_trigger entity and give it the same
targetname as the target_remove_powerups entity you just added, so that
the trigger_multiple brush targets them both at the same time.
you will need to do this for both teams, so i’ll just cover the allied side now
but its the same for the axis, just some different key/values.
select the trigger_multiple brush and check the allied_only box, then
deselect it.
click on the target_script_trigger and add,
scriptname axis_flag
target returned
since your an allied player who has fell into the abyss, once you hit the
trigger_multiple, it will remove any flag your carrying, plus call the axis_flag
returned trigger in the script to instantly replace it back.
here’s a modified map to test it, try taking the enemy flag then just jump
off the side to see it get removed from you, and replaced back.
http://rapidshare.com/files/31823139/ctf_remove_powerups.pk3.html
now you need to do the same for the axis team, create a duplicate trigger_multiple
but target that at a new target_script_trigger and a new target_remove_powerups entity(s)
in the trigger_multiple for that one, select axis only, add the same thing
for the target_script_trigger associated with it, but change
scriptname axis_flag
to
scriptname allied_flag
check it out in the sample map i put at rapidshare to see how its done.