Jump to content


Photo

Flame Jet Trap


10 replies to this topic

#1 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 37756 posts

Posted 19 August 2018 - 11:17 AM

*
POPULAR

This is my the third trap video, and probably the last one for a while.  It shows how to make flame jet traps, as well as how to stagger multiple jets in a pattern, and how to set up the possibility to disable them.

 

The one weakness of this setup is that the player can potentially run or jump through a jet without taking any damage if they can do it in under .5 seconds.  Using a trigger_hurt instead of a damage stim would solve that problem, but the issue with trigger_hurts is that they don't (for some reason) affect AI who aren't moving.  So an AI could stand in the fire without taking any damage at all if they stood still.  I'm hoping that might be fixed in the future, but until it is, trigger_hurt is unusable against AI.  Still, if you're making this trap in areas AI can't go to, a trigger_hurt would be a better option.

 

 


  • Bikerdude, Judith, Dragofer and 9 others like this
TDM Missions:   A Score to Settle   *   A Reputation to Uphold   *   A New Job   *    A Matter of Hours
 
Video Series:   Springheel's Modules   *   Speedbuild Challenge   *   New Mappers Workshop  *   Building Traps

#2 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1694 posts

Posted 20 August 2018 - 03:19 AM

All these traps are great! teh_saccade would be exhilarated, if he saw this (or more likely would complain that it has not been done earlier). Anyway, I think these traps are a great addition to the mod!


  • Springheel likes this

#3 stumpy

stumpy

    Advanced Member

  • Member
  • PipPipPip
  • 1934 posts

Posted 20 August 2018 - 05:45 AM

trigger_hurt takes its damage from the damage.def file and a lot of the damage in there is hard coded to a c++ function/s in the engine.



#4 RPGista

RPGista

    Advanced Member

  • Member
  • PipPipPip
  • 1665 posts

Posted 20 August 2018 - 08:24 AM

Yeah, I came late to the party but these videos are incredible - perfect pacing, clear, detailed explanations, on top of the visual guide. Couldnt ask for more. Thanks a a lot for this.


  • Springheel likes this

#5 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 37756 posts

Posted 20 August 2018 - 08:38 AM

trigger_hurt takes its damage from the damage.def file and a lot of the damage in there is hard coded to a c++ function/s in the engine.

 

So does the damage stim.  But the two have a couple very significant differences:

 

1. Damage Stims fire every X seconds, starting as soon as stim is activated.  Trigger_hurt fires every X seconds, starting from the moment the player/AI contacts the entity (so player cannot slip through without damage).

2. Damage Stims damage AI as long as the AI is within the stim radius.  Trigger_hurts damage AI as long as the AI is touching the entity AND is in motion (so AI can stand in fire without damage).

3.  Damage Stims have their damage amounts set on the receivers (player and AI). Trigger_hurt sets its damage right on the entity itself (much easier).

 

So trigger_hurt is generally superior, unless you also want it to damage AI.

 

 

 

Anyway I'm glad people like them!  I hope they'll encourage more trap use in future missions. :)


TDM Missions:   A Score to Settle   *   A Reputation to Uphold   *   A New Job   *    A Matter of Hours
 
Video Series:   Springheel's Modules   *   Speedbuild Challenge   *   New Mappers Workshop  *   Building Traps

#6 Dragofer

Dragofer

    Modeler

  • Member
  • PipPipPip
  • 607 posts

Posted 20 August 2018 - 10:14 AM

Anyway I'm glad people like them!  I hope they'll encourage more trap use in future missions. :)


Yes, thanks for going through the work of making TDM's first prototypes of these traps and presenting them so well. (Also came across your art classes - those are relaxing to watch, and I may become a user myself in the event that I focus on art again sometime down the line)

Got any more ideas for traps you were going to work on next? It may be good to have the community mull over how they could be implemented in the meantime. Personally I quite liked the drowning/getting compacted while lockpicking variety.... hmm...
  • Springheel likes this

#7 Springheel

Springheel

    Creative Director (retired)

  • Admin
  • 37756 posts

Posted 20 August 2018 - 10:41 AM

Got any more ideas for traps you were going to work on next?

 

 

Well, here are a few I was thinking about looking into in the future:

 

1.  Crushing walls

 

2.  Spiked pits

 

3.  Rooms filling with water (Sotha did that in a mission already)

 

4.  A Dishonored type lightning trap

 

5.  Something like the Thief heads that fire projectiles (probably would require an AI def)

 

6.  Poison gas traps (ideally that could be avoided with breath potions)


TDM Missions:   A Score to Settle   *   A Reputation to Uphold   *   A New Job   *    A Matter of Hours
 
Video Series:   Springheel's Modules   *   Speedbuild Challenge   *   New Mappers Workshop  *   Building Traps

#8 Aosys

Aosys

    Member

  • Member
  • PipPip
  • 248 posts

Posted 20 August 2018 - 03:21 PM

Swinging blade traps and dropping boulder traps could also be nice (the latter is probably pretty easy to set up, but I haven't tried it myself so I have no idea).



#9 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5823 posts

Posted 20 August 2018 - 03:50 PM

 

Well, here are a few I was thinking about looking into in the future:

 

1.  Crushing walls

 

2.  Spiked pits

 

3.  Rooms filling with water (Sotha did that in a mission already)

 

4.  A Dishonored type lightning trap

 

5.  Something like the Thief heads that fire projectiles (probably would require an AI def)

 

6.  Poison gas traps (ideally that could be avoided with breath potions)

  1. These could be problematic if moveables come into play, as a few crates for example could be used to block the whole setup (which may be desirable). They could be setup to take damage as well, but this would make the whole setup very sensitive on how mappers are using it.
  2. Insta-kill?! A trigger_hurt dealing a sufficiently high amount of damage.
  3. Did that in Old Habits 2, too. It is surprisingly easy to setup (a water volume bound to a mover, a door for example). You need it to rise from below, though, so if there is no space left it gets difficult.
  4. The most difficult part here is the look of it. Projectiles support light trails, though, so particles left on the trail of the projectile fired. One just has to make sure that performance doesn't suffer too much from it.
  5. The security camera could potentially be used here. It provides a visibility scan without all the additional extra load an ai normally uses (pathfinding for example).
  6. That pretty much goes into the direction of the gas mine Sotha created a while back. If you are using the same gas as used there and by the gas arrow, breath potions will help.

 

Swinging blade traps and dropping boulder traps could also be nice (the latter is probably pretty easy to set up, but I haven't tried it myself so I have no idea).

The latter is relatively simple. The main problem is that once moveables come to rest, they will not move until they get an impulse from the outside reactivating them (that is for performance reasons). A translating door placed on top of the boulders that moves a bit to give them a little push would bypass this, but may not be a houndred percent relyable. Swinging blades would call for func_pendulums, but similar to the traps Springheel already set up the way damage is delivered to the entity hit has to be dealt with.


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#10 Destined

Destined

    Advanced Member

  • Member
  • PipPipPip
  • 1694 posts

Posted 21 August 2018 - 01:04 AM

 

  1. That pretty much goes into the direction of the gas mine Sotha created a while back. If you are using the same gas as used there and by the gas arrow, breath potions will help.

Can you point me to that? I tried to make some "poison gas" areas, that would drain the air from the player and had massive problems as I found no way of damaging the "air bar" of the player. The only way I found was to create a hidden room with a vaccum entity inside that I could regulate by opening and closing doors. This was still prone to errors as the whole area is evacuated and would affect AIs, where it should not. I am just curious how the setup of Sotha's trap is and how it regulates that the air potion helps against the trap



#11 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5823 posts

Posted 21 August 2018 - 01:42 AM

http://forums.thedar...om-mine-thread/


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users