Page 1 of 1

Loading Different Vehicles into Stock Maps

Posted: Thu May 12, 2016 12:11 am
by modmaster13
Hey everyone, I am currently messing around with custom era's; more specifically a custom GCW on Mygeeto. However I would like to change up the vehicles a bit, like add in some AT-ST's. Is there a way I could do this by coding, instead of loading in a separate world folder that replaces the stock map?

Re: Loading Different Vehicles into Stock Maps

Posted: Thu May 12, 2016 5:04 am
by Anakin
yes there is. Load the stock mygeeto map. Next add a new layer and call it custom_vehicle. do what ever changes you like.
In your world folder you just need this new layer (except you added new msh that are not already loaded in that map. In your case you will just need the lyr file)
Your req file looks like that:

Code: Select all

ucft
{
	REQN
	{
		"world"
		"custom_vehicle"
	}

}
In the lua find the part where the map is loaded and load your custom map layer behind it.
Here is an example of my hoth lua. I added some custom vehicle spawn points for my RC mod.

Code: Select all

ReadDataFile("HOT\\hot1.lvl", "hoth_conquest")
SetProperty("CP3", "Team", "1")	
SetProperty("CP3", "PerceivedTeam", "1")
SetProperty("CP6", "Team", "1")
SetProperty("CP6", "PerceivedTeam", "1")
ReadDataFile("dc:RCM\\RCM.lvl", "hoth_veh")

Re: Loading Different Vehicles into Stock Maps

Posted: Fri May 13, 2016 3:00 pm
by modmaster13
Thank you so much! I got the vehicles in game, but I ran into some more problems: viewtopic.php?f=27&t=32230