PDA

View Full Version : Weapon editing


Skitso
August 30th, 2004, 03:51 PM
How can I change weapon statistics (rate of fire, damage, clip size...) in Doomsday? Thanks!

Zach Keene
August 30th, 2004, 06:34 PM
Weapon damage is pretty much hard-coded, although you can adjust the damage of missile attacks slightly with DED editing. (See Objects.ded for example.)

By clip size I assume you mean the amount of ammo given per clip? In jDoom this is controlled by Values.ded, and in jHeretic this is determined by the "Spawn Health" parameter for each ammo object (again check jHeretic's Objects.ded for examples.)

See also the Wiki page (http://deng.sourceforge.net/cgi-bin/view/Editing/WebHome) on DED editing.

Skitso
August 31st, 2004, 12:08 AM
Actually with clip size I ment maximum amount of bullets player is capable of carrying... and what about rate of fire? In deathmatch, I've noticed that plasma rifle would be much more balanced weapon if it's rate of fire would be slightly slower.

Zach Keene
August 31st, 2004, 12:45 AM
Actually with clip size I ment maximum amount of bullets player is capable of carrying...

Ah. Fiddling with Values.ded should take care of that as well.

and what about rate of fire? In deathmatch, I've noticed that plasma rifle would be much more balanced weapon if it's rate of fire would be slightly slower.

Not sure about this; I'd assume you'd have to slow down the firing animation. Looks like you can mess with the state definitions in Objects.ded to accomplish this but I'm not the one to ask exactly how.

Skitso
August 31st, 2004, 01:28 AM
I managed to alter the "clip" size to my liking in values.ded but the rate of fire thing still puzzles me a bit. I was able to slow super shot gun's loading animation down a bit and make the chainsaw two times quicker (deadly!) but for some reason I cannot slow down the plasma cannon... Even if I put 50 tics in every frame, nothing changes... I'm using jDRP. Any ideas?

Thanks! :)

Skitso
August 31st, 2004, 06:01 AM
Anyone? Please tell me how to make the chaingun fire rate a bit faster and plasma gun fire rate slower.

Vermil
August 31st, 2004, 06:12 AM
The JDRP deds also contain state definitions. It may be that said states are overruling your changes.

For instance state definitions in objects.ded are ignored if there is another ded containing identically named state definitions, being loaded.

Skitso
August 31st, 2004, 06:54 AM
I took the jDRP off and now the changes I made changes work. Now the problem is: how to change the weapon stats in jDRP?

Vermil
August 31st, 2004, 07:17 AM
Open up the JDRP.pk3 and look in the Data/Auto folder where you will find the JDRP models each contained in separate pk3's.

Find the pk3 for the thing you wish to edit and open it (All the player weapons have "HUD" in front of them). Then go through the folders until you find the ded for the model.

The states are at the top of the ded. You can either make your changes to them instead or delete them so Dday uses yours instead.

Though some of the states in the JDRP deds may have been slightly altered from the originals in objects.ded for some of the model effects, so there is a chance deleting them may cause minor problems with the related model.

Skitso
August 31st, 2004, 07:47 AM
Ah... I didn't notice the HUD -ones and was editing the on level weapons sprites! Stupid me. :) Alas, Doomsday won't start when I have modified the file. The error message says that it has illegal compression method or something... what is the right compression to use? I use Winrar. Thanks!

Slide
August 31st, 2004, 09:12 AM
Store only Compression

Skitso
August 31st, 2004, 12:23 PM
Yeah, I figured it out already. Thanks for your help, guys. My mod is going to be astounding! ;)

Skitso
September 1st, 2004, 10:57 PM
How can I make the exploding barrels to respawn in a deathmatch? Also invisibilitysphere seems to dissappear once someone collects it the first time in multiplayer. Thanks for advice!