Posted: Tue Apr 02, 2013 11:37 am Post subject:
Unit destruction causing IE TS
This unit causes an IE when destroyed and the reason why leaves me clueless. I have several other units with the same explosion anim that do not cause an IE when destroyed so I assume it can't be the anim. Tiberian Sun comes up with an IE in the second where it should blow up. The prerequisite is wrong on purpose to deny it from being built.
[6TNK]
Name=Megiddo Tank
Category=AFV
TargetLaser=no
Primary=120mmx3b
Secondary=MammothTusk2
Strength=950
CrateGoodie=no
Owner=GDI
Armor=heavy
Turret=yes
Sight=5
Speed=6
Cost=1200
Points=15
ROT=4
Crusher=yes
SelfHealing=yes
Crewed=yes
TechLevel=1
Explosion=EXPLMAS
VoiceSelect=70-N004
VoiceMove=70-N008,67-N108
VoiceAttack=70-N016,23-I022
VoiceFeedback=70-N002,70-N018
MaxDebris=9
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
TiltsWhenCrushes=true
Weight=3.5
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=12
ToProtect=yes
Image=6TNK
EliteAbilities=FASTER,STRONGER,FIREPOWER,ROF,SIGHT,TIBERIUM_PROOF,VEIN_PROOF,SELF_HEAL,EXPLODES,RADAR_INVISIBLE,SENSORS,FEARLESS,TIBERIUM_HEAL
VeteranAbilities=SELF_HEAL
AllowedToStartInMultiplayer=no
Explodes=yes
Nominal=yes
ToProtect=yes
BuildLimit=1
Prerequisite=CTDAM
DebrisTypes=PIECE
You shouldn't write the code that sloppy.
ToProtect is twice
TiltsWhenCrushes is by default true, so not necessary to add
Image=6TNK is not necessary as the ID is the same
EliteAbilities= is exaggerated and maybe even too long for the game to read them all
TIBERIUM_PROOF is useless, vehicles are that by default
EXPLODES is useless as you have already the Explodes=yes key
FEARLESS is useless, this is a vehicle and not an infantry
SELF_HEAL is useless, you have already the SelfHealing=yes key. Having it on the VeteranAbility for the third time is useless too
show the code for EXPLMAS
Do you changed/removed the PIECE voxeldebris?
Are the warheads of the weapons correctly listed in the [Warheads] list? The warhead is used when a unit explodes with Explodes=yes and if there is something wrong with it -> IE. _________________ SHP Artist of Twisted Insurrection: Nod buildings
now taking a look at the warheads. Did not change anything with the voxeldebris. Neither the voxels nor the code of it so its untouched TS code.
Weapon warhead is AP which is listed.
[AP]
Spread=3
Wall=yes
Wood=yes
Verses=35%,25%,100%,85%,60%
Conventional=yes
InfDeath=3
AnimList=apocexp
ProneDamage=50% _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
I can't tell what's causing it when looking at the current code, so the only thing I can think of is what LKO already mentioned; did you remove the PIECE voxel debris or modify it in any way? _________________ QUICK_EDIT
Since you mentioned that you're already using Explosion=EXPLMAS on another unit without any problems, try completely replacing 6TNK's with the code of that unit and see if the crash still happens (it most likely won't). If it doesn't, start replacing the 6TNK's code with its original code and only replace a few keys at a time while testing it ingame every time until the IE happens again; this way you should be able to pinpoint exactly what's causing the IE. _________________ QUICK_EDIT
Will do _________________ Free Tibed!
EA for worst company of the decade! Last edited by OrangeNero on Thu Apr 04, 2013 5:40 pm; edited 1 time in total QUICK_EDIT
except.txt _________________ Free Tibed!
EA for worst company of the decade! Last edited by OrangeNero on Thu Apr 04, 2013 5:41 pm; edited 1 time in total QUICK_EDIT
solution: start from scratch without using that crap editor.
\EDIT
i quickly looked over rules.ini and it has so many bugs, bad ordered code, separated keys all caused by that TibEd, that it's really a waste of time to find and fix them all.
e.g.
Code:
[REPAIR]
Category=Support
Prerequisite=NODFACTORY,2 upgrade post N
Primary=RepairBullet
look how totally messed up that Prerequisite key is.
And there are tons of these stupid things, which all together make it impossible to predict their impacts of the game stability.
Code:
[RPGTower]
Report=doom rocket noexpl
Code:
[BikeMissile]
Warhead=AP screamer
space character in IDs? simply and totally wrong
and this ladies and gentlemen is why you should never use TibEd
directly copied from rules.ini
Code:
[MLRS]
; Clone of Invisible
[MLRS]
; Clone of Invisible
AllowedToStartInMultiplayer=no
Name=NOO
[MLRS]
; Clone of Invisible
AllowedToStartInMultiplayer=no
[MLRS]
; Clone of Invisible
[Invisible4shtgn]
Inviso=yes
Image=none
Looks like the debris type doesn't exist. The game tries to generate debris, but there aren't any.
Either add a valid debris type or set MaxDebris=0.
Wow thx. Hah that did it. I removed the debris entries in the code and the IE is gone. _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
It's only a temporary fix. PIECE is there, but due to the many other bugs in the ini, it isn't used correct.
It's just a matter of time until you get your next IE. _________________ SHP Artist of Twisted Insurrection: Nod buildings
It's only a temporary fix. PIECE is there, but due to the many other bugs in the ini, it isn't used correct.
It's just a matter of time until you get your next IE.
Yes which is why I limit any new additions as much as possible. The mod is nearly finished tough. At least the amount of content is. Just need to balance it out and do the AI and a couple of small things really. _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
and this ladies and gentlemen is why you should never use TibEd
Actually that only happens if you mess with TibEd setings, everything is fine and only the edited thing's get changed if you don't touch at lest one option in the settings. _________________ Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite QUICK_EDIT
Now interesting would be what exactly about debris messed up.
I'll look later today into if it was
-missing of DebrisMaximums=x
-PIECE which it can't be since other units have Piece as well.
-The high number of 9 which others unit also have without problems. _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
Now interesting would be what exactly about debris messed up.
I'll look later today into if it was
-missing of DebrisMaximums=x
-PIECE which it can't be since other units have Piece as well.
-The high number of 9 which others unit also have without problems.
Start from scratch, even art.ini looks like it's messed up.
When launching TibEd click preferences make sure everything under File format is unchecked, those are the options that mess up the ini's
Also never minimize TibEd that can screw up the ini's as well _________________ Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite QUICK_EDIT
No starting from scratch and no abandoning tibed. I have to be aware of both my mod and myself. These are not an option. Its either proceed as long as it works or the end.
That File Format stuff is unchecked by default and still is. Thx for the tip.
Do not judge Tibed from my inis. Most of the errors are caused by me. From being tired, sloppy, inexperienced I made a whole bunch of mistakes. From time saving I didn't redo stuff like the space characters or deleting the MLRS because so far stuff is working out.
The mod has to be stable on release day. Now that this IE is fixed it pretty much is. Not much to do from now on. Balance, AI, INI clean up, few anim and sound additions. Thats all.
I'll keep to it, Tibed has made this mod possible and furthermore makes it possible for noobs who pick the mod up from moddb to mod it to their desire. Simple mods yes but mods. With the modular design of the mix files they can alter the terrain and fog and unit look. With the tib file they can change basic values like strength and cost and the more experienced they are the more they change.
I'd welcome it if editors wouldn't be doomed to death by the community and instead worked on. Tibed as of now is of great comfort. A polished tibed would be even more. That said I'd doubt that experienced senior modders will and would find a use in it. _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
The mod has to be stable on release day. Now that this IE is fixed it pretty much is. Not much to do from now on. Balance, AI, INI clean up, few anim and sound additions. Thats all.
A house with a shiny flawless facade is still not stable if the core is rotten.
And how do you want to clean up the ini, if the tool that you use is causing the mess? _________________ SHP Artist of Twisted Insurrection: Nod buildings
A house with a shiny flawless facade is still not stable if the core is rotten.
And how do you want to clean up the ini, if the tool that you use is causing the mess?
Couldn't say many AAA titles including BF3 which refused to work stable for months live up to our expectation. You're a fair, but harsh judge. I considered advertising my mod as AAA worthy after some newly bought games crashed upon me once too often.
With a ztyping notepad ofc. Or a polished Tibed if that comes out in time. _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
Prerequisite not found: InfantryTypes.E2.post
Prerequisite not found: InfantryTypes.MEDIC.post
Prerequisite not found: InfantryTypes.JUMPJET.post
Prerequisite not found: InfantryTypes.UMAGON.post
Prerequisite not found: InfantryTypes.GHOST.post
Prerequisite not found: InfantryTypes.CHAMSPY.
Prerequisite not found: InfantryTypes.CYBORG.N
Prerequisite not found: InfantryTypes.ELCAD.N
Prerequisite not found: InfantryTypes.MutantSergeantGDI.post
Prerequisite not found: InfantryTypes.MutantMilitia.post
Prerequisite not found: InfantryTypes.APsniper2.post
Prerequisite not found: InfantryTypes.Ghost Sniper.N
Prerequisite not found: InfantryTypes.CyborgLazer.N
Prerequisite not found: InfantryTypes.GSPECIAL.post
Prerequisite not found: InfantryTypes.NODSHOT.N
Prerequisite not found: VehicleTypes.APC.GDIFACTORY
Prerequisite not found: VehicleTypes.4TNK.post
Prerequisite not found: VehicleTypes.MMCH.post
Prerequisite not found: VehicleTypes.BIKE.NODFACTORY
Prerequisite not found: VehicleTypes.SAPC.N
Prerequisite not found: VehicleTypes.SONIC.post
Prerequisite not found: VehicleTypes.STNK.NODFACTORY
Prerequisite not found: VehicleTypes.ART2.N
Prerequisite not found: VehicleTypes.TTNK.N
Prerequisite not found: VehicleTypes.HMEC.post
Prerequisite not found: VehicleTypes.SMECH.GDIFACTORY
Prerequisite not found: VehicleTypes.HVR.post
Prerequisite not found: VehicleTypes.SUBTANK.N
Prerequisite not found: VehicleTypes.BGGY.NODFACTORY
Prerequisite not found: VehicleTypes.WEED.NODFACTORY
Prerequisite not found: VehicleTypes.JUGG.post
Prerequisite not found: VehicleTypes.SGEN.N
Prerequisite not found: VehicleTypes.MOBWARG.post
Prerequisite not found: VehicleTypes.MOBWARN.N
Prerequisite not found: VehicleTypes.FLMTNK.NODFACTORY
Prerequisite not found: VehicleTypes.DEFENDER.post
Prerequisite not found: VehicleTypes.M113.post
Prerequisite not found: VehicleTypes.TUNG.GDIFACTORY
Prerequisite not found: VehicleTypes.HEVYTNK1.Pyramid2
Prerequisite not found: VehicleTypes.REDE.Core2nod
Prerequisite not found: VehicleTypes.BHAWKG.GDIFACTORY
Prerequisite not found: VehicleTypes.CYBOTNK.Core2nod
Prerequisite not found: VehicleTypes.AMLN.NODFACTORY
Prerequisite not found: VehicleTypes.ONTOS.NODFACTORY
Section not found: VehicleTypes.REAPER
Prerequisite not found: AircraftTypes.DPOD.afld
Prerequisite not found: AircraftTypes.TRNSPORT.post
Prerequisite not found: AircraftTypes.MONODUMMYY2.N
Prerequisite not found: AircraftTypes.SHROUDBOMBER.post
Prerequisite not found: AircraftTypes.nodhbcarryall.N
Prerequisite not found: BuildingTypes.GAPLUG.post
Prerequisite not found: BuildingTypes.GAFIRE.post
Prerequisite not found: BuildingTypes.GATECH.post
Prerequisite not found: BuildingTypes.NATECH.N
Prerequisite not found: BuildingTypes.NAAPWR.N
Prerequisite not found: BuildingTypes.GAWALL.post
Prerequisite not found: BuildingTypes.NASTLH.N
Prerequisite not found: BuildingTypes.NAWALL.N
Prerequisite not found: BuildingTypes.NATMPL.N
Prerequisite not found: BuildingTypes.NAWAST.N
Prerequisite not found: BuildingTypes.NAOBEL.N
Prerequisite not found: BuildingTypes.NAMISL.N
Prerequisite not found: BuildingTypes.GAPOWRUP.post
Prerequisite not found: BuildingTypes.NAPOST.N
Prerequisite not found: BuildingTypes.NASAM.N
Prerequisite not found: BuildingTypes.GAPLUG1.post
Prerequisite not found: BuildingTypes.GAPLUG2.post
Prerequisite not found: BuildingTypes.GAPLUG3.post
Prerequisite not found: BuildingTypes.GACSAM.post
Prerequisite not found: BuildingTypes.GAPLUG4.post
Prerequisite not found: BuildingTypes.GDIAdvguard.post
Prerequisite not found: BuildingTypes.GDIAdvguard.post
Section not found: BuildingTypes.Vega2Pyramid
Section not found: BuildingTypes.MutantHQ
Prerequisite not found: BuildingTypes.NOD Pyramid2.N
Prerequisite not found: BuildingTypes.MutantHQ2.post
Prerequisite not found: BuildingTypes.GDI Armory.post
Prerequisite not found: BuildingTypes.Cabal Core2nod.N
Prerequisite not found: BuildingTypes.CABAL Obelisk2.N
Prerequisite not found: BuildingTypes.Obelisk of Darkness2.N
Prerequisite not found: BuildingTypes.GDIAdvguard2.post
Prerequisite not found: BuildingTypes.GDIAdvguard3.post
Prerequisite not found: BuildingTypes.GDIAdvguard4.post
Prerequisite not found: BuildingTypes.GDIAdvguard5.post
Prerequisite not found: BuildingTypes.2 upgrade post.post
Prerequisite not found: BuildingTypes.2 upgrade post N.N
Prerequisite not found: BuildingTypes.3 upgrade post.post
Prerequisite not found: BuildingTypes.3 upgrade post N.N
Prerequisite not found: BuildingTypes.4 upgrade post.post
Prerequisite not found: BuildingTypes.4 upgrade post N.N
Prerequisite not found: BuildingTypes.Laser Fence webtur.N
Section not found: BuildingTypes.MABNKR
Prerequisite not found: BuildingTypes.RPG.post
Section not found: Warheads.CoreDefPlasmaWH
Section not found: Warheads.WeakGass
Section not found: Warheads.WAR001
Section not found: Warheads.EMPshard
Section not found: Warheads.shardEMP
Section not found: Warheads.Shard2EMP2
Section not found: Warheads.SAadvguard
Section not found: Warheads.AntiMaterialW
Section not found: Particles.WeakGasCloudM2
Animation not found: Animations.GAWEAP_1
Animation not found: Animations.GAWEAP_2
Animation not found: Animations.GAWEAP_D
Animation not found: Animations.GAWEAP_1
Animation not found: Animations.GAWEAP_2
Animation not found: Animations.GACNSTMK
Animation not found: Animations.NATMPLMK
Animation not found: Animations.GAFIRE_A
Animation not found: Animations.GADPSAMK
Animation not found: Animations.GATICK_A
Animation not found: Animations.GATICKMK
Animation not found: Animations.GAICBMMK
Animation not found: Animations.PULSE
Animation not found: Animations.MWAR_1
Animation not found: Animations.MWAR_2
Animation not found: Animations.MWAR_D
Animation not found: Animations.MWARMK
Animation not found: Animations.DJUGG_A
Animation not found: Animations.DJUGGMK
Animation not found: Animations.MSTLMK
Animation not found: Animations.DEFDMK
Sound definition not found: SoundList.SHOT4SOUND
Sound definition not found: SoundList.BOOP
It seems to look far worse than it actually is since stuff like:
Prerequisite not found: InfantryTypes.ELCAD.N
isn't a problem in the game. Prerequisite for ELCAD work out perfectly fine.
All the stuff that isn't a false prerequisite error are scrapped assets, SHOT4SOUND is nothing.
ok ok I see where this is going. I'll upload a intrernal version of my mod to moddb. If someone is curious whether stuff is working or not you can then take a look into the game. _________________ Free Tibed!
EA for worst company of the decade! Last edited by OrangeNero on Tue Apr 02, 2013 3:58 pm; edited 1 time in total 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