Three-Way Units.

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Design, Panzer Corps Moderators

Post Reply
Shoughie
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 55
Joined: Fri Jan 11, 2013 5:36 pm

Three-Way Units.

Post by Shoughie »

Hey I was wondering the proper way to create a unit that can switch into three separate units like its cycling through the three. How is this done properly?
Akkula
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1900
Joined: Sat Apr 05, 2014 12:14 am

Re: Three-Way Units.

Post by Akkula »

It is not that hard.
You just have to direct the unit number in your last "switch option" back to the first one of your cycle.

100 Unit 1 101
101 Unit 2 102
102 Unit 3 100

Something like that.
Regards.
Eastern Front: Soviet Storm (v1.96): http://www.slitherine.com/forum/viewtopic.php?f=147&t=50342
Modern Conflicts (v2.10): http://www.slitherine.com/forum/viewtopic.php?f=147&t=72062
Shoughie
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 55
Joined: Fri Jan 11, 2013 5:36 pm

Re: Three-Way Units.

Post by Shoughie »

Thanks, I had the same idea myself. This is what I tried, but every time I try it it causes the game to crash.

#
3111601 8.8 cm Pak 36 3 274 12 0 1 1 0 8 5 17 -7 3 5 10 0 0 0 8.8_cm_Pak_36.png 27.5.1939 1.1.1946 4 fixedt nopurchase 3111602 heavypull sea
rail air glider
3111602 8.8 cm Art 36 4 274 12 0 1 1 3 8 5 17 -7 3 5 10 0 0 0 8.8_cm_Pak_36_Art.png 27.5.1939 1.1.1946 4 fixedt nopurchase 3111603 heavypull sea rail air glider
3111603 8.8 cm FlaK 36 5 274 12 0 1 1 3 8 -5 -8 18 -3 2 10 0 0 0 8.8_cm_FlaK_36.png 27.5.1939 1.1.1946 4 primary FlaK 3111601 heavypull sea rail glider
Akkula
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1900
Joined: Sat Apr 05, 2014 12:14 am

Re: Three-Way Units.

Post by Akkula »

I think I have the solution for your crashes... because it happened to me too :D
The trick is that the "primary" unit from the cycle HAS to be purchasable, otherwise the game crash. The rest of the units can be "nopurchasable".

Hope it helps.
Regards.
Eastern Front: Soviet Storm (v1.96): http://www.slitherine.com/forum/viewtopic.php?f=147&t=50342
Modern Conflicts (v2.10): http://www.slitherine.com/forum/viewtopic.php?f=147&t=72062
peterw
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 154
Joined: Fri Apr 25, 2014 7:08 am

Re: Three-Way Units.

Post by peterw »

As far as I remember I had the same problem as Shoughie.
After I deleted one of the "nopurchase", I got no crash any more, but the unit shows up twice in the buying screen.

It seems two "nopurchase" types linked with a switch causes a crash.
Shoughie
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 55
Joined: Fri Jan 11, 2013 5:36 pm

Re: Three-Way Units.

Post by Shoughie »

Thanks everybody, I got it to work :)
Post Reply

Return to “Panzer Corps : Scenario Design”