Hi,
It's been awhile since I've modded, but I thought I would have a look at the BE SDK and have a play.
I've downloaded the SDK, setup all of the paths and as a test wrote a simple update statement.
The statement is as follows:
UPDATE Buildings
SET EnergyMaintenance = '5'
WHERE Type = 'BUILDING_CLINIC';
I have also set the OnModActivated / Type to UpdateDatabase. When I load the MOD I see no changes in game. The database log has no errors. If I copy and paste the above and execute directly within SQL the changes are applied.
However, none of my changes take affect in game.
I'm obviously missing something crucial here - can anyone help me out?
Thanks,
Smeg
It's been awhile since I've modded, but I thought I would have a look at the BE SDK and have a play.
I've downloaded the SDK, setup all of the paths and as a test wrote a simple update statement.
The statement is as follows:
Spoiler :
UPDATE Buildings
SET EnergyMaintenance = '5'
WHERE Type = 'BUILDING_CLINIC';
I have also set the OnModActivated / Type to UpdateDatabase. When I load the MOD I see no changes in game. The database log has no errors. If I copy and paste the above and execute directly within SQL the changes are applied.
However, none of my changes take affect in game.
I'm obviously missing something crucial here - can anyone help me out?
Thanks,
Smeg