Army Lists and Min Max
Moderators: Slitherine Core, BA Moderators
-
- Site Admin
- Posts: 9707
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Army Lists and Min Max
the RandomMap_MapSize function gets called only to determine the map size, so calling AddBonus in there makes no difference. You would use SetGlobal to set a global variable to the map size, which you would then read in the _Build function where the map actually gets built.
The Log command is detailed in the autodocs (in Documents/My Games/BA2/AUTODOCS/BATTLESCRIPT.TXT), and you can see the output in the battle screen by pressing F6.
Cheers
Pip
The Log command is detailed in the autodocs (in Documents/My Games/BA2/AUTODOCS/BATTLESCRIPT.TXT), and you can see the output in the battle screen by pressing F6.
Cheers
Pip
follow me on Twitter here
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 689
- Joined: Sun Oct 16, 2011 3:53 pm
- Location: Canada
- Contact:
Re: Army Lists and Min Max
Ahhh...ok, thanks Pip. I'll see if I can fiddle with it to make it work...otherwise, not a big deal.
Cheers!
Cheers!
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 689
- Joined: Sun Oct 16, 2011 3:53 pm
- Location: Canada
- Contact:
Re: Army Lists and Min Max
Hi Pip,
Me again. I was wondering if there is a way to indicate the Fortification number set in a Skirmish in the MP screen?
For example, when I set up a Challenge some of the information about setup is included in the Challenge itself (like Attack) and the rest of the info about it can be obtained by hovering over it (like Openness)...I would like to be able to also show, on hover, the Fortification setting...but have no idea where to begin with that.
Can you point me in the right direction?
Me again. I was wondering if there is a way to indicate the Fortification number set in a Skirmish in the MP screen?
For example, when I set up a Challenge some of the information about setup is included in the Challenge itself (like Attack) and the rest of the info about it can be obtained by hovering over it (like Openness)...I would like to be able to also show, on hover, the Fortification setting...but have no idea where to begin with that.
Can you point me in the right direction?
-
- Site Admin
- Posts: 9707
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Army Lists and Min Max
I think the info in the lobby screen is hardcoded, sorry
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 689
- Joined: Sun Oct 16, 2011 3:53 pm
- Location: Canada
- Contact:
Re: Army Lists and Min Max
Drat! Thanks Pip.
Any other way to indicate what the Fortification setting is to a player accepting the challenge that you can think of? ...perhaps through the Log somehow?
Any other way to indicate what the Fortification setting is to a player accepting the challenge that you can think of? ...perhaps through the Log somehow?
-
- Site Admin
- Posts: 9707
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Army Lists and Min Max
Unfortunately not really, the data just wouldn't get sent to the server. I guess we should have allowed script to write to the challenge name or user message.
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 689
- Joined: Sun Oct 16, 2011 3:53 pm
- Location: Canada
- Contact:
Re: Army Lists and Min Max
Oh well...Ok, thanks Pip.
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 689
- Joined: Sun Oct 16, 2011 3:53 pm
- Location: Canada
- Contact:
Re: Army Lists and Min Max
I found this in the Autodoc...
Could I use this in MP Skirmish to preset the Fortification value? If so, where would I need to put it (ie. do I put it into the MAPGENERATE2.BSF)? ...or is it only for Single player mode?
Code: Select all
//set the fortification value [0,100]
SkirmishSetFortifications(fortifications)
-
- Site Admin
- Posts: 9707
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Army Lists and Min Max
I think that it is for starting skirmish battles from a campaign layer, so probably not useful for MP (if I am correct in thinking it is your plan).
Cheers
Pip
Cheers
Pip
follow me on Twitter here
-
- 2nd Lieutenant - Panzer IVF/2
- Posts: 689
- Joined: Sun Oct 16, 2011 3:53 pm
- Location: Canada
- Contact:
Re: Army Lists and Min Max
Ahhh...yes, I was hoping it might be an option for the MP version.