'Spray' command?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Cutmanmike
Posts: 11324
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

'Spray' command?

Post by Cutmanmike »

What's this for? I always thought it was for spraying a logo on a wall (like a bfg crack in the wall or something but a logo). Or maybe it wasn't spray, and it said something else? Duhh... Free beer!
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

There is this spray thingie in Massmouth 2... that's all I know.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $

Post by Bio Hazard »

maybe you pee on whatever you use it on or something?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: 'Spray' command?

Post by HotWax »

cutmanmike wrote:What's this for? I always thought it was for spraying a logo on a wall (like a bfg crack in the wall or something but a logo). Or maybe it wasn't spray, and it said something else? Duhh... Free beer!
That's exactly what it's for. It is used to test the various decals setup in DECALDEF so you can see how they'll appear without actually having to shoot the wall/shoot an enemy.

Try typing this at the console (or binding it to a button):

] spray bloodsplat

This will "spray" a random decal defined in the "bloodsplat" group forward a fet feet. If there are any walls, the decal will appear there. It'll wrap around corners etc just as it should. The default groups and decals can be found in DECALDEF within zdoom.wad. The layout is pretty self-explanatory, and is commented where it isn't.

Return to “General”