Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Freakin' Noob

WhackEd

Recommended Posts

Is there a WhackEd tutorial out there? because i want to (1) Speed up the chaingun a bit and (2) if whacked supports zdoom, is there a way i can boost the damage of the A_RailAttack?

Share this post


Link to post

The first part is easy, just lower the duration of each of the chaingun's frames (remember the lower the muzzle flash frames' durations too!)

And as for modifying the railgun codepointer's damage, DeHackEd cannot do that. I think you'll need DECORATE.

Share this post


Link to post

Wouldn't it be easier to just make a new decorate class that inherits from the chaingun, but with a few modifications?

actor SuperChaingun : Chaingun 2002
{
  states
  {
  Fire:
    CHGG A 0 A_FireBullets (5.6, 0, 1, 10, "BulletPuff")
    CHGG A 2 A_GunFlash
    CHGG B 2 A_FireBullets (5.6, 0, 1, 10, "BulletPuff")
    CHGG B 0 A_ReFire
    goto Ready
  Flash:
    CHGF A 2 bright A_Light1
    CHGF B 3 bright A_Light2
    CHGF A 0 bright A_Light0
    stop
  }
}
That should make a chaingun that s twice is fast and does twice as much damage. I'm new to using DECORATE though, so I can't guarantee this is 100% correct.

Share this post


Link to post

Boosting your railgun:

in your decorate lump there should be a line somewhere like:
A_RailAttack(x,0,1,"FF FF FF","FF FF FF",10)

You can have your railgun deal more damage by increasing "x".
for example:
A_RailAttack(100,0,1,"FF FF FF","FF FF FF",10)

Further: changing the first and second "FF FF FF" will change the color of the inner and outer railgun-blast.

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
Sign in to follow this  
×