'Spray' command?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

'Spray' command?

Postby Cutmanmike » Tue Oct 07, 2003 1:25 pm

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
Cutmanmike
Is it hot in here or is it just ZScript
 
Joined: 06 Oct 2003
Location: United Kingdom
Discord: https://discord.gg/Whts7Bj
Operating System: Windows Vista/7/2008 64-bit

Postby Hirogen2 » Tue Oct 07, 2003 1:47 pm

There is this spray thingie in Massmouth 2... that's all I know.
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby Bio Hazard » Tue Oct 07, 2003 4:52 pm

maybe you pee on whatever you use it on or something?
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Re: 'Spray' command?

Postby HotWax » Tue Oct 07, 2003 7:12 pm

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.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests