Cardia on 9/1/2014 at 11:58
Anyone knows how can i make the player get hurt by simply touching or aproaching a object (Hot boiler)?
Daraan on 9/1/2014 at 12:34
The easiest way to do that is via Stims - Time to learn something new Sources & Receptrons
Give it Act/React-> Source. Click add.
Choose the stim you want. I bet it's waterstim...
Now the propagator:
"The Propogator is how the stimulus is distributed. For Contact, this means that the object will stim another object every time those objects collide in game. Contact stims are useful for things like arrows. An arrow wouldn't hurt you if you stood next to it, you would have to collide with it. A Radius propagator means that the object sends out the stim across a radius (in a sphere around the object) at an interval of time that you specify (see below). A Flow propagator means that the stim is specific to flow brushes. In this case, for example, lava has a Firestim source with a Flow propagation. In order to create lava, you need a flow brush over top of a water brush (see tutorials on water). Whenever you step inside this flow brush, you will be “firestimmed”, so to speak. A Firestim hurts Garrett, so whenever you step in lava you take damage. A Script propagator means that the stimulus occurs through a custom script. As an example, a healing potion has a RestoreStim which only goes off when Garrett drinks it. That is a scripted event (although you can change the specifics of it if you wanted). "
For your needs you have to choose between collision or better radius. Collision will only damage once on every contact. While radius damages repeatably.
Intensity is in that case the amount of damage.
Read here to learn the basics about (
http://dromed.whoopdedo.org/dromed/s_and_r_basics) Sources & Receptrons.
Especially with receptrons you can do a lot (see in the lower section of that post) but pretty much became obsolete since better scripts came out especially with NVScripts you can nearly do everything for what you needed stims earlier. (but not everything). I really need a script which works like Set Property and which lets you exactly specify the change...
Cardia on 9/1/2014 at 12:51
Many thanks, that did the Trick :thumb:
Yandros on 9/1/2014 at 20:03
Note that the stim you pick affects which pain sounds Garrett uses. Firestim reactions are stronger than others, for example. Play around with it until you find the sounds you want, regardless of the stim.