Page 1 of 1
Changing Depot levels
Posted: Sat Nov 08, 2008 12:51 pm
by jastaV
At Scenario start I have A french level 1 depot in Nuremberg:
N13; Dépôt de Nuremberg; Depot; 1
N13; NULL; ChangeSupply; 250|125|0
Later during the campaign I want to change depol level and accumulated supply for that depot by an event.
Is then possible to act in the same way for adding new Groups?
NULL; NULL; Actions; NULL; NULL; NULL; NULL; NULL; NULL; NULL
N13; Dépôt de Nuremberg; Depot; 4; NULL; NULL; NULL; NULL; $Nuremberg; 0; 0
N13; NULL; ChangeSupply; 1000|500|0; NULL; NULL; NULL; NULL; $Nuremberg; NULL; NULL
Note Dépôt de Nuremberg already exist on map when changing its level and accumulated supply.
I noticed ChangeStruc comands are also available, although I id not catched a working example within NCP files.
Posted: Sat Nov 08, 2008 1:48 pm
by jastaV
jastaV wrote:At Scenario start I have A french level 1 depot in Nuremberg:
N13; Dépôt de Nuremberg; Depot; 1
N13; NULL; ChangeSupply; 250|125|0
Later during the campaign I want to change depol level and accumulated supply for that depot by an event.
Is then possible to act in the same way for adding new Groups?
NULL; NULL; Actions; NULL; NULL; NULL; NULL; NULL; NULL; NULL
N13; Dépôt de Nuremberg; Depot; 4; NULL; NULL; NULL; NULL; $Nuremberg; 0; 0
N13; NULL; ChangeSupply; 1000|500|0; NULL; NULL; NULL; NULL; $Nuremberg; NULL; NULL
Note Dépôt de Nuremberg already exist on map when changing its level and accumulated supply.
I noticed ChangeStruc comands are also available, although I id not catched a working example within NCP files.
Okay: first way does not work!
I had an error notification.
Now I have chance to use
ChangeStruc and
ChangeStrucType
Any tip as regard?
Posted: Sat Nov 08, 2008 2:09 pm
by Lafrite
I don't know very well but ChangeStrucType convert a structure DefUID into another
Posted: Sat Nov 08, 2008 2:35 pm
by jastaV
Lafrite wrote:I don't know very well but ChangeStrucType convert a structure DefUID into another
That's true!
I just tested ChangeStruc command and it does not work, (I have an error notification!), when a depot already exist in the region.
Indeed I need something to change depot level, so to increase or decrease it at will!
Posted: Sat Nov 08, 2008 2:47 pm
by Lafrite
Try to make a new depot in x:\Program Files\Napoleon's Campaigns\NCP\GameData\Structures
And use ChangeStrucType oldUID, yourUID
Warning, it's theorical, i don't know very well this section
Posted: Sat Nov 08, 2008 3:25 pm
by jastaV
Lafrite wrote:Try to make a new depot in x:\Program Files\Napoleon's Campaigns\NCP\GameData\Structures
And use ChangeStrucType oldUID, yourUID
Warning, it's theorical, i don't know very well this section
Guess I have no need for creation of a new structure.
I just need to be able to change the depot level, (1-4) for depots existing on map at scenario start.
But I fear a dedicated command does not exist.
Example: Dépôt de Strasbourg, 2 level is to be changed to level 4,...or to level 0, (in this last example depot is removed)!
Posted: Mon Nov 10, 2008 10:59 am
by Pocus
I'll work something on that, this is needed.
Posted: Mon Nov 10, 2008 11:37 am
by jastaV
Pocus wrote:I'll work something on that, this is needed.
Great!
I'll pass over the 1813 CG depot-network for now, with hope to see it available soon!

Posted: Mon Nov 10, 2008 4:00 pm
by Pocus
Can be sooner that you think!