Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » How to enable Militia training in newly created cities.
How to enable Militia training in newly created cities.[message #235645] Thu, 22 October 2009 03:51 Go to next message
sunnymite is currently offline sunnymite

 
Messages:16
Registered:May 2006
Hi everyone.
Sorry if somebody've asked the same question already, I tried "Search" really hard but couldn't find anything.
I created 4 new towns (checkposts actually) with the possibility of training militia garrisons in them. Here's what I've done:

In file cities.xml:


16
EAST
1
25
1

7
12


115
62



17
NORTH
1
80
1

3
9


85
22



18
WEST
1
15
1

6
7


65
63



19
SOUTH
1
10
1

11
6


55
102



I inserted necessary and appropriate values in at the bottom of this file as well.
I started new game, all new cities are shown on Arulco's map with proper names on them. However, unfortunately no militia available for training in these cities after capturing them (the "Militia" option is grey when I'm trying to assigning mercs for militia training).

Also I enabled training militia in Omerta. For some reason, in Omerta this option works, but in new cities doesn't.

What did I do wrong?
I'm using 3042 exe version + WildFire6.06
Any help will be appreciated.

Report message to a moderator

Private
Re: How to enable Militia training in newly created cities.[message #235648] Thu, 22 October 2009 04:54 Go to previous messageGo to next message
Headrock

 
Messages:1760
Registered:March 2006
Location: Jerusalem
Militia training is a lot harder to add to new cities, as far as I know it's hard-coded.

Report message to a moderator

Sergeant Major

Re: How to enable Militia training in newly created cities.[message #235664] Thu, 22 October 2009 12:04 Go to previous messageGo to next message
Logisteric

 
Messages:3199
Registered:December 2008
Location: B
i waited very long for that opportunity but here it is

:devilaugh: HEADROCK YOU ARE DEAD WRONG :devilaugh:


@ sunnimite

'townrebelsentiment' is the value you need to alter - compare it to drassen or balime - or shoot some redshirts in the vincinity, as you do not gain enough loyality by simply taking those strongpoints

10 means you get 10 loya for taking, but you need 20 for training

Report message to a moderator

Captain
Re: How to enable Militia training in newly created cities.[message #235678] Thu, 22 October 2009 17:05 Go to previous messageGo to next message
Headrock

 
Messages:1760
Registered:March 2006
Location: Jerusalem
That's all nice and sweet, but you do realize that the game will crash the moment you right-click the sector.

Report message to a moderator

Sergeant Major

Re: How to enable Militia training in newly created cities.[message #235679] Thu, 22 October 2009 17:08 Go to previous messageGo to next message
Logisteric

 
Messages:3199
Registered:December 2008
Location: B
it worked smoothly in my tests - that was no ham, though

Report message to a moderator

Captain
Re: How to enable Militia training in newly created cities.[message #235737] Fri, 23 October 2009 02:50 Go to previous messageGo to next message
sunnymite is currently offline sunnymite

 
Messages:16
Registered:May 2006
2Headrock.

I've done it in regular 1.13 before, it worked just fine (in older versions with EXE 2124 for example, and even older). No crashes when right clicking on sectors. I found WF6 for 1.13 on the internet, and installed it just for the new maps only (just tired from the same landscape all the time I'm starting a new game).


2Logisteric.

I've changed in Ja2_Options.ini MIN_LOYALTY_TO_TRAIN to zero, so, "townrebelsentiment" shouldn't be an issue. Btw, I enable training militia in Omerta as well, and for some reason in Omerta it works perfect, but in new cities it doesn't wanna work Sad
I guess I just forgot to change some numbers in some xml's or ini's.
Anybody created new towns with trainable militia in EXE_3042 + WF6 maps?

Report message to a moderator

Private
Re: How to enable Militia training in newly created cities.[message #235741] Fri, 23 October 2009 03:23 Go to previous messageGo to next message
Logisteric

 
Messages:3199
Registered:December 2008
Location: B
omerta - yeah with a townrebelsentiment of 60 (or so) triggered by talking to fatima

maybe the code somehoe overwrites the xml - try to up townrebelsentiment to 50 (you don't need a new game for that) - i would be interested in whether it workds or not

Report message to a moderator

Captain
Re: How to enable Militia training in newly created cities.[message #251160] Sat, 08 May 2010 21:05 Go to previous messageGo to next message
Beka is currently offline Beka

 
Messages:86
Registered:November 2009
Location: Vault 13
*dig up*

here I am encountering more or less the same problem.

in version 3358 training militia in newly created cities wont work.
in my last install with a much older version (fall 2009) it worked perfectly (even without crashes on right clicking thanks to new militiamaps.sti)
I am now using the _same_ cities.xml as before, but training the militia in new cities doesn't work anymore.
Is this a bug or am I missing/misinterpreting some new features (of ham 3.6)??

-beka

Report message to a moderator

Corporal 1st Class
Re: How to enable Militia training in newly created cities.[message #251162] Sat, 08 May 2010 21:16 Go to previous messageGo to next message
Headrock

 
Messages:1760
Registered:March 2006
Location: Jerusalem
Look in Facilities.XML - by default, Facility 18 allows militia training in sectors where it is placed - you'll see many examples of this in the file. Just follow the same example, making more entries for the sectors you added. Remember to set to 18 and to 2.

Report message to a moderator

Sergeant Major

Re: How to enable Militia training in newly created cities.[message #251165] Sat, 08 May 2010 22:22 Go to previous messageGo to next message
Beka is currently offline Beka

 
Messages:86
Registered:November 2009
Location: Vault 13
Yes, I realized, that it now isn't enough anymore to mess around with cities.xml. I learnt about facilities.xml and figured out how to enable militia again.

Everything works fine now.
I can clearly see the new features this facility-thing brings along, but the implention is imo not as good as it could be.
Ther are also some typos in the original facilities.xml from data-1.13 (e.g. Estoni Junkyard is defined as D13).

But thank you for your advise!

-Beka

Report message to a moderator

Corporal 1st Class
Re: How to enable Militia training in newly created cities.[message #251177] Sat, 08 May 2010 23:36 Go to previous messageGo to next message
Headrock

 
Messages:1760
Registered:March 2006
Location: Jerusalem
Quote:
I can clearly see the new features this facility-thing brings along, but the implention is imo not as good as it could be.


Then please make suggestions on how to improve it.

Quote:
Ther are also some typos in the original facilities.xml from data-1.13 (e.g. Estoni Junkyard is defined as D13).


Already fixed in the latest SVN downloads. Other typos in your version should include the SAM Site in Chitzena, and a few militia-recruitment areas missing from Cambria, possibly Balime IIRC. If you spot any more, please let me know.

Report message to a moderator

Sergeant Major

Re: How to enable Militia training in newly created cities.[message #251200] Sun, 09 May 2010 09:16 Go to previous message
Beka is currently offline Beka

 
Messages:86
Registered:November 2009
Location: Vault 13
Quote:
Then please make suggestions on how to improve it.

What is irritating me atm is the fact that enabling militia in a new sector can't be done via cities.xml although there is the "enable militia" line there.
There are a few possibilities:

- remove "enable militia" line from cities.xml since it is obsolete.
or
- add at least a short comment to cities.xml - something like "to allow militia you need to alter facilities.xml".
or
- remove the "legacy militia" line from facilities.xml.

imo best solution would be #2.

-Beka

Report message to a moderator

Corporal 1st Class
Previous Topic: DBB IOV balanced gameplay xml rework for 1.13 and stomp
Next Topic: Standard Enemy equipment for a "Drop All" experience.
Goto Forum:
  


Current Time: Sun Jan 26 06:17:03 GMT+2 2025

Total time taken to generate the page: 0.01585 seconds