mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-17 23:51:10 +00:00
2006cdc7bb
AngleOffset, PitchOffset and RollOffset MODELDEF properties are now supported. Fixed a crash when editor tries to display a model for an actor without a valid sprite in Visual mode. Fixed a possible crash when MODELDEF is reloaded from 2d-mode. Fixed several things in Doom2_things.cfg. UDMF Controls plugin: Fixed several bugs in plugin's sliders logic.
40 lines
No EOL
1.3 KiB
INI
40 lines
No EOL
1.3 KiB
INI
/*******************************************************************\
|
|
GZDoom Builder Script highlighting definitions for MODELDEF
|
|
\*******************************************************************/
|
|
|
|
// Editor settings
|
|
description = "GZDoom MODELDEF";
|
|
codepage = 0;
|
|
extensions = "mdd";
|
|
casesensitive = false;
|
|
insertcase = 1; // 0=Normal, 1=Lowercase, 2=Uppercase
|
|
lexer = 35; // CPP-style, case-insensitive
|
|
keywordhelp = "http://zdoom.org/wiki/MODELDEF";
|
|
|
|
keywords
|
|
{
|
|
Path = "Path <\"path\">";
|
|
Model = "Model <model index> <\"model file\">";
|
|
Skin = "Skin <model 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;
|
|
} |