Jump to content
Sign in to follow this  
ugkrut

HELP I HATE ERRORS!!!!!!!!!!!!!!!!!!!!!!!!

Recommended Posts

:cry: Please take the time to read this. You may notifie me of a question and i will atempt to answer to the best of my abillity (although i might not know the anwer) I converted an attack dog into a shotgun trooper and when i build the shotgun trooper it say red alert 2 has encountered an internal error.

this is my .ini info

 

; Attack dog

[ADOG]

UIName=Name:DOG

Name=Shotgun Trooper

NotHuman=no

Image=SHOTGUN

Category=Soldier

Primary=Pump Shotgun

Prerequisite=GAPILE

LeadershipRating=7

CrushSound=InfantrySquish

Strength=150

Armor=flak

;ReselectIfLimboed=yes ; If selected when limbo and attacking infantry, reseect when unlimbo

;RejoinTeamIfLimboed=yes ; If in a team when limbo shooting infantry, write it down and try to rejoin when unlimbo

TechLevel=2

Pip=white

Sight=9

;DetectDisguise=yes

Speed=5

Owner=British,French,Germans,Americans,Alliance

;ForbiddenHouses=Russians,Confederation,Africans,Arabs

Cost=200

Soylent=50

Points=10

IsSelectableCombatant=yes

VoiceSelect=DogSelect

VoiceMove=DogMove

VoiceAttack=DogAttackCommand

VoiceFeedback=DogFear

VoiceSpecialAttack=DogMove

DieSound=DogDie

Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}

PhysicalSize=1

MovementZone=Infantry

;MovementZone=InfantryDestroyer ;GEF wow!!! copy paste bug from the original Disk Thrower!

ThreatPosed=20 ; This value MUST be 0 for all building addons

ImmuneToRadiation=no

Bombable=yes

AllowedToStartInMultiplayer=no

Size=1

VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER,SCATTER

EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF

;ImmuneToPsionics=yes

IFVMode=2

Trainable=yes

 

 

[Pump Shotgun]

IsRailgun=true

Report=CivAttack

Projectile=InvisibleLow

Range=3.3

ROF=30

Speed=100

 

[Pump ShotgunE]

IsRailgun=true

Report=CivAttack

Projectile=InvisibleLow

Range=3.6

ROF=25

Speed=100

 

[sHOTGUN]

Sequence=SHOTGUNS

Cameo=SGICON

AltCameo=SGAICON

Crawls=yes

Remapable=yes

FireUp=2

PrimaryFireFLH=100,-25,135

SecondaryFireFLH=100,-25,135

 

[sHOTGUNS]

Ready=0,1,1

Guard=0,1,1

Prone=86,1,6

Walk=8,6,6

FireUp=164,6,6

Down=260,2,2

Crawl=86,6,6

Up=276,2,2

FireProne=212,6,6

Idle1=56,15,0,S

Idle2=71,15,0,E

Die1=134,15,0

Die2=149,15,0

Die3=0,1,1

Die4=0,1,1

Die5=0,1,1

Cheer=56,15,0,S

Paradrop=0,1,0

Panic=8,6,6

 

My .shp was created by ArgCmdr and i downloaded it from yrarg.cncguild.net i created the cameos

 

please reply :cry: :cry: :cry: :cry: :cry: :wink:

Share this post


Link to post

Why did you change a dog of all things?!

 

Return the dog to default and create an actual new unit instead of changing a dog.

 

Oh, and I believe the problem is you telling it to be a railgun. There aren't any railguns in Red Alert 2 or Yuri's Revenge. In fact, I don't think they put the logic for railguns in the games.

Share this post


Link to post

It can't be a railgun without calling the proper particle system. You can have spread damage, it just goes on the warhead.

 

Also, NEVER use spaces in INI entries. It's better if you keep it as one long string of text.

Share this post


Link to post

and remove all that ;--- crap... you don't need them and it is a waste of space....

Share this post


Link to post

Add... AttachedParticleSystem=SmallRailgunSys ; or LargeRailgunSys to the weapon's stats. You can make up your own particle system if need be but the railgun logic takes a huge strain on the PC. Becareful on what you use. Lower the MaxEC tag in the RailgunParts section for better performance.

Share this post


Link to post

i did the dog because i don't want it in my mod and what crap

Share this post


Link to post

lol... or you can just make a new unit, and make it unbuildible by 3 ways... obsolete the whole coding by using ";", remove it from the types list or move it higher than 100 in the types list, or change the tech level to less than or equal to 0 or greater than or equal to 11...

Share this post


Link to post

Dude, make it real easy by removing it from the proper list.

 

There are only 12 valid tech level settings. -1 and 1 to 11.

Share this post


Link to post

eh? i thought you can just make it so that it is not from 1-10... i prefer changing to -1 so that i don't have to work with the types list...

Share this post


Link to post

ahh.... wouldn't it be easier to make the tech setting a range then setting individually?

Share this post


Link to post

Indiviual is easier to set for each valid number. Ranges require more compex coding and what they have now is just perfect.

Share this post


Link to post

ok i continue to have problems if i create the SGT (Shotgun Trooper) as a new unit then it will not show up the tab bar and if i modifie an old unit TO create it, it says error when i click on it on the sidebar cameo please help!!

 

Here is my new ini info!!

 

UIName=Name:SHOTGUN

Name=Shotgun Soldier

Image=SHOTGUN

Category=Soldier

Primary=PumpShotgun

Prerequisite=GAPILE

CrushSound=InfantrySquish

Strength=125

Pip=white

Armor=Flak

TechLevel=1

Sight=5

Speed=4

Owner=British,French,Germans,Americans,Alliance

Cost=150

Soylent=100

Points=10

IsSelectableCombatant=yes

VoiceSelect=GISelect

VoiceMove=GIMove

VoiceAttack=GIAttackCommand

VoiceFeedback=GIFear

VoiceSpecialAttack=GIMove

DieSound=GIDie

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,ROF,SIGHT,FASTER

EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF

Size=1

Crushable=yes

ElitePrimary=PumpShotgunE

IFVMode=2

 

 

 

[PumpShotgun]

Report=CivAttack

Projectile=InvisibleLow

Range=3.3

Damage=50

ROF=30

Speed=100

 

[PumpShotgunE]

Report=CivAttack

Projectile=InvisibleLow

Range=3.6

Damage=60

ROF=25

Speed=100

 

 

[sHOTGUN]

Sequence=SHOTGUNS

Cameo=SGICON

AltCameo=SGAICON

Crawls=yes

Remapable=yes

FireUp=2

PrimaryFireFLH=100,-25,135

SecondaryFireFLH=100,-25,135

 

[sHOTGUNS]

Ready=0,1,1

Guard=0,1,1

Prone=86,1,6

Walk=8,6,6

FireUp=164,6,6

Down=260,2,2

Crawl=86,6,6

Up=276,2,2

FireProne=212,6,6

Idle1=56,15,0,S

Idle2=71,15,0,E

Die1=134,15,0

Die2=149,15,0

Die3=0,1,1

Die4=0,1,1

Die5=0,1,1

Cheer=56,15,0,S

Paradrop=0,1,0

Panic=8,6,6

 

I have the shotgun trooper by ArgCmdr from http://www.yrarg.cncguild.net/

and the cameos are created by me (Ugkrut)

Sequence is the same as Vladamir

Along with the art i believe the art is the same as vladamir but do not count on it. (ALTHOUGH I KNOW FOR A FACT THAT THE SEQUENCE IS BASED ON VLADAMIR)

Share this post


Link to post

change...

 

[sHOTGUN]

Sequence=E1Sequence ;since vladamir uses it as well.

 

and the IE is caused by the simple fact there is no warhead for the weapon.

Share this post


Link to post

thanks so much stinger i am so stupid i guess i just forgot to add a warhead.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×