Page 1 of 1

Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 10:28 am
by GottaLove88s
Gents,

Has anyone seen anything to modify the action of the on-board Arty (eg. Bishop/Priest/Wespe) so that, either...

(i) Player sets the target but the shot doesn't fall until the next turn (preferred option, but possibly hard to program for?), or
(ii) Bishop/Priest/Wespe can fire, but then cannot fire the next turn (in the same way that firing is locked out if the unit moves)

Would either or both of these be difficult to code? I'm flummoxed...

:?

Re: Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 3:09 pm
by pipfromslitherine
I wouldn't attempt i (you would have to prevent them moving, etc, etc) - it is doable, but much tougher.

for ii You could just add an attrib which is "cooldown" which you would then check in a custom IndirectFire bsf. When something with a cooldown attrib fired, it would set another attrib (cooldowncount or something) which would then have to count down before they could fire again. You could do it all in one attrib with some clever coding, but it would be less clear :)

Cheers

Pip

Re: Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 3:25 pm
by GottaLove88s
Thanks Pip,

Your (ii) sounds interesting and do-able. Are you aware of any code out there that already modifies "cool down" in a similar way.

I'd like to copy something that already works, ideally?

Re: Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 3:51 pm
by pipfromslitherine
Hmmm - no, sorry. I know that we actually had support weapons working something like that, but we took it out as it wasn't much fun :)

Cheers

Pip

Re: Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 6:26 pm
by enric
Has anyone seen anything to modify the action of the on-board Arty (eg. Bishop/Priest/Wespe) so that, either...
Maybe you're lucky, my next scenario: A small town in Germany, use the canadian Sexton (similar to Priest) they have a reduced range and only may fire every two turns.

Re: Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 6:35 pm
by GottaLove88s
Dream!! When is this available...?

Sounds like you've solved several of the problems that made on board arty too strong!!

Re: Modified Bishop/Priest/Wespe - One turn delay?

Posted: Fri Mar 15, 2013 9:06 pm
by enric
GottaLove88s wrote:Dream!! When is this available...?

Sounds like you've solved several of the problems that made on board arty too strong!!
Just waiting for the new BA released, I've adapted all actions to the new code on the battle/scripts unit's actions.