Page 1 of 1

Do units have individual stats in the campaign?

Posted: Thu Jan 26, 2017 2:42 pm
by Galdred
I have not looked at the way unit stats are loaded.
Are the unit stats loaded with the scenario (aka, units and ability are read from units.csv and the campaign file for the abilities, and assigned to the unit instance)? Or are campaign units saved with their stats?
For instance, could I modd the game to add random stat increase on level up, or would the unit stats be reset on next mission?

Re: Do units have individual stats in the campaign?

Posted: Mon Jan 30, 2017 8:47 pm
by Aekar
I can't provide an exact answer but I know you can do anything you see fits when a unit levels, and thus allow a random stat increase.
I planned that too in a mod feature, so I'll tell you more later as well ;)

Re: Do units have individual stats in the campaign?

Posted: Mon Jan 30, 2017 10:58 pm
by Mophead
I want to say you have the Game Directory baseline and abilities available.
http://steamcommunity.com/app/502370/di ... 0026972347
They are currently given randomly.

_\SANCTUS\AUTODOCS has .txt files that explain some of the commands. I think looking at the BSF files would show how and where to put the "levelup" code, and that when the SCENARIO.BSF loads, in the game, it can overwrite the Game Directory Unit Attributes.

Re: Do units have individual stats in the campaign?

Posted: Mon Jan 30, 2017 11:25 pm
by pipfromslitherine
Yes - you can alter all the game logic by creating your own versions of the script files in a custom campaign.

Cheers

Pip