I made a mod some time ago which adds a new gameplay(something like king of the hill) to BA.
Is there a tutorial or something to easily port the mod to a map? The mod has only one unit which is controlled by GAIA and the rest is just lua and GUI. (I don't remember anything about maps[folder hierarchy, etc])
Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
It is basically the same, you can use the same folders as for mods. Put your lua into LuaRules\Gadgets and LuaUI\widgets For the units use units\, objects3d\ and unittextures\
Instead of resources.lua maps use resources_map.lua
If the unit is mobile, it is a bit tricky because you do not know if the movedef will be present in every game. (most likely it is not) ( viewtopic.php?f=13&t=26827 )
Ok, I managed to port it. However I am wondering how I can make the mod options appear in the map. Would it work to just rename "ModOptions.lua" to "MapOptions.lua"?
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum