Mikero/Sandbox – User
(→Intro) |
(→R) |
||
Line 73: | Line 73: | ||
====R==== | ====R==== | ||
reversed = 0; | ''BOOLEAN:'' Normally, models ARE reversed with respect to how they present on the screen after editing with tools like oxygen (eg) This overrides the default. | ||
reversed = 0; | |||
<hr> | <hr> | ||
====S==== | ====S==== | ||
scope = 0; | scope = 0; |
Revision as of 05:13, 30 June 2006
Intro
ADDONS COMREF
This details the token verbs available in config.cpp for addons.
Legend:
INTEGER: A signed, value to 65k.
BOOLEAN: An INTEGER value of 0, or 1
ARRAY: An arrey[]=
STRING: Any string value. ALL STRINGS MUST BE ENCLOSED IN QUOTES for Arma and Elite. They are misinterpreted as #defines otherwise.
Notes:
For Models and other items using p3d files, the .p3d extension is not reguired. Similar comment for pac/paa files, and wss (sound) files where appropriate
cfgNonAiVehicles
A
airFriction
ARRAY: 3 separate tokens, airFriction0[],airFriction1[],airFriction2[] that define the X Y and Z component respectively.
airFriction2[] = {25,12,2.500000};
acceleration
INTEGER: metres per second
acceleration = 7;
avgHeight
INTEGER: height in meters of bird
avgHeight = 10;
B
C
canBeShot
BOOLEAN: Declares whether bullets have any effect
canBeShot = 1;
F
flySound
ARRAY:
flySound[] = {"\AddonName\AnySound.wss",0.000000,1,1};// can be ""
M
maxHeight
INTEGER: max height above sea level.
maxHeight = 50;
maxSpeed
INTEGER: In kph.
maxSpeed = 20;
minHeight
INTEGER: Min height above sealevel
minHeight = 5;
minSpeed
INTEGER: In Kph.
minSpeed = -0.500000; range 0->1
model
STRING: Location in the addon where the p3d model resides. Can be subfolder
model = "\AddonName\anyp3d"; // can be ""
R
BOOLEAN: Normally, models ARE reversed with respect to how they present on the screen after editing with tools like oxygen (eg) This overrides the default.
reversed = 0;
S
scope = 0;
simulation = "SeaGull";
straightDistance = 50; singSound[] = {"",0.031623,1,1};
T
turning = 1;