[Mod Restart] All Space Marine and Chaos Marine Chapters
Posted: Fri Jun 29, 2018 3:50 pm
Today I restarted work on this mod.
I work on this mod for Armaggeddon, to deepen my knowledge of W40K units and codexes.
And on an unannounced total conversion of Sanctus Reach to practice Archon Engine.
Both should helpfully help me deliver.
While you have the objective of this mod in the title - to release all Space Marine and Chaos legions - the summary is:
a) to allow the player to choose to play any of the 10 loyal legions/chapters in a UI
b) to allow the player to pick a company to play from this chapter, and commit it to battle
c) then to just play this setup in carry-over campaigns, with a repeating semi-randomized scenario, or simple handcrafted scenarios.
Current status:
New UI with Chapter Selection - OK

New Army Lists - In progress
Carryover campaign - In progress
I won't detail the objective any longer.
Instead I will focus during this thread on a step by step progress and your feedback.
Step One - Campaign and custom data
My first step was to get familiar again with campaign contents and variables.
Last year I worked with Squads.csv and had difficulties extending the number of squad units and attributes.
Now I want to "flank" these issues by using the persistent custom variables we have access to.
We have access to 64 campaign variables, but these can be arrays of length 8, so we have access to 512 persistent variables.
Today I'll try to:
- use these variables,
- customize them when launching the campaign,
- store there the profile of the selected new units and chapters.
Question #1 (to devs or people who can help):
on this page ( http://archonwiki.slitherine.com/index.php/Modding ) we see that a callback function is available (FUNCTION INIT_CAMPAIGN) when a new campaign is loaded or started.
However I would need a callback like that, which only works when a NEW campaign is launched, not when I reload it.
I can check that we are in the first mission but that would not be enough.
Are there other campaign callback functions available, and is there one for that?
I work on this mod for Armaggeddon, to deepen my knowledge of W40K units and codexes.
And on an unannounced total conversion of Sanctus Reach to practice Archon Engine.
Both should helpfully help me deliver.
While you have the objective of this mod in the title - to release all Space Marine and Chaos legions - the summary is:
a) to allow the player to choose to play any of the 10 loyal legions/chapters in a UI
b) to allow the player to pick a company to play from this chapter, and commit it to battle
c) then to just play this setup in carry-over campaigns, with a repeating semi-randomized scenario, or simple handcrafted scenarios.
Current status:
New UI with Chapter Selection - OK

New Army Lists - In progress
Carryover campaign - In progress
I won't detail the objective any longer.
Instead I will focus during this thread on a step by step progress and your feedback.
Step One - Campaign and custom data
My first step was to get familiar again with campaign contents and variables.
Last year I worked with Squads.csv and had difficulties extending the number of squad units and attributes.
Now I want to "flank" these issues by using the persistent custom variables we have access to.
We have access to 64 campaign variables, but these can be arrays of length 8, so we have access to 512 persistent variables.
Today I'll try to:
- use these variables,
- customize them when launching the campaign,
- store there the profile of the selected new units and chapters.
Question #1 (to devs or people who can help):
on this page ( http://archonwiki.slitherine.com/index.php/Modding ) we see that a callback function is available (FUNCTION INIT_CAMPAIGN) when a new campaign is loaded or started.
However I would need a callback like that, which only works when a NEW campaign is launched, not when I reload it.
I can check that we are in the first mission but that would not be enough.
Are there other campaign callback functions available, and is there one for that?