Art Define num members problem

Stan Atan

Chieftain
Joined
Nov 12, 2019
Messages
3
Hi, I have problem with unit members. I wanna have 3 members, but one with different skin. I made SQL but only 1 member is visible in game. What's wrong? my code is below

Code:
INSERT INTO "ArtDefine_UnitInfos" ('Type','DamageStates','Formation')
   SELECT   ("ART_DEF_UNIT__FLORASSASSINSEC"), "DamageStates", ("Unformed")
   FROM "ArtDefine_UnitInfos" WHERE (Type = "ART_DEF_UNIT__WARRIOR");
   
   

INSERT INTO "ArtDefine_UnitInfoMemberInfos" ('UnitInfoType', 'UnitMemberInfoType', 'NumMembers')
  VALUES ("ART_DEF_UNIT__FLORASSASSINSEC", "ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_2", "1");
INSERT INTO "ArtDefine_UnitInfoMemberInfos" ('UnitInfoType', 'UnitMemberInfoType', 'NumMembers')
  VALUES ("ART_DEF_UNIT__FLORASSASSINSEC", "ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_1", "1");
  INSERT INTO "ArtDefine_UnitInfoMemberInfos" ('UnitInfoType', 'UnitMemberInfoType', 'NumMembers')
  VALUES ("ART_DEF_UNIT__FLORASSASSINSEC", "ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_3", "1");

INSERT INTO "ArtDefine_UnitMemberInfos" (Type, Scale, Model, MaterialTypeTag, MaterialTypeSoundOverrideTag)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_2', 1.4, 'Assassin.fxsxml', 'CLOTH', 'FLESH');
INSERT INTO "ArtDefine_UnitMemberInfos" (Type, Scale, Model, MaterialTypeTag, MaterialTypeSoundOverrideTag)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_1', 1.4, 'Assassin2.fxsxml', 'CLOTH', 'FLESH');
INSERT INTO "ArtDefine_UnitMemberInfos" (Type, Scale, Model, MaterialTypeTag, MaterialTypeSoundOverrideTag)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_3', 1.4, 'Assassin.fxsxml', 'CLOTH', 'FLESH');
 
INSERT INTO ArtDefine_UnitMemberCombats(UnitMemberType, EnableActions, ShortMoveRadius, ShortMoveRate, TargetHeight, HasRefaceAfterCombat)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_2', 'Idle Attack RunCharge AttackCity Bombard Death BombardDefend Run Fortify CombatReady Walk AttackCharge', 12.0, 0.349999994039536, 8.0, 1);
INSERT INTO ArtDefine_UnitMemberCombats(UnitMemberType, EnableActions, ShortMoveRadius, ShortMoveRate, TargetHeight, HasRefaceAfterCombat)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_1', 'Idle Attack RunCharge AttackCity Bombard Death BombardDefend Run Fortify CombatReady Walk AttackCharge', 12.0, 0.349999994039536, 8.0, 1);
  INSERT INTO ArtDefine_UnitMemberCombats(UnitMemberType, EnableActions, ShortMoveRadius, ShortMoveRate, TargetHeight, HasRefaceAfterCombat)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_3', 'Idle Attack RunCharge AttackCity Bombard Death BombardDefend Run Fortify CombatReady Walk AttackCharge', 12.0, 0.349999994039536, 8.0, 1);

INSERT INTO ArtDefine_UnitMemberCombatWeapons(UnitMemberType, "Index", SubIndex, WeaponTypeTag, WeaponTypeSoundOverrideTag)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_2', 0, 0, 'METAL', 'SWORD');

INSERT INTO ArtDefine_UnitMemberCombatWeapons(UnitMemberType, "Index", SubIndex, WeaponTypeTag, WeaponTypeSoundOverrideTag)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_1', 0, 0, 'METAL', 'SWORD');
 
  INSERT INTO ArtDefine_UnitMemberCombatWeapons(UnitMemberType, "Index", SubIndex, WeaponTypeTag, WeaponTypeSoundOverrideTag)
  VALUES ('ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_3', 0, 0, 'METAL', 'SWORD');
 
Looks OK at first glance. If it's only one member, I take it that's ART_DEF_UNIT_MEMBER_FLORASSASSINSECF_1 (Assassin2.fxsxml)? If you use Assassin.fxsxml only, does it work?

It's much easier to diagnose if you zip up the built mod (from your mods directory) and post that.

Also, note this subforum is for completed mods. I've alerted the moderators to move it.
 
Back
Top Bottom