Do units have individual stats in the campaign?

Post Reply
Galdred
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 504
Joined: Tue Nov 15, 2011 5:43 am

Do units have individual stats in the campaign?

Post 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?
Aekar
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 231
Joined: Thu Nov 27, 2014 10:29 am

Re: Do units have individual stats in the campaign?

Post 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 ;)
Mophead
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 59
Joined: Sun Jan 29, 2017 7:23 pm

Re: Do units have individual stats in the campaign?

Post 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.
pipfromslitherine
Site Admin
Site Admin
Posts: 9933
Joined: Wed Mar 23, 2005 10:35 pm

Re: Do units have individual stats in the campaign?

Post 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
follow me on Twitter here
Post Reply

Return to “Sanctus Reach Mods and Scenario Design”