Hello civfanatics,
next civilian unit is uploaded.
http://forums.civfanatics.com/downloads.php?do=file&id=25202
But I need a good advise to use separate worker unit graphics for each civilization. I tried to handle with the brilliant RED-Mod Create UnitGraphicConfiguration table structure. It didded worked with workers.
Maybe the problem is the vanilla suffix "Euro" in the worker member 'ART_DEF_UNIT_MEMBER_WORKER_EURO'. I stuck to write SQL for using Civ5 Netherlands Worker unit Graphic only for the Netherlands.
Let's take a look:
UPDATE ArtDefine_UnitMemberInfos SET Model = 'CIV5Nedwo.fxsxml' WHERE Type = 'ART_DEF_UNIT_MEMBER_WORKER_EURO';
---INSERT INTO "ArtDefine_UnitMemberInfos" ('Type','fScale','Granny','Combat')
---SELECT REPLACE("Type", 'ART_DEF_UNIT_MEMBER_WORKER_EURO', 'ART_DEF_UNIT_MEMBER_WORKER'), "fScale", "Granny", "Combat"
---FROM "ArtDefine_UnitMemberInfos" WHERE Type = 'ART_DEF_UNIT_MEMBER_WORKER_EURO';
---INSERT INTO "ArtDefine_UnitMemberInfos" ('MemberType','MemberCount')
---SELECT REPLACE("MemberType", 'ART_DEF_UNIT_MEMBER_WORKER_EURO', 'ART_DEF_UNIT_MEMBER_WORKER'), "MemberCount"
---FROM "ArtDefine_UnitMemberInfos" WHERE Type = 'ART_DEF_UNIT__WORKER'
---DELETE FROM ArtDefine_UnitInfoMemberInfos WHERE UnitInfoType='ART_DEF_UNIT__WORKER';
---INSERT INTO ArtDefine_UnitInfoMemberInfos VALUES ('ART_DEF_UNIT__WORKER','ART_DEF_UNIT_MEMBER_WORKER_EURO',"8");
---UPDATE ArtDefine_UnitMemberInfos SET Type = 'ART_DEF_UNIT_MEMBER_WORKER' WHERE Type = 'ART_DEF_UNIT_MEMBER_WORKER_EURO';
SELECT 'NETHERLANDS', 'NETHERLANDS', 'CIV5Nedwo.fxsxml', 'ART_DEF_UNIT__WORKER', 'ART_DEF_UNIT_MEMBER_WORKER_EURO', 8, NULL, 0 UNION ALL
Any ideas?
next civilian unit is uploaded.
http://forums.civfanatics.com/downloads.php?do=file&id=25202
But I need a good advise to use separate worker unit graphics for each civilization. I tried to handle with the brilliant RED-Mod Create UnitGraphicConfiguration table structure. It didded worked with workers.
Maybe the problem is the vanilla suffix "Euro" in the worker member 'ART_DEF_UNIT_MEMBER_WORKER_EURO'. I stuck to write SQL for using Civ5 Netherlands Worker unit Graphic only for the Netherlands.
Let's take a look:
UPDATE ArtDefine_UnitMemberInfos SET Model = 'CIV5Nedwo.fxsxml' WHERE Type = 'ART_DEF_UNIT_MEMBER_WORKER_EURO';
---INSERT INTO "ArtDefine_UnitMemberInfos" ('Type','fScale','Granny','Combat')
---SELECT REPLACE("Type", 'ART_DEF_UNIT_MEMBER_WORKER_EURO', 'ART_DEF_UNIT_MEMBER_WORKER'), "fScale", "Granny", "Combat"
---FROM "ArtDefine_UnitMemberInfos" WHERE Type = 'ART_DEF_UNIT_MEMBER_WORKER_EURO';
---INSERT INTO "ArtDefine_UnitMemberInfos" ('MemberType','MemberCount')
---SELECT REPLACE("MemberType", 'ART_DEF_UNIT_MEMBER_WORKER_EURO', 'ART_DEF_UNIT_MEMBER_WORKER'), "MemberCount"
---FROM "ArtDefine_UnitMemberInfos" WHERE Type = 'ART_DEF_UNIT__WORKER'
---DELETE FROM ArtDefine_UnitInfoMemberInfos WHERE UnitInfoType='ART_DEF_UNIT__WORKER';
---INSERT INTO ArtDefine_UnitInfoMemberInfos VALUES ('ART_DEF_UNIT__WORKER','ART_DEF_UNIT_MEMBER_WORKER_EURO',"8");
---UPDATE ArtDefine_UnitMemberInfos SET Type = 'ART_DEF_UNIT_MEMBER_WORKER' WHERE Type = 'ART_DEF_UNIT_MEMBER_WORKER_EURO';
SELECT 'NETHERLANDS', 'NETHERLANDS', 'CIV5Nedwo.fxsxml', 'ART_DEF_UNIT__WORKER', 'ART_DEF_UNIT_MEMBER_WORKER_EURO', 8, NULL, 0 UNION ALL
Any ideas?