Posted: Fri Aug 07, 2009 3:40 pm Post subject:
IE trouble please help.
i just finish laser trooper and now in testing but i get IE every time i send him fight with pillbox. i try to check on weapon/graphic code but i cant found any problem i dont think this problem curse by Npatch because it's just infantry with laser gun non of special logic.
90% of the time when the game IE's when trying to attack something it's in the weapon code. Can you post the code so we can take a look at it. QUICK_EDIT
here you are, only NP logic i use is laser size and many unit in my mod use laser with this logic but look like only this unit get problem.
; Weapon
[TrooperLaser]
Damage=20
ROF=20
Range=6.25
Speed=100
Warhead=SuperINF
IsHouseColor=true
Report=lastur1
LaserInnerColor = 255,0,0
LaserOuterColor = 0,0,0
LaserOuterSpread= 20,40,40
Anim=GUNFIRE_N,GUNFIRE_NE,GUNFIRE_E,GUNFIRE_SE,GUNFIRE_S,GUNFIRE_SW,GUNFIRE_W,GUNFIRE_NW ;IRONFX
LaserDuration = 15
Projectile=LLine
IsBigLaser=true
IsLaser=true ; this flag tells the game to use the special laser draw effect
Charges=yes
; Warhead
[SuperINF]
Verses=200%,125%,100%,100%,75%,50%,75%,50%,30%,75%,100%
Tiberium=yes
ProneDamage=100%
Sparky=yes
InfDeath=2
PenetratesBunker=yes;If shot at a bunkered tank, no means the bunker gets the damage, yes means the unit does
AnimList=XGRYSML1,XGRYSML2,EXPLOSML,XGRYMED1,XGRYMED2,EXPLOMED,EXPLOLRG,TWLT070 QUICK_EDIT
well I tested your weapon on a few different infantry and worked fine, code looks good also, so it must be in the Art code of your infantry. if ya dont mind can ya post the rules and art entires also? QUICK_EDIT
Never would have figured this one through the except anyway. The NPatch mangled it to all hell. The last good EIP register was in calling a warhead with CellInset. >_> QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum