kaspergm
Deity
- Joined
- Aug 19, 2012
- Messages
- 5,577
I would like to try to change it so that instead of a simple Mine, you need to put a Quarry on Salt resources to improve them. The coding is simple, but now no improvement graphics shows up on the tile when it is improved - it simply shows the unimproved tile. Does anybody know if there's a simple way around this issue? I'd be happy to have the normal Mined-salt graphics show up when the Quarry is made, I'm just not sure what models I need to refer to to make this happen.
I tried to make a SQL file based on another mod I used, and filled in this info. This did have the effect the the salt graphics is removed completely when improved - so now neither improved nor unimproved graphics shows up - but sadly, this was not quite the effect I was hoping for. Am I referring to the wrong model names? Or do I need to do something else? (Trying this was just a long shot since I don't actually add the salt/mine graphics in the mod, but I was hoping this would allow it to locate the in-game files, but obviously not.)
I tried to make a SQL file based on another mod I used, and filled in this info. This did have the effect the the salt graphics is removed completely when improved - so now neither improved nor unimproved graphics shows up - but sadly, this was not quite the effect I was hoping for. Am I referring to the wrong model names? Or do I need to do something else? (Trying this was just a long shot since I don't actually add the salt/mine graphics in the mod, but I was hoping this would allow it to locate the in-game files, but obviously not.)
Spoiler :
Code:
--------------------------------------------------------------------------------------------------
--Artdefines
--------------------------------------------------------------------------------------------------
INSERT INTO ArtDefine_Landmarks (ResourceType, ImprovementType, Model, Era, State, Scale, LayoutHandler, TerrainContour)
SELECT 'ART_DEF_RESOURCE_SALT', 'ART_DEF_IMPROVEMENT_QUARRY', 'hb_mine_anc_salt.fxsxml', 'Ancient', 'UnderConstruction', 0.9599999785423279, 'SNAPSHOT', 1;
INSERT INTO ArtDefine_Landmarks (ResourceType, ImprovementType, Model, Era, State, Scale, LayoutHandler, TerrainContour)
SELECT 'ART_DEF_RESOURCE_SALT', 'ART_DEF_IMPROVEMENT_QUARRY', 'mine_anc_salt.fxsxml', 'Ancient', 'Constructed', 0.9599999785423279, 'SNAPSHOT', 1;
INSERT INTO ArtDefine_Landmarks (ResourceType, ImprovementType, Model, Era, State, Scale, LayoutHandler, TerrainContour)
SELECT 'ART_DEF_RESOURCE_SALT', 'ART_DEF_IMPROVEMENT_QUARRY', 'pl_mine_anc_salt.fxsxml', 'Ancient', 'Pillaged', 0.9599999785423279, 'SNAPSHOT', 1;
INSERT INTO ArtDefine_Landmarks (ResourceType, ImprovementType, Model, Era, State, Scale, LayoutHandler, TerrainContour)
SELECT 'ART_DEF_RESOURCE_SALT', 'ART_DEF_IMPROVEMENT_QUARRY', 'hb_mine_ind_salt.fxsxml', 'Industrial', 'UnderConstruction', 0.9599999785423279, 'SNAPSHOT', 1;
INSERT INTO ArtDefine_Landmarks (ResourceType, ImprovementType, Model, Era, State, Scale, LayoutHandler, TerrainContour)
SELECT 'ART_DEF_RESOURCE_SALT', 'ART_DEF_IMPROVEMENT_QUARRY', 'mine_ind_salt.fxsxml', 'Industrial', 'Constructed', 0.9599999785423279, 'SNAPSHOT', 1;
INSERT INTO ArtDefine_Landmarks (ResourceType, ImprovementType, Model, Era, State, Scale, LayoutHandler, TerrainContour)
SELECT 'ART_DEF_RESOURCE_SALT', 'ART_DEF_IMPROVEMENT_QUARRY', 'pl_mine_ind_salt.fxsxml', 'Industrial', 'Pillaged', 0.9599999785423279, 'SNAPSHOT', 1;