- integrate the NAM/WW2GI overrides that were already defined.

This commit is contained in:
Christoph Oelckers 2022-12-24 09:27:25 +01:00
parent ea96c66a93
commit 27188c3ec3
3 changed files with 25 additions and 4 deletions

View file

@ -0,0 +1,7 @@
spawnclasses
{
2556 = NamShrinker
2533 = NamShell, noskill
2535 = NamShotgunShell, noskill
}

View file

@ -1,5 +1,8 @@
spawnclasses
{
2556 = NamShrinker
2533 = NamShell, noskill
2535 = NamShotgunShell, noskill
2595 = WW2GIShotSpark, noskill
2613 = WW2GIShotgunShot, noskill
2536 = WW2GIChaingunShot, noskill

View file

@ -53,7 +53,7 @@ class DukeShell : DukeActor
override void Initialize()
{
initshell(true, Raze.isNamWW2GI()? 1.875 : -1.25);
initshell(true, -1.25);
}
override void Tick()
@ -112,15 +112,26 @@ class DukeShell : DukeActor
}
}
class NamShell : DukeShell
{
override void Initialize()
{
initshell(true, 1.875);
}
}
class DukeShotgunShell : DukeShell
{
default
{
spriteset "SHOTGUNSHELL";
}
override void Initialize()
}
class NamShotgunShell : NamShell
{
default
{
initshell(false, Raze.isNamWW2GI()? 1.875 : -1.25);
spriteset "SHOTGUNSHELL";
}
}