Three-Way Units.
Moderators: Slitherine Core, Panzer Corps Design, Panzer Corps Moderators
Three-Way Units.
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?
Re: Three-Way Units.
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.
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
Modern Conflicts (v2.10): http://www.slitherine.com/forum/viewtopic.php?f=147&t=72062
Re: Three-Way Units.
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
#
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
Re: Three-Way Units.
I think I have the solution for your crashes... because it happened to me too
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.
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
Modern Conflicts (v2.10): http://www.slitherine.com/forum/viewtopic.php?f=147&t=72062
Re: Three-Way Units.
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.
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.
Re: Three-Way Units.
Thanks everybody, I got it to work 


