Jump to content


Photo

Infantry isn't showing up a.k.a It's invisible


  • Please log in to reply
4 replies to this topic

#1 ViralHatred

ViralHatred
  • Members
  • 18 posts

Posted 23 April 2008 - 05:22 PM

Infantry isn't showing up a.k.a It's invisible

I can build it, and from what I can tell the coding should be right, help would be appreciated:

Using the ranger from here: http://www.ddmods.sa...2/infantry1.php


; RM ; British Royal Marine[RM]UIName=Name:RMName=Royal MarineCategory=SoldierPrimary=SA80Secondary=L85A2Occupier=yes ; I can Occupy UC buildingsOccupyWeapon=UCL85A2; The weapon I use while Occupying.  Defaults to 0 (Primary)EliteOccupyWeapon=UCEliteL85A2; The weapon I use while Occupying.  Defaults to 0 (Primary)OpenTransportWeapon=1;defaults to -1 (decide normally)  What weapon should I use in a Battle FortressPrerequisite=GAPILECrushSound=InfantrySquishStrength=150Pip=whiteOccupyPip=PersonBlueArmor=noneTechLevel=1Sight=6Speed=4Owner=British,French,Germans,Americans,AllianceRequiredHouses=BritishCost=250Soylent=100Points=10IsSelectableCombatant=yesVoiceSelect=GISelectVoiceMove=GIMoveVoiceAttack=GIAttackCommandVoiceFeedback=GIFearVoiceSpecialAttack=GIMoveDieSound=GIDieLocomotor={4A582744-9839-11d1-B709-00A024DDAFD1}PhysicalSize=1MovementZone=InfantryThreatPosed=10	; This value MUST be 0 for all building addonsImmuneToVeins=yesImmuneToPsionics=noBombable=yesDeployer=yesDeployFire=yes; DeployTime=.022  ; PCG; Unused for now.  Was maybe going to make its way in if we did; a more explicit state machine for deploying b/c of autodeploy.VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTEREliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROFSize=1Crushable=yesDeploySound=GIDeployUndeploySound=GIUndeployElitePrimary=SA80EEliteSecondary=L85A2EIFVMode=2AlternateArcticArt=noAssaulter=yes

[RM] ; Royal MarineImage=RANGERCameo=GIICONSequence=RMSequenceCrawls=yesRemapable=yesFireUp=2PrimaryFireFLH=80,0,105SecondaryFireFLH=80,0,90

[RMSequence]Ready=0,1,1Guard=0,1,1Prone=86,1,6Walk=8,6,6FireUp=164,6,6Down=260,2,2Crawl=86,6,6Up=276,2,2FireProne=212,6,6Idle1=56,15,0,SIdle2=71,15,0,EDie1=134,15,0Die2=149,15,0Die3=0,1,1Die4=0,1,1Die5=0,1,1Deploy=300,15,0Deployed=292,1,1DeployedFire=315,6,6DeployedIdle=0,0,0Undeploy=276,2,2Paradrop=363,1,0Cheer=364,8,0,EPanic=8,6,6

What's wrong with it? :(

#2 patric20878

patric20878
  • Members
  • 39 posts

Posted 23 April 2008 - 05:29 PM

Does the cameo show up?
Check your ecache file again, check if ranger.shp is in it.

#3 ViralHatred

ViralHatred
  • Members
  • 18 posts

Posted 23 April 2008 - 06:08 PM

Ecache = Not using

Expandmd02.mix is what I'm using, My Arctic sniper, Arctic GI, Artic Flak and Con, A guard/sniper tower, Sonic Wave Tower and the Pre-Release Allied Barracks are all working fine.

It's just this one unit, I can see the muzzle flash too when I use it to force attack and it's selectable and plays sounds.

#4 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 23 April 2008 - 06:34 PM

I've assumed you've added RM to [InfantryTypes]

Don't use Image=RANGER on your artmd.ini cos it tries to find [RANGER] in artmd.ini and thus nothing.

either change [RM] to RANGER (its case sensitive in most cases) or use Image=RANGER on RM rules and then code which correctly points to

[RANGER]
Cameo=GIICON
Sequence=RMSequence
Crawls=yes
Remapable=yes
FireUp=2
PrimaryFireFLH=80,0,105
SecondaryFireFLH=80,0,90
Posted Image

#5 ViralHatred

ViralHatred
  • Members
  • 18 posts

Posted 23 April 2008 - 06:59 PM

It works now, thanks! I blame cockyness on my part for the mistakes.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users