2012-07-16 09:45:21 +00:00
|
|
|
/*******************************************************************\
|
|
|
|
GZDoom Builder Script highlighting definitions for MODELDEF
|
|
|
|
\*******************************************************************/
|
|
|
|
|
|
|
|
// Editor settings
|
|
|
|
description = "GZDoom MODELDEF";
|
|
|
|
codepage = 0;
|
|
|
|
extensions = "mdd";
|
|
|
|
casesensitive = false;
|
2016-01-27 14:08:15 +00:00
|
|
|
codeblockopen = "{";
|
|
|
|
codeblockclose = "}";
|
2012-07-16 09:45:21 +00:00
|
|
|
insertcase = 1; // 0=Normal, 1=Lowercase, 2=Uppercase
|
|
|
|
lexer = 35; // CPP-style, case-insensitive
|
|
|
|
keywordhelp = "http://zdoom.org/wiki/MODELDEF";
|
2016-11-24 11:55:11 +00:00
|
|
|
scripttype = "MODELDEF";
|
2012-07-16 09:45:21 +00:00
|
|
|
|
|
|
|
keywords
|
|
|
|
{
|
|
|
|
Path = "Path <\"path\">";
|
|
|
|
Model = "Model <model index> <\"model file\">";
|
|
|
|
Skin = "Skin <model index> <\"skin file\">";
|
2016-07-17 00:00:29 +00:00
|
|
|
SurfaceSkin = "SurfaceSkin <model index> <surface index> <\"skin file\">";
|
2012-07-16 09:45:21 +00:00
|
|
|
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>";
|
2012-07-28 20:36:28 +00:00
|
|
|
AngleOffset = "AngleOffset <float>";
|
|
|
|
PitchOffset = "PitchOffset <float>";
|
|
|
|
RollOffset = "RollOffset <float>";
|
2012-07-16 09:45:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
constants
|
|
|
|
{
|
|
|
|
PITCHFROMMOMENTUM;
|
|
|
|
IGNORETRANSLATION;
|
|
|
|
INTERPOLATEDOUBLEDFRAMES;
|
|
|
|
ROTATING;
|
|
|
|
NOINTERPOLATION;
|
2012-07-28 20:36:28 +00:00
|
|
|
INHERITACTORPITCH;
|
|
|
|
INHERITACTORROLL;
|
2016-07-17 00:00:29 +00:00
|
|
|
USEACTORPITCH;
|
|
|
|
USEACTORROLL;
|
2012-07-16 09:45:21 +00:00
|
|
|
}
|