Removing the Deploy phase

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
Brummbar44
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 689
Joined: Sun Oct 16, 2011 3:53 pm
Location: Canada
Contact:

Removing the Deploy phase

Post by Brummbar44 »

Ok, odd situation I've run across here.

I've been using the Merr Deploy to set up multiplayer battles...but have come upon a battle where I don't want the sides to deploy at all, just go straight to playing.

I've removed the Merr Deploy code from my .BSF and have switched off deploy from within the editor but when I test play, I still have the deploy phase occurring?

Any suggestions on how to remove the deploy phase for just one scenario?

(note; I've tried to remove the merr_deploy include from the $default list and include it instead with each battle that needs it but that just produces an error that crashes out BA).

Thanks in advance!
pipfromslitherine
Site Admin
Site Admin
Posts: 9886
Joined: Wed Mar 23, 2005 10:35 pm

Re: Removing the Deploy phase

Post by pipfromslitherine »

IIRC (and unless Merr has something special going on) you also need to ensure it is toggled off in the editor for the map.

Cheers

Pip
follow me on Twitter here
Brummbar44
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 689
Joined: Sun Oct 16, 2011 3:53 pm
Location: Canada
Contact:

Re: Removing the Deploy phase

Post by Brummbar44 »

Thanks Pip...yes, I verify I have the deploy turned off in the map editor. If I leave it on, the units can deploy pretty much anywhere on the map.

Hmmm...I'll have to dig deeper on this one. I've only ever used the Merr Deploy so I don't even know how to do it otherwise.
pipfromslitherine
Site Admin
Site Admin
Posts: 9886
Joined: Wed Mar 23, 2005 10:35 pm

Re: Removing the Deploy phase

Post by pipfromslitherine »

Fair enough - not sure then. I know Merr had his own special "deploy" code that wasn't hooked directly into the main code. My guess is there is a global/universal var that is turned on if you want to use the feature.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy : Modders Corner ”