ww2commander
Emperor
Well to cut a long story short, I developed some custom counter-type units a while back which I had an issue with in the vanilla version of Civ5. Basically the unit was there on the map and could be selected, but was always invisible.
After one of the early G&K patches, the units all of a sudden started working properly in that they appeared on the map just fine. Problem was solved. Here is a screenshot of the working units: http://forums.civfanatics.com/showpost.php?p=11632593&postcount=44
However, after the most recent G&K patch (1.0.2.13) all my units have again gone into invisible mode . Something in the most recent change has broken my counters within the artdef tables!
I have ignored the problem for the past few weeks as I have had so many other things to complete in my mod and I only got around to looking into the issue today.
I have tried countless things including:
- Recreate artdef entries
- Confirm scale size
- Confirm no typos or errors in logs
- Removed a huge chunk of units incase it was a limit/cap issue with units
- Made sure no important fields are empty or missing across any of the artdef tables
The strange thing is that if I change one of my units to a vanilla artdef entry, then it displays that vanilla model correctly on the map.
At this stage I am all out of ideas so was hoping someone might be able to test the attached file for me and see what might be wrong.
Here are the SQL artdef entries I use for the attached file:
Thanks in advance for any help.
After one of the early G&K patches, the units all of a sudden started working properly in that they appeared on the map just fine. Problem was solved. Here is a screenshot of the working units: http://forums.civfanatics.com/showpost.php?p=11632593&postcount=44
However, after the most recent G&K patch (1.0.2.13) all my units have again gone into invisible mode . Something in the most recent change has broken my counters within the artdef tables!
I have ignored the problem for the past few weeks as I have had so many other things to complete in my mod and I only got around to looking into the issue today.
I have tried countless things including:
- Recreate artdef entries
- Confirm scale size
- Confirm no typos or errors in logs
- Removed a huge chunk of units incase it was a limit/cap issue with units
- Made sure no important fields are empty or missing across any of the artdef tables
The strange thing is that if I change one of my units to a vanilla artdef entry, then it displays that vanilla model correctly on the map.
At this stage I am all out of ideas so was hoping someone might be able to test the attached file for me and see what might be wrong.
Here are the SQL artdef entries I use for the attached file:
Code:
INSERT INTO "ArtDefine_UnitInfos" VALUES('ART_DEF_UNIT_GER_INF_1',1,'UnFormed');
INSERT INTO "ArtDefine_UnitInfoMemberInfos" VALUES('ART_DEF_UNIT_GER_INF_1','ART_DEF_UNIT_MEMBER_GER_INF_1',1);
INSERT INTO "ArtDefine_UnitMemberInfos" VALUES('ART_DEF_UNIT_MEMBER_GER_INF_1',7,NULL,'','Ger_Inf_Div_Type1.fxsxml','CLOTH','FLESH');
INSERT INTO "ArtDefine_UnitMemberCombats" VALUES('ART_DEF_UNIT_MEMBER_GER_INF_1','Idle Attack RunCharge AttackCity Bombard Death BombardDefend Run Fortify CombatReady','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL,'');
Thanks in advance for any help.