RA2FREAK 0 Posted April 26, 2006 hey i have an infantry unit i want to put in the game, but it doesnt work..heres the coding i used.. Art.ini: [sSnipe] Cameo=SSNIPEICON Sequence=SSnipeSequence Crawls=yes Remapable=yes FireUp=5 PrimaryFireFLH=80,0,85s [sSnipeSequence] Ready=0,1,1 Guard=0,1,1 Walk=8,6,6 Panic=8,6,6 Idle1=56,14,0,SW Paradrop=4,1,0 Idle2=71,15,0 Crawl=86,6,6 Prone=0,1,1 Die1=134,6,0 Die2=140,6,0 Die3=0,1,1 Die4=0,1,1 Die5=0,1,1 Deploy=291,7,0 Deployed=283,1,1 DeployedFire=298,6,6 DeployedIdle=0,0,0 Undeploy=297,7,0 Fireup=146,6,6 Fireprone=252,6,6 Down=242,2,2 Up=259,2,2 Cheer=275,8,0 ;DeployedSounds= 0 Rules.ini: 46=SSNIPE ; Soviet Sniper [sSnipe] UIName=Name:SSNIPE Name=Soviet Sniper Category=Soldier Primary=AWP2 Secondary=AWP ;CanPassiveAquir=no ; Won't try to pick up own targets Prerequisite=NAHAND CrushSound=InfantrySquish Strength=125 Pip=red Armor=none TechLevel=3 Sight=9 Speed=4 Owner=Russians,Confederation,Africans,Arabs Cost=650 Soylent=150 Points=10 IsSelectableCombatant=yes VoiceSelect=SniperSelect VoiceMove=SniperMove VoiceAttack=SniperAttackCommand VoiceFeedback=SniperFear VoiceSpecialAttack=SniperMove DieSound=SniperDie Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1} PhysicalSize=1 MovementZone=Infantry ThreatPosed=10 ; This value MUST be 0 for all building addons ImmuneToVeins=yes ImmuneToPsionics=no Bombable=yes VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF Size=1 AllowedToStartInMultiplayer=yes ElitePrimary=AWPE PreventAttackMove=no IFVMode=5 UseOwnName=true Deployer=yes DeployFire=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. Crushable=yes DeployedCrushable=no DeploySound=GuardianGIDeploy UndeploySound=GIUndeploy PixelSelectionBracketDelta=-6;gs higher number draws lower. Pixel difference from normal for selection bracket [AWP2] Damage=125 ROF=150 Range=14 Projectile=InvisibleLow Speed=100 Report=SniperAttack Warhead=HollowPoint RevealOnFire=no ; Doesn't clear shroud when fired [AWP] Damage=125 ROF=150 Range=14 Projectile=InvisibleLow Speed=100 Report=SniperAttack Warhead=HollowPoint RevealOnFire=no ; Doesn't clear shroud when fired and i also have the shp in an ecache file which is correct right? Share this post Link to post
Ux2 0 Posted April 26, 2006 what do you mean by it dosint work? dose it not show up on the side bar? when you build it its invisable? or do you get an I.E.? Share this post Link to post
Doctor Destiny 41 Posted April 26, 2006 Did you add it to the [infantryTypes] list? Also, [sSNIPE] should be in caps. Always keep it consistent with Westwood. Share this post Link to post
RA2FREAK 0 Posted April 26, 2006 yea wut did u think the 46=SSNIPE was, and yes it is in capitals Share this post Link to post
Doctor Destiny 41 Posted April 26, 2006 Okay then... on your actual unit, make the sure the identifier is in caps. Share this post Link to post
(ha) crazy 0 Posted April 28, 2006 what's the diffrence between the awp and awp2? Share this post Link to post
RA2FREAK 0 Posted April 28, 2006 sorry i sent an old code, but btw i fixed the problem Share this post Link to post