Arma 3
Not enough ratings
MAP OBJECTS REPLACER
   
Award
Favorite
Favorited
Unfavorite
Data Type: Scenario
Scenario Gameplay: Singleplayer
Scenario Map: OtherMap
Meta: Dependency
File Size
Posted
5.950 MB
31 Jan @ 3:19am
1 Change Note ( view )

Subscribe to download
MAP OBJECTS REPLACER

Description
Generator of replacement by classes list to make exchange 3d objects (simple models only) on map terrain to full class objects defined (class objects has animations of doors/paths for walk Ai places for place AIs interiors etc) from CUP (or other mods) core package this made for TOH south Asia map.

For use this code you must unpack data from PBO mission file to folder and open in by editor from editable folder (search for mission pbo file in steam download content folders).

Use it by radio commands 0-0.... where you can find:
generator of replace objects in 100m range form player (you can change 100m to other value in editor)
generator of replace objects in whole map area (about 30minutes to complete on asia map)
loader of objects from generated previously list (it loading list of generated classes and replace them on map - in about 1 minute on asia map with 20000 objects to replace).

You can edit list to your own classes for replace, list of them is in file "replacementlist.sqf" in this example mission folder
example:
["mil_barracks_h.p3d",["Land_Barracks_02_F",[2,0,-0.15],0]]
description:
["name of terrain3d object",["name of target class",["coordinates of shifting due to orginal model"],"agle change"]]

After genarate objects replacment list (F1-0-0-4) (it can take about 15-30min depend on your PC), in clipboard will be stored data for save in template file like for example:

"map_objects_templates\Asia_template.hpp" you need to paste data from clipboard between brackets:

_objects = [

"clipboard data pasted here"

];
_objects

and save file.
Ready generated lists for different maps are located in subfolder of example mission "map_objects_templates",

For use this generated data in mission You need to use example template to add it to mission folder, on map you need to add logic object with init field cotaining command:

call{[] call compileFinal preprocessFileLineNumbers "init_templates.sqf"

Inside the mission folder (after unpbo) you will find empty sample mission prepared to use in your purpose as example empty template).
2 Comments
Nightwolf2112 16 Mar @ 11:13pm 
what map do you have this loaded on? i'm trying to download the mission for use, but i can't figure out the mods i need to access. can you list them as a dependency so we can download the mission file?
Sam 25 Feb @ 11:20am 
I've been looking for a mod like this for a long time