Nodes WreckFX.juice

From WiCWiki

Jump to: navigation, search

Wreck nodes are scripted in this file. There are two main groups: myGroups and myPhysFxGroups. (Image 1.39)

Image:node_wreck_01.jpg

Image 1.39


In myGroups the model data is scripted and in myPhysFxGroups the effects for the different materials and hit effects are scripted.


In the myGroups there are three values to script


myMRB: The model data.

myPhysSpawnState: in what state the model will be visible/spawned.

myWreckPhysGroupName: what PhysFxGroup it will use to spawn debris and hit effect


Image:node_wreck_02.jpg

Image 1.40


myPhysFxGroup


Under this group all the effects for hit effects and debris are scripted. There are four values to script:


myPhysMRB: The effects model data (effectname.mrb).

myPhysFile: The effects physics file (effectname_rb.ice).

myPhysTimeToLive: How long the effect will live, in seconds.

mySoundName: Sound file that will be spawned.


Image:node_wreck_03.jpg

Image 1.41

Personal tools
User Created Content