User:Scuzzbopper/Demo Editing: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Scuzzbopper
imported>Scuzzbopper
Line 40: Line 40:


== Demo Code ==
== Demo Code ==
=== Time Index ===


=== Map ===
=== Map ===

Revision as of 12:52, 2 June 2008

Pulling together some Demo Editing notes here.

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.


Invasion Sky

Walking

Destructible Objects

Demo Code

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