View Full Version : Technical Difficulties
socialburn
02-24-2003, 03:00 AM
every time i edit weapons.ini and place it in the data/ini/object folder i get this error i have tried everything i can think of and see no reason i should be getting this
Wiebbe
02-24-2003, 07:01 AM
could you please post the changes you made here?
as i cant really see whats going on without knowing what in there ;)
just make sure you have all comment starting with ;
that all the weapons end with END,
and make sure that the things you changed are Valid, ie for Deathtype, dont put in: WOOD or something, that doesnt work,
check the ini research for the valid values for those and other ones.
socialburn
02-24-2003, 07:06 AM
this is what i added
;------------------------------------------------------------------------------
Weapon AuroraFireWallWeapon
PrimaryDamage = 100.0
PrimaryDamageRadius = 15.0
SecondaryDamage = 1.0
SecondaryDamageRadius = 10.0
AttackRange = 300.0 ; About the range from unit to start of fire.
DamageType = FLAME
DeathType = BURNED
WeaponSpeed = 600 ; dist/sec
WeaponRecoil = 0 ; angle to deflect the model when firing
ProjectileObject = RaptorJetMissileWeapon
FireFX = WeaponFX_DragonTankFlameWeapon
ProjectileDetonationFX = WeaponFX_DragonTankMissileDetonation
ProjectileDetonationOCL = OCL_FireWallSegment
FireSound = DragonTankWeaponLoop
FireSoundLoopTime = 80 ; loop the firing sound until there's this much delay between shots
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 40 ; time between shots, msec
ClipSize = 2 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 10 ; how long to reload a Clip, msec
End
Wiebbe
02-24-2003, 07:15 AM
to be honest, iam not sure if this could work,
youre adding a weapon that is contininous, and letting it have clips..
though the syntax is ok as far as i can see.
the best guess i have is the engine wont accept the clips for the fire.
socialburn
02-24-2003, 07:17 AM
but see it doesnt matter it happens even if i change a reload time it just comes up with errors
socialburn
02-24-2003, 07:18 AM
what im trying to do is give the aurora the napalm the migs have at the beginning of the first china mission
Wiebbe
02-24-2003, 07:18 AM
oh dammit..
the answe is in youre first post..
weapon.ini isnt in data/ini/object!
its in : data/ini!
talk about good reading :P
socialburn
02-24-2003, 07:20 AM
no no you have to put the weapons.ini file in data/ini/object for it to work in the folders that is
FatJoe
02-24-2003, 07:32 AM
I have my Weapons.ini file in Data/INI.. and it works perfectly.
socialburn
02-24-2003, 07:33 AM
mine just comes up with errors when i do the most simple editing
Wiebbe
02-24-2003, 09:10 AM
regardless of what you think about where to place it,
in the INI.BIG its in the DATA/INI Directory!
i just place mine in the data/ini directory and it works fine!
there are only 9 files in the Object directory and those are:
CivilianProp.ini, CivilianBuilding.ini, Civilianunit.ini, FactionProp.ini, FactionBuilding.ini, Factionunit.ini, system.ini, natureprop.ini and natureunit.ini.
Any other files in that directory wont work!
did you even try it in the INI directory? i mean this isn't working either..
socialburn
02-24-2003, 09:25 AM
yes i just tried it in data/ini and i get the same damn errors
Shadow
02-24-2003, 02:12 PM
what im trying to do is give the aurora the napalm the migs have at the beginning of the first china mission
My answer is copy'n'paste the MIG weapon, it's just their basic weapon
socialburn
02-24-2003, 07:06 PM
well i follows the tutorials on adding a new units and i keep getting errors i add all the right commandbutton.ini commandset.ini and the factionunit.ini correctly
Phoib
02-25-2003, 03:24 AM
then post all the code, and (double check) make sure that the weapon.ini is in Data/INI
AND NOWHERE ELSE!!! :mad:
SquaLdon
02-26-2003, 12:32 AM
A single typo can cause the error as well
I had this problem with changing the mig's second weapon from EXPLOSION to JET_MISSILES, I have this terrible habit of spelling missile as missle, and it crashed the game... Typo's are evil!!
Check and make sure everything is spelled correctly.
Powered by vBulletin® Version 4.1.8 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.