MagSul Posted November 30, 2011 Share Posted November 30, 2011 I thought that one of you wizards might be able to help me. Basically, I'm looking to increase the damage of some of the weapons in Jedi Academy. Popping into Assets1.pk3 and into the ext_data folder takes me to the location of the weapons.dat file. Below is a cut and paste from the weapons.dat // Weaponclass - weapon name// Weaponmodel - weapon model used in game// weaponicon - interface image// Ammotype - type of power weapon needs to fire// 0 - No power// 1 - Star Fleet power// 2 - Alien Crystal power// 3 - Phaser power// Ammolowcount - amount when "Low ammo" warning appears on screen// Flashcolor - color generate by weapon flash (R,G, B)// Firingsound - sound file used when _idling_!// altfiringsound - sound file used when alt-firing// flashsound - sound file used by flash// altflashsound - sound file used by an alt-fire flash// stopsound - sound file used when a firing sound stops// Firetime - amount of time between firings// altfireTime - for alt fire// Range - range of weapon// energyPerShot - amount of energy used per shot// altenergypershot- for alt fire// barrelcount - number of barrels the model has (weaponname_b?.md3)// missileModel - missile .md3// altmissileModel - alternate missile .md3// missileSound - played while flying// altmissileSound - alternate missile launch sound// missileLight - intensity of lightsource for missile - if 0.0 then none (float)// altmissileLight - alternate missile light// missileLightColor - color in three float style R, G, B (0.0 to 1.0) - NOTE - if you have a light, you MUST HAVE THESE// altmissileLightColor - alternate color in three float style R, G, B (0.0 to 1.0)// missileHitSound - played on impact// altmissileHitSound - for alt fire// missileFuncName - missile fly function// altmissileFuncName - for alt fire Somehow, I'm of the opinion that whatever works out how much damage is done by each weapon, it isn't in this file. Anyone know where I should be looking? Link to comment
MagSul Posted November 30, 2011 Author Share Posted November 30, 2011 But what tells Base JKA how much damage each weapon should be dealing? o_o Link to comment
MUG Posted November 30, 2011 Share Posted November 30, 2011 Everything uses weapons .dat, but that only lets you define ammo and other such properties. Damage and projectile speed is hard coded and cant be changed unless you happen to be a code wizard and want to make a new mod...I wonder if anyone knows a place where loads of coders who play jedi academy hang out >. > The only way I found of doing this was by running clanmod which has a ton of cvars that let you modify damage and projectile speed for each gun. Link to comment
MagSul Posted November 30, 2011 Author Share Posted November 30, 2011 Drat. :annoyed: Link to comment
Raz0r Posted December 1, 2011 Share Posted December 1, 2011 weapons.dat is only used by SP, and doesn't let you control the damage without a code mod (But we don't have the SP SDK)MP requires a code mod. Some code mods (Xmod etc) allow changing the damage and such through cvars. Caelum likes this Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now