Skip to content

This is a script to place any simple objects on the map for ArmA 3 RPG Life.

License

Notifications You must be signed in to change notification settings

cationstudio/arma-3-life-simple-objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

arma-3-life-simple-objects

This is a script to place any simple objects on the map for ArmA 3 RPG Life.

Tutorial

In the past some guys have discussed whether it is possible to plant e.g. trees on a vanilla map without using mods on your server.

I started a research and after some minutes I came up with the command createSimpleObject. It works fine but it is very inconvenient if you plan to plant more objects at once.

The solution is a mod called ACD. Just download and activate it. Then open the ArmA 3 Eden Editor and place objects from side empty -> ACD decorations -> Trees.

select objects

side empty -> ACD decorations -> Trees

place objects

place the objects in the desired location and select all

Once you finished placing your objects, select all objects and right-click on the selected objects -> Export to script -> as simpleObject.

export to script

Export to script -> as simpleObject

Now you copied the objects as simpleObjects in your clipboard. In the next step create a new .sqf file and paste the code from your clipboard. You can now close ArmA 3 and deactivate ACD mod.

Installation

A working installation of ArmA Life RPG Framework is required for a successful installation. Modifying the ArmA Life RPG Framework could cause errors – feel free to connect to our discord if you have a problem.

To execute the script on your server, install the cationstudio core system.

Step 1

Download the newest release and extract the archive. Copy the attached folder "objects" in your “cation” folder that can be found in the root folder (subsequently called <mission>) of your mission.

Step 2

Open <mission>/cation/cation_functions.cpp and insert

#include "objects\functions.cpp"

and save the file.

Step 3

Open <mission>/cation/cation_master.cpp and insert

#include "objects\config.cpp"

and save the file.

Step 4

Open <mission>/cation/cation_remoteExec.cpp and insert

#include "objects\remoteExec.cpp"

and save the file.

Step 5

Now paste the .sqf file created earlier to <mission>/cation/files and add the filename to the data[] array in <mission>/cation/objects/config.cpp:

data[] = {
    "kavalaMarkt",
    "treetestTanoa",
    "YOURFILENAME"
};

That's it!

Trees in Kavala

About

This is a script to place any simple objects on the map for ArmA 3 RPG Life.

Resources

License

Stars

Watchers

Forks

Packages

No packages published