Arma 3 Scripting

Arma 3: Named Properties

  • Also known as Arma 3 Named Properties

Topic · Markdown · JSON · original wiki page

Note

This page reflects the Arma 3 v1.88 state.

See Also

Named Properties

Named Properties can be set in Object Builder. If you don't see this, you must first active the Named Properties window under -> Window -> Named Properties, or simply press Alt + P.

Notes:

animated

TODO

aicovers

Property Description Usage in LODs Default Value Possible Values
aicovers Disables the object for AI cover search. Only relevant for terrain objects. Geometry LOD 1 0
1

armor

It is a coefficient that controls overall structural integrity. The overall boundingbox factors into that.

Usage in LODs:

Default value: 200

Possible values/Values found in BI A3 models: [1-15000]

autocenter

Some model classes are placed according to automatic object center (cars).

This property sets that position to 0.0.0 from .p3d file will be used. It is often used for proxies.

Usage LODs:

Default value: TODO

Possible values:

buoyancy

DESC-TODO

Usage LODs:

Default value: TODO

Possible values:

cratercolor

Defines what bullet crater/decal will have. By default, objects with class treehard, treesoft, bushhard or bushsoft are using brownish craters

example: cratercolor=deadff00 format: AARRGGBB

canbeoccluded

If it is set to 0, the model will be drawn even if it normally would be culled away by occlusion culling. ie. the view geometry is completely hidden behind another objects view geometry.

// Enables conclusion via other objects. value 1 is default. value 0 could be used for large objects that also require a lot of resources to load.

Usage LODs:

Default value: TODO

Possible values:

canocclude

Property Description Usage in LODs Default Value Possible Values
canocclude Objects hidden behind view geometry are normally not rendered by engine.
Unfortunately, some objects like trees, have many "holes" in their body, so if object will not be rendered behind tree, it will disappear and it won't be visible.
Using canocclude = 0 property will prevent this undesired effect from happening.
// Switches off occlusions, used for objects which cannot act as occluders because their view geometry is not representative of their real shape, like foliage, or are too small to be noticeable occluders.
Geometry LOD View Geometry LOD TODO 0
1

class

Derives how an object fits onto, or into, the terrain surface.

class affects object behavior, simulation, destruction, and namesound. With extra considerations for class=house.

Note: a '*' means that class might require a Land_xxx config class

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

// There is no geometry lod. class= should be in 1st (and only) resolution LOD of the model.

// Required for any animations to work including ladders, doors, and attendant= (cfgVehicles). // "house" also causes game map to show displayname. Note that this behavior is slightly different to an in-game model. // The wrp model does not respect the accuracy= setting of the config and will show the name through to actual game play.

// There is no geometry lod. class= should be in 1st (and only) resolution LOD of the model.

Seems not:

damage/dammage

Defines what happens to object after it is destroyed.

Please note that armor value can be set via config.cpp.

Killed eventhandler defined in config.cpp will also work for map embedded objects.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

Faulty:

destroysound

DESC-TODO

Usage LODs:

Default value: undef

Possible values/Values found in BI A3 models:

drawimportance

Some objects are more important than others. For example undergrowth in jungle is really important only on near distances.

This is a simple multiplier of estimated area of the object on the screen. When using small values, objects disappear sooner, because they are regarded smaller on the screen. This value affects only when object disappear, It does not affect LOD determination.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models: 0.2 [0.001f, 10000.0f]

explosionshielding

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models: [0.05 - 0.1 - 3 - 10 - 20 - 100 - 1000]

forcenotalpha

Some models with much alpha textures on their surfaces were considered as alpha objects and therefore were rendered in a special pass where it was not possible to cast shadows on them. There is a new named property (in geometry LOD) using which you can force the whole model not to be considered as alpha model and shadows will be cast on it therefore.

Negative impacts of such solution: Various alpha sorting artifacts may appear on alpha blended parts of such models. It will depend on particular situations if the effects will be bearable or not.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

frequent

Marks objects that are placed in big amount using instancing.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

keyframe

Marked models that are animated by keyframes stored in .p3d.

// boolean property. To indicate whether the LOD has a key frame animation. Also applies to geo and shadow of course as you could animate them.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

loddensitycoef

Determines how fast LODs are being switched. 0.1 means LODs will be switched very fast, 100 there will be barely no LOD switching.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models: [0.45 - 0.5 - 0.75 - 1.25] [0.001f, 10000.0f]

lodnoshadow

This property will force the engine to skip given LODs with this property set to 1, while calculating model shadows.

You can use it to force the shadow to be cast only by the selected LOD. Use it in any LOD with 300+ faces, as they will NOT cast shadow in game anyway (this will speed things up a bit).

Usage LODs:

Default value: TODO

Possible values:

Everything >0 means true. So technically the other values are valid, but they don't mean anything beyond 1.

map

It declares an appropriate icon to display on the in-game 2d map. Some will also show predefined text or displayName from config on mouseOver. Defines also the default namesound for some (word use in radio protocol). Only relevant to objects (such as structures and vegetation) that are intended to be used/placed in a wrp.

Usage LODs:

Default value: undefined

Possible values/Values found in BI A3 models:

drawn on map:

displayName and namesound from config

displayNameand namesound from config

predefined text:

no mouseover text and no namesound:

Generated by binarize:

From the config.cpp/cfgWorlds

mass

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

maxsegments

TODO

minsegments

TODO

notl

TODO

placement

Assigns specific deformation according to the terrain shape map surface

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

Unclear:

prefershadowvolume

Choose which shadow casting technique will be used.

Usage LODs:

Default value: 1

Possible values/Values found in BI A3 models:

reversed

TODO

sbsource

Which LOD will be used for shadowbuffer casting. If it is not set and shadow=hybrid is present, resolution LODs are used.

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

https://github.com/dedmen/armake/blob/66f5646f6ca756a436c474c9e395010c0a4e56e3/src/p3d.cpp#L2613

shadow

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

https://github.com/dedmen/armake/blob/66f5646f6ca756a436c474c9e395010c0a4e56e3/src/p3d.cpp#L2619

Basically it is just either "hybrid" or whatever else or nothing. So technically everything is valid, things that are not "hybrid" just mean undefined.

shadowlod

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

any 32bit signed integer. Negative values besides -1 are invalid though. -1 means undefined. They are the numbers of the shadow lod's as a integer. So it should have to match up with a existing shadow lod.

shadowvolumelod

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

any 32bit signed integer. Negative values besides -1 are invalid though. -1 means undefined. They are the numbers of the shadow lod's as a integer. So it should have to match up with a existing shadow lod.

shadowbufferlod

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

any 32bit signed integer. Negative values besides -1 are invalid though. -1 means undefined. They are the numbers of the shadow lod's as a integer. So it should have to match up with a existing shadow lod.

shadowbufferlodvis

DESC-TODO

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

any 32bit signed integer. Negative values besides -1 are invalid though. -1 means undefined. They are the numbers of the shadow lod's as a integer. So it should have to match up with a existing shadow lod.

shadowoffset

Offset used to prevent shadow rubber banding when rendering shadow buffers

Usage LODs:

Default value: If named property is not present, shadowOffset is calculated automatically depending on size of object. Value goes from 0.02 for 2.5m wide, to 0.1 for 10 meters objects

Possible values/Values found in BI A3 models:

.viewclass

TODO

viewdensitycoef

AI - detection through semi transparent objects.

Coef to hardcoded view density:

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models: [0.1 - 10 - 10000]

xcount

Used by animated flags - obsolete (verify)

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

xsize

Used by animated flags - obsolete (verify)

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

xstep

Values for movement settings, they are generated automatically when you optimize animation (exporting .rtm from ObjectBuilder).

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

ycount

Used by animated flags - obsolete (verify)

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models:

ysize

Used by animated flags - obsolete (verify)

Usage LODs:

Default value: TODO

Possible values/Values found in BI A3 models: