Editor Polish Winged Lancers

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
SmickeyMcgee
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 76
Joined: Wed Jul 21, 2010 6:39 pm

Editor Polish Winged Lancers

Post by SmickeyMcgee »

I ran into a weird situation in the editor. I was making a fictional battle between a Polish cavalry force(side 0) with merc support against some Transylvanians(side 1) but discovered that only Side 1 can place winged hussars. When i switch to Side 0 unit placement the Polish Winged Lancers are no longer there. Also the Armored Hussars i was going to give the transylvanians (Side 1) only appear in the unit list when i have it set to side 0. What's going on here??? :cry:
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28294
Joined: Sun Dec 04, 2005 6:25 pm

Re: Editor Polish Winged Lancers

Post by rbodleyscott »

One of the peculiarities of the STUB engine is that units are assigned either to one faction or the other. Poles are assigned to the Pro-Imperial faction, so are only normally available to side1, and Transylvanians are assigned to the Anti-Imperial factionh, so are only normally available to side0.

However, it is possible to "reverse the polarity" as some ancient science fiction program would have it, and swap the two sets of units round, so that side0 gets the units that are normally in Side1 and vice versa.

This is done by adding a file called Sides.txt to your custom campaign folder.

This file should contain the following lines:

[Axis]
string IDS_SIDE1
DECOR 0
DECORSHIELDMASK 1985
UICOLOURINDEX 0
SKIRMISHFLAGS 1

[Allies]
string IDS_SIDE0
DECOR 0
DECORSHIELDMASK 65535
SKIRMISHFLAGS 0

[Test]
string IDS_SIDE2
DECOR 0
DECORSHIELDMASK 65535
SKIRMISHFLAGS 0

(Calling the two "factions" [Allies] and [Axis] is perhaps the only hard-coded WW2 reference in the engine).

This will allow you to place Poles as side0. To avoid weirdness, I recommend you create a new scenario to do this.
Richard Bodley Scott

Image
SmickeyMcgee
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 76
Joined: Wed Jul 21, 2010 6:39 pm

Re: Editor Polish Winged Lancers

Post by SmickeyMcgee »

thanks for the quick reply! ima go edit my txt files right now :D
old banshee
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 32
Joined: Wed May 28, 2014 5:12 pm

Re: Editor Polish Winged Lancers

Post by old banshee »

Not really about this post but I would really like to talk to you regarding modding graphics like you did for LotR.
Please contact me. I have sent you a PM.
Frank.
Post Reply

Return to “Scenario Design”