Jump to content

Recommended Posts

HELP! srry me again but i have a big problem with a tank when i build it the game crash, why that happen? i do everything that i done before to add units but in this unit didn't work! i will post the rules and art here and the vxls file i have:

 

rulesmd:

 

[ABRM]

Image=ABRM

UIName=Name:ABRM

Name=Abrams Tank

Prerequisite=GAWEAP,GATECH

Primary=145mm

Secondary=AbramsLaser

Strength=540

Category=AFV

Armor=heavy

Turret=yes

IsTilter=yes

TargetLaser=yes

MinDebris=1;1

TooBigToFitUnderBridge=true

TechLevel=8

Sight=8

Speed=5

CrateGoodie=yes

SelfHealing=yes

Crusher=yes

Owner=Americans,Alliance,French,British,Greece,Germany

RequiredHouses=Americans

SecretHouses=Americans

Cost=1500

Soylent=750

Points=65

ROT=5

IsSelectableCombatant=yes

Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60

VoiceSelect=AbramsSelect

VoiceMove=AbramsMove

VoiceAttack=AbramsAttackCommand

VoiceSecondaryWeaponAttack=AbramsLaserAttack

VoiceFeedback=

DieSound=GenVehicleDie

MoveSound=AbramsMoveStart

CrushSound=TankCrush

MaxDebris=3

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

MovementZone=Destroyer

ThreatPosed=40

DamageParticleSystems=SparkSys,SmallGreySSys

DamageSmokeOffset=100, 100, 275

Weight=3.5

VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER

EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF

Accelerates=false

ZFudgeColumn=8

ZFudgeTunnel=13

Size=6

OpportunityFire=yes

PreventAttackMove=no

ElitePrimary=145mmE

EliteSecondary=AbramsLaserE

BuildTimeMultiplier=1.0

DamageSound=VehicleDamagedHeavy

Crewed=yes

AllowedToStartInMultiplayer=no

OmniCrushResistant=no

DeathWeapon=DefaultDeathWeapon

Explodes=yes

 

now the weapons and warhead coding

 

[145mm]

Damage=115

ROF=65

Range=6.75

Projectile=Cannon

Speed=45

Warhead=Abrams2WH

Report=GrandCannonAttack

Anim=GUNFIRE

 

[145mmE]

Damage=95

ROF=65

Range=6.75

Projectile=Cannon

Speed=45

Warhead=Abrams2WHE

Report=TankDestroyerAttack

Anim=VTMUZZLE

Bright=yes

Burst=2

 

[Abrams2WH]

CellSpread=.3

PercentAtMax=.5

Wall=yes

Wood=yes

Verses=0%,0%,0%,60%,90%,90%,110%,110%,75%,0%,100%

Conventional=yes

InfDeath=3

AnimList=APOCEXP

ProneDamage=50%

 

[Abrams2WHE]

CellSpread=.3

PercentAtMax=.5

Wall=yes

Wood=yes

Verses=0%,0%,0%,60%,90%,90%,110%,110%,75%,0%,100%

Conventional=yes

InfDeath=3

AnimList=VTEXPLOD

ProneDamage=50%

 

[AbramsWH]

Wall=no

InfDeath=5

Verses=100%,100%,100%,75%,65%,50%,0%,0%,0%,100%,0%

AnimList=XGRYSML1,XGRYSML2,EXPLOSML,XGRYMED1,XGRYMED2,EXPLOMED,EXPLOLRG,TWLT070

ImmunityType=Prism

 

[AbramsLaser]

Damage=30

ROF=20

Range=6

Projectile=Invisible

Speed=100

Report=PantherLaser

Warhead=AbramsWH

Bright=yes

IsHouseColor=false

LaserInnerColor=255,0,0

LaserOuterColor=200,0,0

LaserDuration = 15

IsLaser=true

IsBigLaser=false

Burst=2

 

[PantherLaser]

Damage=50

ROF=20

Range=5

Projectile=InvisibleAll

Speed=100

Report=PantherLaser

Warhead=AbramsWH

Bright=yes

IsHouseColor=false

LaserInnerColor=255,255,255

LaserOuterColor=255,0,0

LaserOuterSpread= 0,0,0

LaserDuration = 15

IsLaser=true

IsBigLaser=false

Burst=1

 

[AbramsLaserE]

Damage=30

ROF=20

Range=6

Projectile=Invisible

Speed=100

Report=PantherLaser

Warhead=AbramsWH

Bright=yes

IsHouseColor=false

LaserInnerColor=255,0,0

LaserOuterColor=200,0,0

LaserDuration = 15

IsBigLaser=false

IsLaser=true

Burst=4

 

 

art ini:

 

 

[ABRM]

Voxel=yes

Remapable=yes

Cameo=ABRMICON

PrimaryFireFLH=240,0,130

DemandLoad=true

SecondaryFireFLH=55,75,95

 

and the vxls files:

abrm

abrmtur

abrmbarl

 

and the cameo:

abrmicon

abrmuico.

 

srry for the large post but where is the problem here?

Edited by nightmare293

Share this post


Link to post

Post the except. I'm pretty sure it's to do with a weapon or warhead but I'm not 100 percent since the code looks good.

 

The only thing though is the HVAs for each voxel piece. Those _are_ necessary.

Share this post


Link to post
Post the except. I'm pretty sure it's to do with a weapon or warhead but I'm not 100 percent since the code looks good.

 

The only thing though is the HVAs for each voxel piece. Those _are_ necessary.

 

yes i was missing a hva file thx, i added u to msn i hope that doesnt bother u right?

Share this post


Link to post
No... not a problem. I've had a lot of people add me.

 

i have a little probbelm this is a noobish question but what is the max buildings that can u add?

Share this post


Link to post

I'm not aware of any limits at this point. Vehicles, infantry and presumably aircraft is 100 though.

Share this post


Link to post
Vehicles, infantry and presumably aircraft is 100 though.

What? They have limits? I did not know that... never got close to having 100, but what do they have limits for?

Share this post


Link to post

I'm not sure how the limit was put into place but it's all in the coding. If you put your vehicles up high enough - I think the real value is 102 - the AI goes ape**** and only builds that unit, regardless of side, and does nothing else. You can get around that by putting all of the unbuildable, non-player units at 100 and above.

Share this post


Link to post
I'm not sure how the limit was put into place but it's all in the coding. If you put your vehicles up high enough - I think the real value is 102 - the AI goes ape**** and only builds that unit, regardless of side, and does nothing else. You can get around that by putting all of the unbuildable, non-player units at 100 and above.

 

i reach 498 buildings if i add one more it doesnt appear the limit for buildings is 498 i reached that point because there will be some buildings only playable on campaing and not on skirmish, lan or online games. and for units only 102 but who can reach that?

Share this post


Link to post
i reach 498 buildings if i add one more it doesnt appear the limit for buildings is 498 i reached that point because there will be some buildings only playable on campaing and not on skirmish, lan or online games. and for units only 102 but who can reach that?

 

many people who mod have found they can go over. I've been past 150 myself.

 

 

[ABRM]

DeathWeapon=DefaultDeathWeapon

 

this was the only thing I could wonder about since the code was not posted. But it shouldnt be an issue until the unit blows up.

Share this post


Link to post
and for units only 102 but who can reach that?

I have. It's not that hard, especially since I'm working on a ZH-themed YR mod. So many UNITS.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×