Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » All about modding JA2 » Need Help with Militia (New Town created and not training possible)
Need Help with Militia[message #340083] Mon, 16 March 2015 19:16 Go to next message
seeferkel
Messages:3
Registered:March 2015
Hello Guys.

i'm from germany, so sorry for my english.

I created an new town and tried to train milize there .... NO WAY

Witch entries in the XML Files do I have to do?

I changed city.xml

</CITY>
<CITY>
<uiIndex>13</uiIndex>
<townName>Newtown</townName>
<townUsesLoyalty>1</townUsesLoyalty>
<townRebelSentiment>50</townRebelSentiment>
<townMilitiaAllowed>1</townMilitiaAllowed>
<baseSector>
<x>9</x>
<y>3</y>
</baseSector>
<townPoint>
<x>85</x>
<y>30</y>
</townPoint>
</CITY>

I changed facility.xml
Facility is Military Headquarters, tryed A.C.A Building also

<!-- Newtown-->
<FACILITY>
<SectorGrid>C9</SectorGrid>
<FacilityType>7</FacilityType>
<ubHidden>1</ubHidden>
</FACILITY>

Canged RestrictedRoamingMilitia.xml

Sector C9 deleted


what did i forgot?

Message on Map is: Training not possible in this sector.
Re: Need Help with Militia[message #340086 is a reply to message #340083] Mon, 16 March 2015 21:11 Go to previous messageGo to next message
edmortimer

 
Messages:795
Registered:January 2015
Location: Home Free
<FACILITY>
<SectorGrid>C9</SectorGrid>
<FacilityType>7</FacilityType>
<ubHidden>1</ubHidden>
</FACILITY>

That should be <FacilityType>18</FacilityType>

It's not tied to a building. It simply exists. It should remain Hidden. It doesn't have to be seen on the Map or in the Tooltip Text for it to work.




Arulco Vacations Blog

Arulco Vacations Bears Pit Forum

Re: Need Help with Militia[message #340087 is a reply to message #340086] Mon, 16 March 2015 21:22 Go to previous message
seeferkel
Messages:3
Registered:March 2015
OMG it's so easy and i did not see it

THANKS it WORKS
Previous Topic: The issue of mod replayability.
Next Topic: Is there a mod where you can recruit Militia?
Goto Forum:
  


Current Time: Fri Aug 18 00:20:28 EEST 2017

Total time taken to generate the page: 0.00794 seconds