mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-23 17:31:14 +00:00
- integrate the NAM/WW2GI overrides that were already defined.
This commit is contained in:
parent
ea96c66a93
commit
27188c3ec3
3 changed files with 25 additions and 4 deletions
7
wadsrc/static/filter/nam/rmapinfo.spawnclasses
Normal file
7
wadsrc/static/filter/nam/rmapinfo.spawnclasses
Normal file
|
@ -0,0 +1,7 @@
|
|||
spawnclasses
|
||||
{
|
||||
2556 = NamShrinker
|
||||
2533 = NamShell, noskill
|
||||
2535 = NamShotgunShell, noskill
|
||||
}
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
spawnclasses
|
||||
{
|
||||
2556 = NamShrinker
|
||||
2533 = NamShell, noskill
|
||||
2535 = NamShotgunShell, noskill
|
||||
2595 = WW2GIShotSpark, noskill
|
||||
2613 = WW2GIShotgunShot, noskill
|
||||
2536 = WW2GIChaingunShot, noskill
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue