
wish to know the detail of the game logic
Moderators: Slitherine Core, BA Moderators
wish to know the detail of the game logic
Can we know the detail of the game logic? I mean, if we know how to calculate the hit chance or if we know how many experience will let unit to level up, we can understand the game more deeply rather than talk with the game only rely on experiences. 

-
- BA Moderator
- Posts: 1478
- Joined: Sun May 23, 2010 4:47 pm
- Location: Arizona USA -7GMT
You can read some of Iain's comments in the Manual Additions sticky post. Units don't level up, they gain promotions by destroying an enemy unit. The squads.xls or squads.csv file displays all the numbers used for each unit in the game. Expansions have their own versions of these files.
You can call me junk - and type that with one hand.
Re: wish to know the detail of the game logic
Astromo,astromo wrote:Can we know the detail of the game logic? I mean, if we know how to calculate the hit chance or if we know how many experience will let unit to level up, we can understand the game more deeply rather than talk with the game only rely on experiences.
The logic for the game is located in *.BSF files. These are scattered around the main BA folders.
The best place to start is the Modders Portal ...
viewtopic.php?t=18098
After that, it's a Q&A session when you need help.
- Rob
Re: wish to know the detail of the game logic
Thank you Rob, I'm going to the Modders Portal...Merr wrote: Astromo,
The logic for the game is located in *.BSF files. These are scattered around the main BA folders.
The best place to start is the Modders Portal ...
viewtopic.php?t=18098
After that, it's a Q&A session when you need help.
- Rob
Re: wish to know the detail of the game logic
Great!astromo wrote:Thank you Rob, I'm going to the Modders Portal...
I can only suggest a route towards modding (if that is your intention) that I followed ...
Before diving into scripting, it's best to understand the in-game Editor ... (it can be intimidating and clunky)
There is a tutorial scenario and guide available at this link ...
viewtopic.php?t=18286
The template is the best place to start. The scenario BSF (template.bsf) contains the basic logic to run a scenario. You'll note that the link above states that the template is "out-of-date" and the editor's PLUGIN eliminates the need to have a scenario BSF. This is because the PLUGIN logic script replaces the scenario script.
Also, you'll note in the STUB_Engine docs that they recommend editting the BSF's using NotePad++.... free application. You could use a standard editor (NotePad) but NotePad++ has features that eliminate common errors, like extra quotes or brackets, and it makes finding and editting much easier. If you have an Apple, I can't tell you what the best app would be ... I don't know if NotePad++ works with Apple but there's probably "an-app-for-that"

Hope that helps (for now).
- Rob
Hi Rob,
You are very kind, in Chinese we will say "you are very geilivable!" haha. I caught a cold for the last 3 days, so I apologize for replying late. I have recomended the STUB_Engine document in the link you mentioned above to a group of guys who dwell in the forum (toaw.org) which discuss turn based war games such as BA. They are also very exited. I think we will introduce some high quality mods for BA in the near future. Wish to keep contact with you, my friend Rob:)
-astromo
You are very kind, in Chinese we will say "you are very geilivable!" haha. I caught a cold for the last 3 days, so I apologize for replying late. I have recomended the STUB_Engine document in the link you mentioned above to a group of guys who dwell in the forum (toaw.org) which discuss turn based war games such as BA. They are also very exited. I think we will introduce some high quality mods for BA in the near future. Wish to keep contact with you, my friend Rob:)
-astromo
Quite welcome ...
Don't forget about the 3D models ... If you don't have MAX, can use free 3D programs ...
Blender ... link to exporter ;
viewtopic.php?t=21328
GMax ... link to exporter ;
viewtopic.php?t=22272
I built the Hetzer with Blender ;
viewtopic.php?t=25546
BA can be anything you want, with a little work
.
Don't forget about the 3D models ... If you don't have MAX, can use free 3D programs ...

viewtopic.php?t=21328

viewtopic.php?t=22272
I built the Hetzer with Blender ;

BA can be anything you want, with a little work
