Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
ellmo

exe editing, how to...?

Recommended Posts

Help, someone... how can I change the default weapon firepower, or somethin'... i know about DeHacked, but it hasn't got options (at least I never found any) on changing weapons firepower...

Share this post


Link to post
Assmaster said:

What do you mean by "firepower'?


I mean the amount of damage that a specific weapon deals to target. Lets say I'd like the pistol to become twice as powerfull, but by changing the frame duration It'll have a lower firing rate.

Oh, and I'm not going to use EDGE, I don't like this Source at all (no offence to others), I'm staying with ZDoom...

Share this post


Link to post

i think you can use zoom scripting to do it, or you could give both pistol firing frames the codepointer for shooting a bullet, and make thier durations tiny, so it shoots two bullets pretty much 'as one', which doubles the firepower, but also uses 2 bullets XD

(Immoral conduct dehacked has a sniper rifle that shoots about 11 bullets really close together actually, its cool)

Share this post


Link to post

what I would like to do is try to make a mod that would push doom or doom 2 to its very limits but it would take a lot of time, perhaps if there was a windows version of dehacked or a deh editor for windows but if Zooms good for making new weapons and enemies i might as well use that

Share this post


Link to post

ACS can't really change how a weapon acts. And you can't directly edit how much damage a hitscan weapon does.

You could do what deathbringer said, but yes, it'll use 2 bullets.

I think there may be something in .bex that will work with that, but I don't know enough about .bex to say.

Share this post


Link to post

ah nice , im having problems with windows 98 using dehacked and i dont want to use win2k for handling dos programs

Share this post


Link to post
Nanami said:

ACS can't really change how a weapon acts. And you can't directly edit how much damage a hitscan weapon does.

You could do what deathbringer said, but yes, it'll use 2 bullets.

I think there may be something in .bex that will work with that, but I don't know enough about .bex to say.


Weapon 1 (Double-Strength Pistol)

Ammo use = 1
Min ammo = 1

Share this post


Link to post
The Ultimate DooMer said:

Weapon 1 (Double-Strength Pistol)

Ammo use = 1
Min ammo = 1


That's cool. Where can I find more information like this? Is there a .bex tutorial and example page you know of?

Share this post


Link to post
The Ultimate DooMer said:

Weapon 1 (Double-Strength Pistol)

Ammo use = 1
Min ammo = 1

Actually, ammo use sets the value of ammo used for each code pointer in the firing sequence. Therefore, if you have 2 firing code pointers in your sequence, your pistol will still use 2 shots even with ammo use = 1. For info (for Nanami) Min ammo sets the minimum ammo before the weapon can be used. If you have less than that amount of ammo, the weapon cannot be fired, and will automatically change away to another weapon if you try and fire with less than the min ammo value.

To illustrate:

The Super shotgun effectively has

Ammo use = 2
Min ammo = 2

and the BFG

Ammo use = 40
Min Ammo = 40

You could set it to

Ammo use = 40
Min Ammo = 80

Which would use 40 cells every shot, but would only allow you to fire if you had 80 ammo.

or

Ammo use = 40
Min Ammo = 20

Which would allow you to fire with only 20 cells, putting you into negative ammo values in your inventory.

There's no official documentation on this yet (or any other post ver 1.22 features) but a search on the Zdoom forum will certainly turn up a few dicussions about this.

A lot of useful stuff can be found in this thread:

http://notgod.com/phorum/read.php?f=12&i=4265&t=4257

Share this post


Link to post

Yeah, after playing with it for a while I noticed that's how it worked. I achieved my goal though.

The SSG I made uses two codepointers to shoot, and it was taking 4 ammo. I fixed it with that by making both shots only take 1 ammo, so it takes 2 total again. =)

Share this post


Link to post

ok... that makes sense im fooling around with all weapons to see if i like how they work after,

unfortunately its much harder to do in whacked

Share this post


Link to post

Jesus, there must be an information in the *.exe file on how much damage each shot does, the projectiles in Doom have their own "thing missile damage" attribute that can be switched easily, but there has to be something in *.exe. Doom's not taking it from nowhere, is he?

Share this post


Link to post

In the original exe, the amount of damage to use for a bullet shot is defined through a macro, and therefore is found inlined in about 3000 different places in the executable. Its impossible to know which 3's and 5's (bullet damage is (rnd%3 + 1) * 5) to edit, because 3 and 5 are extremely common numbers in a compiled executable, obviously.

This is why DeHackEd never could edit bullet damage.

I have added a parameterized codepointer to Eternity that, among other things, lets you create bullets with custom damage ranges. However, nobody ever really cares about what I put in Eternity anyways so its pointless to mention it :P

Share this post


Link to post

i would like to create that weapon from die another day that uses the uranium shells

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×