Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
/ A3DTools Public archive

A plugin for the new ArmA 3 EDEN Editor, intended use is mainly for Exile but it can probably be used for other similar mods as well.

License

Notifications You must be signed in to change notification settings

Dealman/A3DTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ArmA 3 EDEN Tools

This is a plugin I made for ArmA 3's new 3D Editor - EDEN. Its main purpose is to make life easier when working with the Exile mod. It will generate code for you in a copy and paste format.

Current Features

Feature Description
Generate Code for Objects This will generate code compatible with Exile for all objects in the active scenario. Some edits to initServer.sqf may be required - will update with more info later.
Generate Code for Markers Much like the above, though I have not yet implemented this.
Create Spawn Group This will create 100 units of type Exile_Unit_GhostPlayer - used for players when spawning.
Generate Code for Spawns This generates the code in the old SQM format. Some edits might be needed.
Select Target Object This will select the current object as the 'target' - used for relative loot positions.
Toggle Loot Preview This will spawn some loot on all the markers, giving you a preview of how it would look.
Generate Code for Loot This will generate the code in a copy and paste format, add this to your config.cpp.
Clear Loot Sphere This will delete all current loot spheres. Does not yet work as intended
DT_fnc_DisplayCustom3DENNotification This is a function which can be called from other addons, it lets you create entirely customized EDEN Editor notification messages. See syntax below.

YouTube Video

I put together a very basic video showcasing how the loot generation works, I'll try and create a better video later on where I explain how it all works. But most of it is rather self-explanatory. https://www.youtube.com/watch?v=ayW7DQb4-b8

DT_fnc_DisplayCustom3DENNotification Syntax

/*
	* Original Author: Bohemia Interactive (3den.pbo/Functions/fn_3DENNotification.sqf)

Syntax:
	[<TextMessage>, <BackgroundColor>, <TextColor>, <Sound>, <DisplayTime>] call DT_fnc_DisplayCustom3DENNotification;

	* TextMessage: STRING - Message to be displayed
	* Color: ARRAY - Background colour, example; [0.71, 0, 0, 1] would be opaque red background
	* TextColor: STRING - Hex colour code for the text, defaults to #FFFFFF (White)
	* Sound: INT or STRING
		* Sound: INT - 0 or 1 (0 = "3DEN_notificationDefault" | 1 = "3DEN_notificationWarning")
		* Sound: STRING - If you want to play another sound other than the 2 default ones, use a string
	* DisplayTime: SCALAR - Time for the message to be displayed
*/
[format["Generated Code for %1 Loot Markers, Saved to Clipboard. Remember to change Table name!", (str numOfLoot)], [0, 0.30, 0.80, 0.40], "#BBCCDD", "ReadoutClick", 6] call DT_fnc_DisplayCustom3DENNotification;

Note for Generated Objects

The format I generate the code in is different from that of Exile's code because mine uses setVectorDirAndUp so buildings maintain the correct rotation. Please refer to this thread for details on how to fix this; http://www.exilemod.com/topic/14000-problems-with-eden-custom-buildings/?do=findComment&comment=90761

Known Issues

• When clearing all loot spheres, the object themselves are removed. But the EDEN Editor icons remain and can be moved around - code is still generated despite the objects not really being there. Have yet to find a solution for this.
• When deleting your selected target, the green outline remains. Again, yet to find a solutions since EDEN events don't seem to be working for me.
• More to come...

Changelog

Will post new features and bug fixes here.

About

A plugin for the new ArmA 3 EDEN Editor, intended use is mainly for Exile but it can probably be used for other similar mods as well.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages