[odamex-bug-reporter] [Bug 1120] Bad angle projectile with high entities' speed

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Wed, 11 Feb 2015 13:35:44 +0000

http://odamex.net/bugs/show_bug.cgi?id=1120

--- Comment #2 from Maëllig Desmottes <Ch0wW@xxxxxxxx> ---
0-X-Duel, NS duel is the perfect scenario for this. Rockets have been increased
in speed.

http://dl.baseq.fr/doom/wads/0-X-Duel-RC1.zip

if you launch a rocket, the rocket will spawn, but going at a speed of 0.
Dehacked support for this line was found, but not applied at all.

So, there is a line of code you need to add in d_dehacked.cpp to bring back the
speed!

in static int PatchThing (int thingy):

Find this line:

            else DPrintf (unknown_str, Line1, "Thing", thingNum);
        } else if (!stricmp (Line1, "Height")) {
            hadHeight = true;
        }

Add right after:

// Ch0wW: Speed dehacked was added but not applied. Incomplete features a-hoy!
        else if (!stricmp (Line1, "Speed"))
            info->speed *= FRACUNIT;

Now, once you spawn a rocket, the speed is applied, but the angles is not
totally wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Other related posts: