Altis Life editor tricks

From Nitradopedia EN
Jump to: navigation, search
Arma3 wiki.jpg

Rent your own Prepaid ArmA 3 server! nitrado.net

1. Building Removal

Many Admins wish they had more free space for their Market, and to achieve that you can remove buildings that you do not want to have there. For example this variable erases the Office Building from the Market in Kavala:

this enableSimulation false; this allowDamage false; delh = [0,0,0] nearestObject 1779863; delh hideObject true; delh = [0,0,0] nearestObject 1120949; delh hideObject true;

Note that the value nearestObject in the Object ID should be changed! The IDs can be seen in the Editor

ET tuto. bild 1.png

2. Markings on the floor

Since Street signs are usually passed by, you have the chance to put this information on the floor. The following variable changes the Terrain of an object, and moves it suitable:

[this, -90,0] call BIS_fnc_setPitchBank; this allowDamage false; this setObjectTexture [0,"images\30zone.paa"]

It’s important that this object is either a 1 m x 1 m or 10 m x 10 m Sign. Find it in “Empty -> Objects” (Helper)


Boden Textur ändern.png

3. Add hints

To tell players about a Save Zone and fortbilden areas you can use Hints! (there are many different hints).

This is a list of the codes for this condition: Example for people::
this && (local player) && (vehicle player in thisList)

Example for vehicles:
{player == driver _x && _x isKindOf "Car"} count thisList > 0; Example for helicopters:
{player == driver _x && _x isKindOf "Air"} count thisList > 0;

If you already defined the condition to with the trigger should go off, you just need a Hint. The hint will also be given at server start.

Example for a hint related to a Save Zone:
hintSilent parseText format["<t size='3' color='#ff0000'>Savezone</t>", name player];

Savezone markieren.png

4. Level the terrain horizontal terrain below a building even

Many servers build their own cities, villages and so on. Sadly, in Altis the terrain is not always even.

To even the terrain below a Building, you can use the following code:
this setVectorUp [0,0,1];