Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Vengeance 1.13 Reloaded » why keep Omerta covered?
Re: why keep Omerta covered?[message #359289 is a reply to message #359288] Sat, 28 March 2020 16:44 Go to previous messageGo to previous message
silversurfer

 
Messages:2791
Registered:May 2009
It's quite simple. Open FacilityTypes.xml and search for <ubMilitiaTrainersAllowed>. You will find facilities that allow militia training. Look for one that somewhat matches the setting. For example on WF maps we have this facility:
	<FACILITYTYPE>
		<ubIndex>21</ubIndex>
		<szFacilityName>Rebel Hideout</szFacilityName>
		<szFacilityShortName>Rebel Hideout</szFacilityShortName>
		<ubMilitiaTrainersAllowed>2</ubMilitiaTrainersAllowed>
	</FACILITYTYPE>

You could also create a new facility type. Remember the <ubIndex> of the facility type that you want to use. In Facilities.xml create a new entry like this:

	<FACILITY>
		<SectorGrid>A10</SectorGrid>
		<FacilityType>21</FacilityType>
		<ubHidden>1</ubHidden>
	</FACILITY>

The above is the definition for facility type 21 "Rebel Hideout" in sector A10. You need to use the facility type that you selected from your FacilityTypes.xml. <ubHidden> means that it's initially hidden until you explore the sector.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enable portraits/gear view GUI... bullet path...
Next Topic: List of items which can be combined?
Goto Forum:
  


Current Time: Fri Feb 14 22:18:32 GMT+2 2025

Total time taken to generate the page: 0.00851 seconds