WW2 Truck: Deuce and a Half

snafusmith

Unit Maker
Joined
Nov 1, 2005
Messages
1,549
Location
I've been everywhere, man
Thе GMC CCKW is a 2.5 ton 6X6 U.S. Army cargo truck that saw service in World War II and the Korean War, often referred to as a "Deuce and a Half" or "Jimmy". The CCKW came in many variants, based on the open or closed cab, and Long Wheel Base (LWB 353) or Short Wheel Base (SWB 352).
- 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
 
I was missing Mechanized Infantries :goodjob:
 
Smitty :worship:

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

Unfortunately ingame the unit looks like this for me:

attachment.php


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);
 

Attachments

  • medic.jpg
    medic.jpg
    38.8 KB · Views: 829
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 :)
 
Hm I'm getting the same effect with your sql. Will look further.

And use my icon by all means!
 
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.
 
Back
Top Bottom