UltimateZoneBuilder/Build/Scripting/GZDoom_MODELDEF.cfg
MaxED 94dedf9aa9 Added support for USEACTORPITCH and USEACTORROLL MODELDEF flags.
Changed: LOKCDEFS keys are now sorted alphabetically.
Fixed, MAPINFO parser: blocks inside map definition block were parsed incorrectly when using new MAPINFO format.
Fixed, rendering: custom MODELDEF scale was applied incorrectly when "Stretched view in visual modes" option was enabled.
Updated ZDoom_DECORATE.cfg.
Updated GZDoom_MODELDEF.cfg.
2016-07-17 00:00:29 +00:00

46 lines
No EOL
1.5 KiB
INI

/*******************************************************************\
GZDoom Builder Script highlighting definitions for MODELDEF
\*******************************************************************/
// Editor settings
description = "GZDoom MODELDEF";
codepage = 0;
extensions = "mdd";
casesensitive = false;
codeblockopen = "{";
codeblockclose = "}";
insertcase = 1; // 0=Normal, 1=Lowercase, 2=Uppercase
lexer = 35; // CPP-style, case-insensitive
keywordhelp = "http://zdoom.org/wiki/MODELDEF";
scripttype = 2; //0 = unknown script, 1 = acc, 2 = modeldef, 3 = decorate
keywords
{
Path = "Path <\"path\">";
Model = "Model <model index> <\"model file\">";
Skin = "Skin <model index> <\"skin file\">";
SurfaceSkin = "SurfaceSkin <model index> <surface index> <\"skin file\">";
Scale = "Scale <float X scale> <float Y scale> <float Z scale>";
Frame = "Frame <XXXX> <X> <model index> <\"frame name\">";
FrameIndex = "FrameIndex <XXXX> <X> <model index> <frame number>";
Rotation-Speed = "Rotation-Speed <float>";
Rotation-Vector = "Rotation-Vector <float x> <float y> <float z>";
Rotation-Center = "Rotation-Center <float x> <float y> <float z>";
ZOffset = "ZOffset <float>";
AngleOffset = "AngleOffset <float>";
PitchOffset = "PitchOffset <float>";
RollOffset = "RollOffset <float>";
}
constants
{
PITCHFROMMOMENTUM;
IGNORETRANSLATION;
INTERPOLATEDOUBLEDFRAMES;
ROTATING;
NOINTERPOLATION;
INHERITACTORPITCH;
INHERITACTORROLL;
USEACTORPITCH;
USEACTORROLL;
}