Log in

View Full Version : Can we solve the Swiss Pikemen bug ourselves?



+DOC+
09-07-2002, 19:55
You know the one where they are available to everyone whether they have Switzerland or not?

Can we solve this ourselves by simply adding Switzerland to the unit Region column (column AD)?

ltj
09-07-2002, 20:12
quiet you! i like swiss pikemen!

Wart
09-07-2002, 20:15
That might work, but you might ALSO have to change column AC from ALL_FACTIONS to NO_FACTION. Compare with other region specific units like Highland Clansmen & Gallowglass.
Think that should work, but if you do test it, please let me know the outcome.
Cheers! http://www.totalwar.org/ubb/wink.gif

LittleRaven
09-07-2002, 23:06
Quote Originally posted by +DOC+:
Can we solve this ourselves by simply adding Switzerland to the unit Region column (column AD)?[/QUOTE]

I did. Change ALL_FACTION to NO_FACTION and put Switzerland in the region column. Should work ok. I also made foot knights buildable by giving them buildings. (I really like that particular change) These files are really easy to modify, all things considered. Bravo to CA!

+DOC+
09-07-2002, 23:17
I see some units have specific regions with ALL_FACTIONS and some have specific regions with NO_FACTIONS.

What difference does this actually make!?

Wart
09-07-2002, 23:52
Dunno, maybe it's to do with whether the faction starts off as rebal or not, i.e. maybe No faction allows rebels to build the unit too.
This is just a guess though! Not actually sure that it makes any difference at all (havent really played with this bug)!

LittleRaven
Nice idea, the foot knights i mean, i imagine it wasnt to hard either! http://www.totalwar.org/ubb/smile.gif

[This message has been edited by Wart (edited 09-07-2002).]

Peterofnj
09-08-2002, 00:25
Yes, the Swiss Pikemen and Swiss Armoured Pikemen can be fix and made exclusively available at the region of Switzerland.
This is what you need to edit:

------The First Part-----

SwissPikemen INFANTRY 525 4 1 0 80 96 1 OK CATH_HERETICS(3) SWISS SWITZERLAND "POVERTY_STRICKEN(15.5), DESPERATE_DEFENCE(155), CATHOLIC_EXPANSIONIST(124),

----The Second Part----
"LTOPHELM, YES, YES" ALL_FACTIONS SWITZERLAND "Missile, Shocktroop, Spear, Cavalry"

----------------------
I uploaded the file with this fix at http://www.totalwar.org/MTWFiles/
it is under stat and the file is call Medieval_Plunder2. You can use that file as a reference or play it. It host a lot of changes, including building crusade unit as part of your regular army.

Wart
09-08-2002, 01:45
Peter,
What does that first part do exactly? Looks to be to do with AI training choices, but can you elaborate?
EDIT: Ok, just looked again & got it i think! Its the region that gets valour bonus & faction that gets discount, right?

[This message has been edited by Wart (edited 09-07-2002).]

Lord Krazy
09-08-2002, 01:52
Quote Originally posted by Peterofnj:
Yes, the Swiss Pikemen and Swiss Armoured Pikemen can be fix and made exclusively available at the region of Switzerland.
This is what you need to edit:

------The First Part-----

SwissPikemen INFANTRY 525 4 1 0 80 96 1 OK CATH_HERETICS(3) SWISS SWITZERLAND "POVERTY_STRICKEN(15.5), DESPERATE_DEFENCE(155), CATHOLIC_EXPANSIONIST(124),

----The Second Part----
"LTOPHELM, YES, YES" ALL_FACTIONS SWITZERLAND "Missile, Shocktroop, Spear, Cavalry"

[/QUOTE]

---------------------------------------------

You need to remove or at least you do not
need the ALL FACTION bit because that is
what gives the unit an id for all factions
just like it says so if u just want them
to play for the swiss just tag them for the
swiss in region id coloum.
Please correct me if I am wrong.

Lord Krazy

JRock
09-08-2002, 01:57
Uh you mean in the singleplayer campaign right?

Because it's perfectly fine that all non-Muslim factions in multiplayer can hire the Swiss (consider them mercenaries).

Lord Krazy
09-08-2002, 02:02
Btw if you put this stuff in here when
the moderater is asleep he wont be able
to move it to mod section till he wakes up.
So it would be better if you did it instead.
It looks funny between "whats you favourite
unit" and "whats most money you ever had"
thread .I only read that stuff when I'm
very board which is like never,so sometimes
I miss the good stuff like this.
I'm not trying to be a pain it's just
the way it's supposed to be.

LK

Lord Krazy
09-08-2002, 02:05
Quote Originally posted by JRock:
Uh you mean in the singleplayer campaign right?

Because it's perfectly fine that all non-Muslim factions in multiplayer can hire the Swiss (consider them mercenaries).[/QUOTE]
---------------------------------------------
thats another tag u need to change if you
insist nobody else has them.This is not
very realistic as they were and still are to
this day the offical bodyguard to the Pope.

LK

JRock
09-08-2002, 02:12
That's what I said, foo' - multiplayer availability is fine the way it is right now. http://www.totalwar.org/ubb/tongue.gif

[This message has been edited by JRock (edited 09-07-2002).]

Peterofnj
09-08-2002, 02:39
Quote Originally posted by Lord Krazy:
[/QUOTE]

----------------------------
Lord Krazy, you are right about changing the string to NO_FACTION. It doesn't seem to matter though once you tell it to be availble only at SWITZERLAND. At first I did edited to NO_FACTION but I change it back to ALL_FATIONS just in case, which I don't think it will be. The last thing I want is haveing conquer SWITZERLAND with let say the Egyptian and not be able to get these exclusive unit. It doesn't hurt to leave it that way.

LittleRaven
09-08-2002, 03:05
Quote Originally posted by Wart:

LittleRaven
Nice idea, the foot knights i mean, i imagine it wasnt to hard either! http://www.totalwar.org/ubb/smile.gif

[This message has been edited by Wart (edited 09-07-2002).][/QUOTE]

No, it's really easy. Just add whatever buildings you think are appropriate in the "buildings required" column. I used whatever buildings are necessary for the mounted version minus the horse stables. I don't think you're able to cheat and "mount" them before a battle, but truthfully, I haven't tried.

Lord Krazy
09-08-2002, 03:42
Quote Originally posted by LittleRaven:
No, it's really easy. Just add whatever buildings you think are appropriate in the "buildings required" column. I used whatever buildings are necessary for the mounted version minus the horse stables. I don't think you're able to cheat and "mount" them before a battle, but truthfully, I haven't tried.[/QUOTE]

---------------------------------------------
I think thats why you are not supposed
to be able to buy them in the first place.
To make them mount they must be taged to
a horse.Now I tought if a unit is taged
to a horse then it will have a horse at
the start of a battle but it will be
mounted ,so IF what I said is true ,then
how would you get the AI to do the decent
thing and dismount.If you find out or if
I am just plain wrong let me know.
thanks.

You could say something polite like
ye foo' your wrong. he he.
----------------------------------------------
Pet,
thanks, let me know if you have any
problems with the factions thing.
I need to know how many variations are
allowed for our roman mod as we will
be changing alot of units.

Lord Krazy.

Lord Krazy
09-08-2002, 03:48
Quote Originally posted by JRock:
That's what I said, foo' - multiplayer availability is fine the way it is right now. http://www.totalwar.org/ubb/tongue.gif

[This message has been edited by JRock (edited 09-07-2002).][/QUOTE]
---------------------------------------------
I did not see where u said that if u remove
the mercinary tag in the crusader_prod11.txt
that u will exclusively have swiss units
for the swiss .The other referance was
merely to agree with u .
So I suggest u read both posts again
Thank you.

LK http://www.totalwar.org/ubb/smile.gif

LittleRaven
09-08-2002, 03:55
Just tested the mounting of foot knights.

Turns out Medieval knows that a foot knight is just a foot knight. A mounted knight can dismount, but a foot knight cannot "summon" himself a horse. Thus, enabling foot knights does not enable any cheat.

Wart
09-08-2002, 04:00
Lord Krazy,
Are you saying that the swiss should only be trainable by the Swiss faction? If so changing column AC to swiss should do it.

Personally i thought the intention was that they were a troop type which is only trainable in switzerland, but could be built by any faction which owns that region.

This woulnt be unhistorical. The Swiss were quite well famed for their mercenary polearm troops! The Pope hired them because they were trustworthy, cack-hard troops, which is why they are still his ceremonial guard to this day! http://www.totalwar.org/ubb/smile.gif

Peter
I dont think it will make a difference whether they have 'all' or 'no' factions in AC, the cultural descriptor is column AG (or have i misunderstood why you mentioned the egyptians? -did you use them as an example, of a different culture, or of a non swiss faction?)

Wart
09-08-2002, 04:45
Little Raven
Out of interest what buildings did you make requisites for footknight production?

barocca
09-08-2002, 05:17
Shiro
Can you leave this here till Raven has had a chance to reply, i fear this thread is heading for the Patch/Mods forum...

Raven please upload your altered file enabling footknights in a zip to the orgs mtw upload section,
http://www.totalwar.org/site/MTWupload.php3

please include a readme with the buildings you added to enable FootKnights,

Wart, do i have your email yet?
send to barocca_x@hotmail.com and I'll forward Ravens File as soon as he uploads
:-)

Medieval_Plunder2
has been added to the downloads section
http://www.totalwar.org/ubb/biggrin.gif

[This message has been edited by barocca (edited 09-07-2002).]

JRock
09-08-2002, 05:40
Quote Originally posted by +DOC+:
You know the one where they are available to everyone whether they have Switzerland or not?

Can we solve this ourselves by simply adding Switzerland to the unit Region column (column AD)?[/QUOTE]

Quote Originally posted by JRock:
Uh you mean in the singleplayer campaign right?

Because it's perfectly fine that all non-Muslim factions in multiplayer can hire the Swiss (consider them mercenaries).[/QUOTE]


Quote Originally posted by Lord Krazy:
---------------------------------------------
thats another tag u need to change if you
insist nobody else has them.This is not
very realistic as they were and still are to
this day the offical bodyguard to the Pope.
LK[/QUOTE]


Quote Originally posted by JRock:
That's what I said, foo' - multiplayer availability is fine the way it is right now. http://www.totalwar.org/ubb/tongue.gif
[/QUOTE]

Quote Originally posted by Lord Krazy:
---------------------------------------------
I did not see where u said that if u remove
the mercinary tag in the crusader_prod11.txt
that u will exclusively have swiss units
for the swiss .The other referance was
merely to agree with u .
So I suggest u read both posts again
Thank you.
LK
[/QUOTE]


HUH?!

Also, your reply style with the stupid "-----" above your reply is frustrating because trying to quote you to reply to you doesn't work right because UBB thinks your reply is actually your signature, which it doesn't put in a quote.

[This message has been edited by JRock (edited 09-07-2002).]

LittleRaven
09-08-2002, 07:23
Sorry it took so long to get back. Got tied up smashing the French!

Ok, the footknights mod has been uploaded. It allows the creation of footknights and fixes the "swiss pikemen" bug. Any faction can build Swiss pikemen provided they own Switzerland, but only in Switzerland.

If anyone has any problems with it, let me know.

barocca
09-08-2002, 12:06
OK
I've uploaded Little Ravens Foot Knights to the Recent Files Page,
i'm a little busy and don't have time to update everything,
ALSO
I was working along a similar line with the Swiss from information in this thread,

so i combined my swiss with little ravens footknights,
then I added the changes to EatColdSteel's no_agents Mod

Now there are 3 variants available for download,

LittleRavens Mod,
and 2 in my Mod Pack,
one with agents and one without!
http://www.totalwar.org/ubb/biggrin.gif

+DOC+
09-08-2002, 18:36
lol, so after sifting through this entire thread i am still unclear as to whether the NO_FACTIONS is absolutely necessary or will ALL_FACTIONS suffice!?

LittleRaven
09-08-2002, 21:42
Quote Originally posted by +DOC+:
lol, so after sifting through this entire thread i am still unclear as to whether the NO_FACTIONS is absolutely necessary or will ALL_FACTIONS suffice!?[/QUOTE]

I have not tested this extensively, but this is how I understand it.

If you have "ALL_FACTION" combined with the regional requirement SWITZERLAND, then you get the following: Any faction can build SwissPikemen, provided they own Switzerland. And if you own Switzerland, you can build Swiss Pikemen ANYWHERE. Owning Switzerland is just a prerequisite, but since it is enabled for all factions, once you own Switzerland, Syria will pump out Swiss pikemen just fine. Note that ALL_FACTION is enabled in the default unit_production file that ships with the game. (and contains the Swiss Pikemen bug)

If NO_FACTION is enabled, then no faction can build the unit, so you will never be able to build Swiss Pikemen in Syria. But a unit can always be built in its regional requirement. So if NO_FACTION is enabled, any faction can build Swiss Pikemen, but only in Switzerland. NO_FACTION is enabled for Gallowglass and Highlanders in the default unit_production file. Highlander-type behavior is they type that I wanted to see for Swiss units, and that's why I put NO_FACTION in for Swiss units in my foot knight mod.