1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

WW2 Truck: Deuce and a Half

Discussion in 'Civ5 - Unit Graphics' started by snafusmith, Nov 25, 2012.

  1. snafusmith

    snafusmith Unit Maker

    Joined:
    Nov 1, 2005
    Messages:
    1,549
    Location:
    I've been everywhere, man
    - Wikipedia



    The download includes 4 skins - an early USA, late USA, plain green and Soviet.

    DOWNLOAD HERE!

    In time I plan to make one with a turret and gunner.

    ENJOY!
    -Smitty
     
  2. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    8,664
    Location:
    France
    I was missing Mechanized Infantries :goodjob:
     
  3. Hulfgar

    Hulfgar Emperor

    Joined:
    Mar 31, 2008
    Messages:
    1,797
    Gender:
    Male
    Location:
    France
    Nice unit Snafusmith, just as your previous units :)
     
  4. ww2commander

    ww2commander Emperor

    Joined:
    Aug 23, 2003
    Messages:
    1,243
    Location:
    Australia
    Smitty :worship:

    Please keep them coming. Will be inserting this baby right into my mod as soon as I click "Post Quick Reply"!
     
  5. Moriboe

    Moriboe King

    Joined:
    Nov 30, 2010
    Messages:
    659
    Location:
    Belgium
  6. Hulfgar

    Hulfgar Emperor

    Joined:
    Mar 31, 2008
    Messages:
    1,797
    Gender:
    Male
    Location:
    France
    Hello Moriboe,

    I've done one :

     

    Attached Files:

  7. Moriboe

    Moriboe King

    Joined:
    Nov 30, 2010
    Messages:
    659
    Location:
    Belgium
    Thanks! :)

    Unfortunately ingame the unit looks like this for me:



    Any idea what I'm doing wrong?
    I'll include my SQL. I tried copying values from the tank and mechanized infantry, with the same result.
    Code:
    INSERT INTO ArtDefine_UnitInfos VALUES('ART_DEF_UNIT_DOCTOR',1,'Vehicle');
    
    INSERT INTO ArtDefine_UnitInfoMemberInfos VALUES('ART_DEF_UNIT_DOCTOR','ART_DEF_UNIT_MEMBER_TRUCK',1);
    --INSERT INTO ArtDefine_UnitInfoMemberInfos VALUES('ART_DEF_UNIT_DOCTOR','ART_DEF_UNIT_MEMBER_WW2_INFANTRY',1);
    
    INSERT INTO ArtDefine_UnitMemberCombats VALUES('ART_DEF_UNIT_MEMBER_TRUCK','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,'');
    
    INSERT INTO ArtDefine_UnitMemberInfos VALUES('ART_DEF_UNIT_MEMBER_TRUCK',0.119999997317791,NULL,'','CCKW.fxsxml','METAL','METALSM');
    
    INSERT INTO ArtDefine_UnitMemberCombatWeapons VALUES('ART_DEF_UNIT_MEMBER_TRUCK',0,0,'',25.0,50.0,NULL,NULL,NULL,'ART_DEF_VEFFECT_TANK_IMPACT_$(TERRAIN)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'EXPLOSIVE','EXPLOSION6POUND',NULL);
     

    Attached Files:

  8. Hulfgar

    Hulfgar Emperor

    Joined:
    Mar 31, 2008
    Messages:
    1,797
    Gender:
    Male
    Location:
    France
    Hello Moriboe,

    this is the code I use, I don't remember exactly which template it was :

    Code:
    INSERT INTO ArtDefine_UnitInfoMemberInfos (UnitInfoType, UnitMemberInfoType, NumMembers) VALUES('ART_DEF_UNIT_MOTORIZED_MEDIC',			'ART_DEF_UNIT_MEMBER_MOTORIZED_MEDIC'	,2);
    
    INSERT INTO ArtDefine_UnitInfos (Type, DamageStates, Formation) VALUES('ART_DEF_UNIT_MOTORIZED_MEDIC', 1,'Vehicle');
    
    
    INSERT INTO ArtDefine_UnitMemberCombats (UnitMemberType,						EnableActions,			DisableActions, MoveRadius, ShortMoveRadius,	ChargeRadius,	AttackRadius,	RangedAttackRadius, MoveRate,	ShortMoveRate,	TurnRateMin, TurnRateMax, TurnFacingRateMin,TurnFacingRateMax,RollRateMin,RollRateMax,PitchRateMin,PitchRateMax,LOSRadiusScale, TargetRadius, TargetHeight, HasShortRangedAttack, HasLongRangedAttack,HasLeftRightAttack,HasStationaryMelee,HasStationaryRangedAttack,HasRefaceAfterCombat, ReformBeforeCombat,HasIndependentWeaponFacing,HasOpponentTracking,HasCollisionAttack,AttackAltitude,AltitudeDecelerationDistance,OnlyTurnInMovementActions,RushAttackFormation)
    								VALUES('ART_DEF_UNIT_MEMBER_MOTORIZED_MEDIC','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,'');
    															  
    INSERT INTO ArtDefine_UnitMemberInfos (Type, Scale, ZOffset, Domain, Model, MaterialTypeTag,	MaterialTypeSoundOverrideTag) VALUES('ART_DEF_UNIT_MEMBER_MOTORIZED_MEDIC',			0.10,				NULL,		'',			'CCKW.fxsxml',					'METAL',			'METALSM');
    
    INSERT INTO ArtDefine_UnitMemberCombatWeapons (UnitMemberType, "Index", SubIndex,	ID, VisKillStrengthMin, VisKillStrengthMax, ProjectileSpeed, ProjectileTurnRateMin, ProjectileTurnRateMax, HitEffect, HitEffectScale, HitRadius, ProjectileChildEffectScale, AreaDamageDelay, ContinuousFire, WaitForEffectCompletion, TargetGround, IsDropped, WeaponTypeTag, WeaponTypeSoundOverrideTag)
    								VALUES('ART_DEF_UNIT_MEMBER_MOTORIZED_MEDIC',0,0,'',25,50,NULL,NULL,NULL,'ART_DEF_VEFFECT_TANK_IMPACT_$(TERRAIN)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'EXPLOSIVE','EXPLOSION6POUND');
    INSERT INTO ArtDefine_UnitMemberCombatWeapons (UnitMemberType, "Index", SubIndex,	ID, VisKillStrengthMin, VisKillStrengthMax, ProjectileSpeed, ProjectileTurnRateMin, ProjectileTurnRateMax, HitEffect, HitEffectScale, HitRadius, ProjectileChildEffectScale, AreaDamageDelay, ContinuousFire, WaitForEffectCompletion, TargetGround, IsDropped, WeaponTypeTag, WeaponTypeSoundOverrideTag)
    
    
    By the way I could use your medic icon. looks fine :)
     
  9. Moriboe

    Moriboe King

    Joined:
    Nov 30, 2010
    Messages:
    659
    Location:
    Belgium
    Hm I'm getting the same effect with your sql. Will look further.

    And use my icon by all means!
     
  10. Hulfgar

    Hulfgar Emperor

    Joined:
    Mar 31, 2008
    Messages:
    1,797
    Gender:
    Male
    Location:
    France
    hello Moriboe, are all the vfs properties of files for the truck set to true ?
     
  11. Moriboe

    Moriboe King

    Joined:
    Nov 30, 2010
    Messages:
    659
    Location:
    Belgium
    Yes. I thought maybe it has to do with it being civilian in my case, but that makes no difference also. Strange, I haven't had problems before with importing unit graphics.
     
  12. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    8,664
    Location:
    France
  13. Moriboe

    Moriboe King

    Joined:
    Nov 30, 2010
    Messages:
    659
    Location:
    Belgium
    Yes, that did the trick!

    Merci à vous deux pour l'aide rapide :)
     

Share This Page