PlanetDeusEx | Deus Ex | Help | Editing | Advanced Water
Advanced Water

During this tutorial you will learn how to:

- Make water that burns, radiates and generally hurts poor old JC

- Use a DamageTrigger

Lets begin.

Making water, slime, toxic waste or whatever you want to call it that hurts the player is pretty damn easy to do.

Water Area

First you need to make the area where the slime (or whatever) will be ... use the map from the first Water tutorial .... or make a 512x512x512 room with a 256x256x256 hole in the floor ... use the sheet tool to add a water brush with the 'Effects' > 'drtywater_a' texture. Don't forget to add a WaterZone.

DamageTrigger

The DamageTrigger is similar to the WaterZone because it tells the engine which areas will harm the player. Unlike the WaterZone you need to manually set the area the DamageTrigger will affect.

To add a DamageTrigger ... choose 'Classes' on the Browser... then expand Triggers ... then Trigger ... then choose 'DamageTrigger' from the list ... right click and add the DamageTrigger.

You should see this ...

Select the DamageTrigger ... position it at the bottom and centre of the water area ... right click on it and go to the properties.

First expand the 'Collision' group ... set 'CollisionHeight' to 200.000000 ... set 'CollisionRadius' to 100.000000

Next select and expand the 'DamageTrigger' group ... set the 'DamageAmount' to 10.000000 ... set the 'damageInterval' to 1.000000 ... then set the 'DamageType' to Radiation

Rebuild your map ... Ctrl+P ... practice you backstroke.

That's virtually all there is to it ...

By changing the properties in the 'Collision' group you can extend or decrease the area the Damage Trigger will effect ...

Similarly changing the properties of the 'DamageTrigger' group you can alter how much damage, how often and what kind ...

The 'DamageAmount' is how much damage will be done ... so 20.000000 would do 20 points of damage to JC or whoever plunges into your acidic bath

The 'damageInterval' is how often the damage is inflicted upon the player ...

'DamageType' is, strangely enough, the type of damage inflicted ... viable settings are Radiation, Burn

Using your new found knowledge you can hurt JC to your hearts content ... remember the DamageTrigger can also be used outside of water ...



IGN.com | GameSpy | Comrade | Arena | FilePlanet | GameSpy Technology
TeamXbox | Planets | Vaults | VE3D | CheatsCodesGuides | GameStats | GamerMetrics
AskMen.com | Rotten Tomatoes | Direct2Drive | Green Pixels
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2009, IGN Entertainment, Inc.   About Us | Support | Advertise | Privacy Policy | User Agreement Subscribe to RSS Feeds RSS Feeds
IGN's enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.