User:Scuzzbopper/Demo Editing
Pulling together some Demo Editing notes here.
Contents
- 1 Overview
- 2 Demo Code
- 3 Stealth (Transparency/Invisibility)
- 4 Invasion Sky
- 5 Walking
- 6 Destructible Objects
Overview
Stuff.
Demo Code
Time Index (Advancing Demo Play)
ID Number
Version
Does this even do anything?
Map
Time
SKYFILE
DYNARRAY
POS
PYR
CAM POS
CAM PYR
SEQ
Model/Object Code
New
NPC
POS
PYR
MOV
HP
HPMAX
FX Code
FX
FXSCALE
ORIGIN
TARGET
Player Character Code
COSTUME
PARTSNAME
XLU
Stealth (Transparency/Invisibility)
Most stealth/invisibility/transparency effects don't play back in demos. The few exceptions (like trainer War Witch and Numina) are built into the model and not something you can apply.
However, although the standard stealth powers don't work, this FX does:
OBJECTIVEOBJECTFX/GHOSTED.FX
This is the placeable mission objective effect (like for planting bombs) that make the objects transparent until you place them. I did a quick demo test as follows (splicing States onto the City Rep):
0 6 NEW "City Representative"
0 6 NPC Model_Statesman
0 6 POS 128.5 -768 -639.5
0 6 PYR 0 0 0
0 6 MOV ALTREADY_TRANS_XARMS
0 6 FX Maintained 7 OBJECTIVEOBJECTFX/GHOSTED.FX 0
The FX line is the only one I added (make sure it doesn't conflict with any other FX) and voila! Transparent Statesman.
Qualifiers:
- The transparency effect pulsates, so it's not a consistent steady level of transparency.
- The FX also includes the mission objective noise, so you might have to work with the audio.