Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
entities - damage if func_pointparticles

#1
hey,

I have created a small map with two func_pointparticles entities.
Both use as effect pipe_smoke.

Actually my idea is that the player gets hurt if the particles are emitted.
First func_pointparticles is combined with trigger_swamp.
I tried to activate/deactivate trigger_swamp by modifying its keys dmg and swamp_slowdown via target_spawn entities.
Second func_pointparticles is combined with trigger_hurt, which should be activated/deactivated via relay_activate and relay_deactivate.

But both fail Sad

I added a pk3... solution expected Smile
.pk3   testent.pk3 (Size: 4.21 KB / Downloads: 5)
Reply

#2
Note to mappers who might help with this: if you find that the approach *should* work but doesn't, please say so and we can file a bug report. It seems strange to me that trigger_hurt wouldn't be affected by relay_(de)activate.
Reply

#3
I once wanted to make a "trap map". Here's how I did it: you push a button, some "gas holder cannisters" open up, green particles are emitted, and a trigger hurt is activated.
I pasted the relevant part into this map, I hope it still works, I didn't tested:
http://akion.planetnexuiz.de/toxicparticles.map
[Image: 561.png]
"One should strive to achieve; not sit in bitter regret."
Reply

#4
The map and it's effects work fine, thanks C.Brutail
But you do not activate/deactivate trigger_hurt. It's connected to func_door and misc_follow. If the door moves in direction of z-axis, trigger_hurt does, too.
Players are able to touch it and get hurt.
It works and I will use the same principle, but i would like to know how you can toggle the status of trigger_hurt or modify the entity keys of trigger_swamp via target_spawn.
Reply

#5
Is it possible to toggle an event randomly, or on equal intervals?
[Image: 0_e8735_c58a251e_orig]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Script] Full realtime world lighting, using static light entities MirceaKitsune 4 6,666 03-23-2015, 12:33 PM
Last Post: Lee_Stricklin
  Physical entities test (ODE) MirceaKitsune 27 30,301 10-10-2012, 05:48 AM
Last Post: MirceaKitsune
  Bone based damage system (feature vote and debate) MirceaKitsune 42 48,711 05-17-2012, 01:29 AM
Last Post: CuBe0wL
Bug Coding & Testing HELP needed: Death / intermission chase camera, and damage effects MirceaKitsune 1 4,545 05-01-2011, 09:28 AM
Last Post: MirceaKitsune

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-