Bump ZScript version to match the GZDoom version that has all the localization work in it.
Fix missing Boss footstep sound (filename longer than 8 chars, oops). Began working on the activatables for Heretic.
This commit is contained in:
parent
8d72c5c78b
commit
1ed7083113
6 changed files with 25 additions and 7 deletions
|
|
@ -57,6 +57,7 @@ This mod requires GZDoom 4.0.0 or later.
|
|||
- Lava/Slime footstep sounds?
|
||||
- UT gore system (toggleable)
|
||||
- Heretic compatibility
|
||||
- Localization in all languages supported by the original game
|
||||
|
||||
## Future plans
|
||||
|
||||
|
|
@ -72,6 +73,7 @@ This mod requires GZDoom 4.0.0 or later.
|
|||
- Unreal 1 weapons mod and maybe also a monsters mod
|
||||
- Port some of my UT weapon mods (and maybe also some of my personal faves by
|
||||
others, such as Psi Weapon Dreams)
|
||||
- Hexen compatibility ???
|
||||
|
||||
## Known bugs
|
||||
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ ut/playerfootstep2 stone04
|
|||
ut/playerfootstep3 stone05
|
||||
$random ut/playerfootstep { ut/playerfootstep1 ut/playerfootstep2 ut/playerfootstep3 }
|
||||
|
||||
ut/bossfootstep bfootstep
|
||||
ut/bossfootstep bfootstp
|
||||
|
||||
ut/playerfootstepwet lsplash
|
||||
ut/wetsplash dsplash
|
||||
|
|
@ -205,10 +205,6 @@ misc/gibp3 gibp4
|
|||
misc/gibp4 gibp5
|
||||
misc/gibp5 gibp6
|
||||
$random misc/gibp { misc/gibp1 misc/gibp2 misc/gibp3 misc/gibp4 misc/gibp5 }
|
||||
// universal gibs compat
|
||||
$alias UniversalGibs/Gib misc/gibbed
|
||||
// droplets compat
|
||||
$alias blood/hit misc/gibp
|
||||
|
||||
impact/select imppick
|
||||
impact/pull impaltst
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
version "4.0"
|
||||
version "4.1"
|
||||
|
||||
#include "zscript/dt_matrix.zsc"
|
||||
#include "zscript/dt_coordutil.zsc"
|
||||
|
|
|
|||
|
|
@ -47,6 +47,23 @@ Class UTHereticBlueKey : KeyBlue
|
|||
}
|
||||
}
|
||||
|
||||
// TODO Base class for items that can be activated from the inventory bar
|
||||
Class UTActivatable : Inventory
|
||||
{
|
||||
Default
|
||||
{
|
||||
+INVENTORY.INVBAR;
|
||||
}
|
||||
}
|
||||
|
||||
// These have to be subclassed from HealthPickup for auto-use
|
||||
Class UTActivatableHealth : HealthPickup
|
||||
{
|
||||
Default
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Alternative player classes for compatibility with Heretic sprites
|
||||
Class UTPlayerHereticCompat : UTPlayer
|
||||
{
|
||||
|
|
|
|||
|
|
@ -160,7 +160,10 @@ Class UTPlayer : DoomPlayer
|
|||
{
|
||||
let type = (class<Inventory>)(AllActorClasses[i]);
|
||||
if ( !type ) continue;
|
||||
let def = GetDefaultByType (type);
|
||||
let def = GetDefaultByType(type);
|
||||
if ( !(self is "UTPlayerHereticCompat")
|
||||
&& ((type is "UTActivatable") || (type is "UTActivatableHealth")) )
|
||||
continue; // don't give these outside of Heretic/Hexen
|
||||
if ( def.Icon.isValid() && (def.MaxAmount > 1) &&
|
||||
!(type is "PuzzleItem") && !(type is "Powerup") && !(type is "Ammo") && !(type is "Armor"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue