prefixes/flags/switches in actor and material identifiers
Posted: Mon Nov 12, 2018 2:06 pm
A post to sum up what we know (and don't) so far.
for the actors
& prevents an element from being preprocessed within the mesh of the level. The element is thus available for grooves, smashables, etc. Its model can be instanced.
example: &moveablecrane.act
&% is the same as above but the % in second position makes it face the camera at all times (like sprites). As far as I know, only work in C1 and only for level props.
example: &%GASSO.ACT
&43 is again like the first one up there but the digit after the & indicates the noncar object type that corresponds to the element. The element has its own mass, collision and a few more characteristics. It can be moved around the level once snapped out of position.
example: &43lamppost102
&54! the additional ! in fourth position tells the game that the noncar object has already snapped out of place, and thus requires no additional force to be moved around.
example: &54!bench054
&£65 this is your usual powerup (so C2 only). £ indicates the actor is a powerup, the following digit tells which powerup from the list in POWERUP.TXT
example: &£65pedrepulse012
@ was used during the level developments (for both C1 and C2) to indicate duplicated props and I don't know if it has any effect in the preprocessed levels. They were used for the bigger modular elements populating the environment (rocks, parts for buildings, containers). Models were instanced. Maybe the size is the interesting factor as & elements have a size limit, and @ might be able to go beyond for elements that don't need to be interacted with?
example: @watertower02
for the materials
! indicates the material is non-solid/passthrough. If applied to a horizontal mesh, it triggers the default water effects.
examples: !vines.mat, !river
!! same as above but instantly respawn the vehicle, if I'm not mistaken.
example: !!sea.mat
> same as ! but never triggers the water effects (C2 only). Maybe >! works too to respawn.
example: >clouds2.mat
0-9 digit as the first character of a material identifier links the material to specific behaviour defined in the level txt file (material modifier). If there's no number the default material modifier will be used. 0 (0grass2.mat) triggers the first material modifier after the default one, 1 the second, and so on.
examples: 0mud3.mat, 5snopath.mat, 8gravel.mat
\50 when inserted in second position will define the material as a blend material. The game will apply a 25 50 or 75% opacity according to the digit following the \. This is for C1, and probably C2 software mode. It can be used with ! or 0-9 in first position.
examples: w\50ow1.mat, !\25flame.mat, 5\50ice.mat
# should indicate the side, top and bottom materials of a water-filled tunnel but we don't know which effect is supposed to occur once enabled. C1 for sure, some C2 materials have it too.
example: #suebtop
@ doesn't seem to be implemented but it's obvious it was meant to make materials full bright (only appears in C2).
example: @maglight
^ is used in the Beaver woods level, materials at each end of the train tunnel have it. No idea.
Maybe to avoid drones colliding with the world geometry.
example: ^trainrldk
for the actors
& prevents an element from being preprocessed within the mesh of the level. The element is thus available for grooves, smashables, etc. Its model can be instanced.
example: &moveablecrane.act
&% is the same as above but the % in second position makes it face the camera at all times (like sprites). As far as I know, only work in C1 and only for level props.
example: &%GASSO.ACT
&43 is again like the first one up there but the digit after the & indicates the noncar object type that corresponds to the element. The element has its own mass, collision and a few more characteristics. It can be moved around the level once snapped out of position.
example: &43lamppost102
&54! the additional ! in fourth position tells the game that the noncar object has already snapped out of place, and thus requires no additional force to be moved around.
example: &54!bench054
&£65 this is your usual powerup (so C2 only). £ indicates the actor is a powerup, the following digit tells which powerup from the list in POWERUP.TXT
example: &£65pedrepulse012
@ was used during the level developments (for both C1 and C2) to indicate duplicated props and I don't know if it has any effect in the preprocessed levels. They were used for the bigger modular elements populating the environment (rocks, parts for buildings, containers). Models were instanced. Maybe the size is the interesting factor as & elements have a size limit, and @ might be able to go beyond for elements that don't need to be interacted with?
example: @watertower02
for the materials
! indicates the material is non-solid/passthrough. If applied to a horizontal mesh, it triggers the default water effects.
examples: !vines.mat, !river
!! same as above but instantly respawn the vehicle, if I'm not mistaken.
example: !!sea.mat
> same as ! but never triggers the water effects (C2 only). Maybe >! works too to respawn.
example: >clouds2.mat
0-9 digit as the first character of a material identifier links the material to specific behaviour defined in the level txt file (material modifier). If there's no number the default material modifier will be used. 0 (0grass2.mat) triggers the first material modifier after the default one, 1 the second, and so on.
examples: 0mud3.mat, 5snopath.mat, 8gravel.mat
\50 when inserted in second position will define the material as a blend material. The game will apply a 25 50 or 75% opacity according to the digit following the \. This is for C1, and probably C2 software mode. It can be used with ! or 0-9 in first position.
examples: w\50ow1.mat, !\25flame.mat, 5\50ice.mat
# should indicate the side, top and bottom materials of a water-filled tunnel but we don't know which effect is supposed to occur once enabled. C1 for sure, some C2 materials have it too.
example: #suebtop
@ doesn't seem to be implemented but it's obvious it was meant to make materials full bright (only appears in C2).
example: @maglight
^ is used in the Beaver woods level, materials at each end of the train tunnel have it. No idea.
Maybe to avoid drones colliding with the world geometry.
example: ^trainrldk