mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 16:41:07 +00:00
146 lines
2.3 KiB
Text
146 lines
2.3 KiB
Text
|
// Splashes ----------------------------------------------------------------
|
||
|
|
||
|
splash Water
|
||
|
{
|
||
|
smallclass WaterSplashBase
|
||
|
smallclip 12
|
||
|
smallsound world/drip
|
||
|
|
||
|
baseclass WaterSplashBase
|
||
|
chunkclass WaterSplash
|
||
|
chunkxvelshift 8
|
||
|
chunkyvelshift 8
|
||
|
chunkzvelshift 8
|
||
|
chunkbasezvel 2
|
||
|
sound world/watersplash
|
||
|
}
|
||
|
|
||
|
splash Sludge
|
||
|
{
|
||
|
smallclass SludgeSplash
|
||
|
smallclip 12
|
||
|
smallsound world/sludgegloop
|
||
|
|
||
|
baseclass SludgeSplash
|
||
|
chunkclass SludgeChunk
|
||
|
chunkxvelshift 8
|
||
|
chunkyvelshift 8
|
||
|
chunkzvelshift 8
|
||
|
chunkbasezvel 1
|
||
|
sound world/sludgegloop
|
||
|
}
|
||
|
|
||
|
splash Lava
|
||
|
{
|
||
|
smallclass LavaSplash
|
||
|
smallclip 12
|
||
|
smallsound world/lavasizzle
|
||
|
|
||
|
baseclass LavaSplash
|
||
|
chunkclass LavaSmoke
|
||
|
chunkxvelshift -1
|
||
|
chunkyvelshift -1
|
||
|
chunkzvelshift 7
|
||
|
chunkbasezvel 1
|
||
|
sound world/lavasizzle
|
||
|
}
|
||
|
|
||
|
splash WaterSound
|
||
|
{
|
||
|
smallclass None
|
||
|
baseclass None
|
||
|
chunkclass None
|
||
|
sound world/watersplash
|
||
|
noalert
|
||
|
}
|
||
|
|
||
|
// Terrain types -----------------------------------------------------------
|
||
|
|
||
|
terrain Water
|
||
|
{
|
||
|
splash Water
|
||
|
footclip 10
|
||
|
liquid
|
||
|
}
|
||
|
|
||
|
terrain Sludge
|
||
|
{
|
||
|
splash Sludge
|
||
|
footclip 10
|
||
|
liquid
|
||
|
}
|
||
|
|
||
|
ifheretic
|
||
|
|
||
|
terrain Lava
|
||
|
{
|
||
|
splash Lava
|
||
|
footclip 10
|
||
|
liquid
|
||
|
}
|
||
|
|
||
|
endif
|
||
|
|
||
|
ifhexen
|
||
|
|
||
|
terrain Lava
|
||
|
{
|
||
|
splash Lava
|
||
|
footclip 10
|
||
|
liquid
|
||
|
damageamount 5
|
||
|
damagetype lava
|
||
|
damagetimemask 31
|
||
|
}
|
||
|
|
||
|
terrain Ice
|
||
|
{
|
||
|
// A friction > 1 is actually less friction
|
||
|
friction 1.70824008138
|
||
|
|
||
|
// Ice doesn't actually do any damage. This is just so that things
|
||
|
// that freeze to death take longer to melt on this terrain.
|
||
|
damagetype ice
|
||
|
}
|
||
|
|
||
|
endif
|
||
|
|
||
|
terrain JustASound
|
||
|
{
|
||
|
splash WaterSound
|
||
|
liquid
|
||
|
footclip 12
|
||
|
}
|
||
|
|
||
|
// Floor -> terrain mappings -----------------------------------------------
|
||
|
|
||
|
ifheretic
|
||
|
floor FLTWAWA1 Water
|
||
|
floor FLTFLWW1 Water
|
||
|
floor FLTLAVA1 Lava
|
||
|
floor FLATHUH1 Lava
|
||
|
floor FLTSLUD1 Sludge
|
||
|
endif
|
||
|
|
||
|
ifhexen
|
||
|
floor X_005 Water
|
||
|
floor X_001 Lava
|
||
|
floor X_009 Sludge
|
||
|
floor F_033 Ice
|
||
|
endif
|
||
|
|
||
|
ifstrife
|
||
|
floor F_WATR03 JustASound
|
||
|
floor F_WATR02 JustASound
|
||
|
floor F_WATR01 JustASound
|
||
|
floor F_VWATR3 JustASound
|
||
|
floor F_VWATR2 JustASound
|
||
|
floor P_VWATR1 JustASound
|
||
|
floor F_HWATR3 JustASound
|
||
|
floor F_HWATR2 JustASound
|
||
|
floor F_HWATR1 JustASound
|
||
|
floor F_PWATR3 JustASound
|
||
|
floor F_PWATR2 JustASound
|
||
|
floor F_PWATR1 JustASound
|
||
|
endif
|