I am currently building a maze, where i am using the puzzle bridge it works really nice. it's the one from this link
http://xmlspawner.15.forumer.com/index.php?showtopic=155
But i would like to place a tele pad that covers the whole area underneath the bridge, that only works if a player drops down from the bridge, i would also want the player to be killed upon falling down. is there a easy way to aproach this with a singel xmlspawn and how will i set it up
I have no idear how to go about doing this, so any help will be greately appriciated.
I would set up a proximity triggered spawner below the bridge that checks for the player Z coord in the PlayerTrigProp by setting it to a test like "z=0", or whatever the z coord of the ground below the bridge is. Set the ProximityRange to the area you want detected, and set SpawnOnTrigger to true.
Killing the player is made easier with the new KILL keyword that I just added. (see the 3.15 beta).
You can also use the DAMAGE keyword which will apply damage to the triggering player.
QUOTE |
- Added the DAMAGE,damage,phys,fire,cold,pois,energy[,range][,playeronly] keyword. This will apply the specified damage either to the triggering player or to all mobs within the range if it is specified. When the playeronly flag is added, then damage will be applied to inrange players only, and not mobs. The damage will be distributed across the different types based upon the arg values. So to deliver 50 damage to the triggering player with 100% of it phys type, use the spec "DAMAGE,50,100,0,0,0,0". To deliver 10 damage to all mobs within a range of 5 tiles with half of it poison and half energy use the line "DAMAGE,10,0,0,0,50,50,5". To deliver 10 damage to all players within a range of 5 tiles with half of it poison and half energy use the line "DAMAGE,10,0,0,0,50,50,5,playeronly".
|
So you could have a spawn entry like
SETONTRIGMOB/location/(x,y,z)/KILL
or
SETONTRIGMOB/location/(x,y,z)/DAMAGE,200,100,0,0,0,0
to apply 200 damage (which should kill them)
Note the order of the property assignments. Because the location is set first, the entry would teleport the player, and then kill them. You would substitute the x,y,z coords that you wanted to use for teleporting.
Thanks alot i got it to work perfectely
But is there a way that i can set it up to work in for example a 3x10 square large area, right now i can only get it to work with setting the proximity range meaning i can only make it work in equeal large squares like 8x8, i could use several of them, but it would be neat if i could do it with just 1.
you cannot specify an irregular area for triggering, but you can add tests to the PlayerTrigProp to further restrict the player x coord just like you did for z like
"z=0 & x<1200 & x>1158"
Arh i think i did't it wrong, i used a item and gave set it up with the [xmledit command.
Instead i should use a proximity trigger spawner as you said which leads to a new question
Whats that and how do i do that ? I have been searching the forum with no luck
you could do it with an item and [xmledit, but it is probably easier with a spawner.
Just [add an xmlspawner, and then configure the props through the Props button in the spawner gump.
http://xmlspawner.15.forumer.com/index.php?showtopic=88
Thanks i finaly got it to work, havent spend much time with the xmlspawner, only editing with xmledit
Evrything works perfect except i still can't seem to specify a area for the trigger to work in dunno what i am during wrong there, but i got it fixed with limiting the proximity range
QUOTE (Xerrox @ August 22, 2006 03:48 pm) |
Thanks i finaly got it to work, havent spend much time with the xmlspawner, only editing with xmledit Evrything works perfect except i still can't seem to specify a area for the trigger to work in dunno what i am during wrong there, but i got it fixed with limiting the proximity range |
The only control that you have over the triggering area is the ProximityRange setting.
ok then it's no wonder i can't specify a area, would be nice if you could, but ohh well it's just a luxury problem nothing serious.
Again thanks alot for your help