Contents

Resources

In this next chapter the same basic set-up, with slight differences to help visually distinguisg which set of entities is cause which effect, will be used to create a 'double' jet effect.

As with the previous section, a basic understanding of level editing and using GtkRadiant, or a variant, is going to be needed to get the best from the following material. A familiarity with game entities is also essential.

Although the objects, entities and brushwork have been move further up the wall to make it easier to see the steam jet effect with two jets, it's the same brushwork setup as shown in the previous section of this tutorial discussing the use of just one steam jet..

The two target_smoke entities are placed in the same location to give the impression of two streams of steam being emitted from the same location (fracture in the pipe). Both entities use the same settings and set up as previous (shown below).

Entity setup in the "Inspector" for multiple Steam effects

Connecting the target_smoke's to the info_notnull's (note both target_smoke Entities occupy the same location so the steam effect looks to originate in the same location)

The in game results of this one are interesting and display one of the various 'issues' that seem to happen when trying to use multiple entities in this way (these 'issues' are separate from the ones that happen running under MP where the smoke appears to only go straight up or down), note the angle of the lower smoke, it's much shallower than shown in the in editor setup screen shot above.

note also that although the entities set up in editor is approximately the same the results are very different because of the variation based on distance between the info_notnull target and the shorter 'delay' key/value.

There does appear to be a 'bug' with approach though when trying to have more than one jet running at the same time from the same location. The angle on the lower jet doesn't match what's seen in game (less shallow angle) so there are some limits to what can be done.

It must be noted thought this only appears to apply to entities being active at the same time so it should be possible to have several in the same place in the editor and spawn/hide them according to the events needed without this error.

Using an Entity Chain, it possible to set up a sequence, initiated by the player, which performs a number of actions from simply activating the effect on it's own, or doing so whilst performing other functions such as dropping Entities, opening doors and so on. Depending on the required effect this sort of set-up requires the use of additional game Entities, namely "target_relay" (allows a function to propagate to connected entities) and "target_delay" (a 'timer').

Using an Entity Chain a complex 'event' can be created, trigger by Player input/activation - player activates a switch or button[1], which triggers a relay[2] sending the action to a number of other entities to drop some Ammo[3] (or other 'pick-up) whilst moving on to trigger the steam[4] which also activates a trigger_hurt[5] damaging the player or AI in or moving into the brush volume

KatsBits provides freely available game and content making tutorials and resources, helping Visitors build their own games, or go further, Game Design Studios!. At KatsBits we strive to bring relevant material to our Readers and forefront Blender as a general game development tool.