How Do I Turn Off Bullet Holes?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Boingo_the_Clown
Posts: 139
Joined: Mon Sep 17, 2012 7:25 am
Location: Canada
Contact:

How Do I Turn Off Bullet Holes?

Post by Boingo_the_Clown »

My current mod reuses all the standard DooM weapons, but the scorch marks and bullet holes produced in GZDooM are not appropriate to the mod.

I was able to get rid of the scorch marks for the rocket, plasma, and BFG ball simply by cloning them, but the pistol, shotgun and chaingun leave bullet holes.

Is it possible to eliminate the bullet holes without redefining the weapons? I don't want to turn off decals. I just want to get rid of the bullet holes.

The wiki was not helpful to me for this. Does anyone know what I need to do to get rid of the bullet holes?
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: How Do I Turn Off Bullet Holes?

Post by Matt »

They're defined by the weapon... you'll have to make a new playerclass to affect the pistol, unfortunately.
User avatar
BloodyAcid
Posts: 372
Joined: Thu Jul 26, 2012 10:28 pm
Location: Canadia

Re: How Do I Turn Off Bullet Holes?

Post by BloodyAcid »

Maybe modify hitscan to fire a highspeed invisible projectile that leaves no mark?
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: How Do I Turn Off Bullet Holes?

Post by Ed the Bat »

What about a quick DECALDEF lump that replaces the bullet chips with invisible graphics (TNT1A0)?
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: How Do I Turn Off Bullet Holes?

Post by Xaser »

Hey now, you're all sledgehammering. :P

The default weapons have all their decal info set in DECALDEF -- open it up in zdoom.pk3 and notice the "Generator" sections. Copy that part into a new DECALDEF and change the decal reference to something blank. That'll do the trick.
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: How Do I Turn Off Bullet Holes?

Post by cocka »

You write in the console: cl_maxdecals 0

There won't be any decals at all.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: How Do I Turn Off Bullet Holes?

Post by Gez »

Boingo_the_Clown wrote: I don't want to turn off decals. I just want to get rid of the bullet holes.
Xaser has the best approach to the problem.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: How Do I Turn Off Bullet Holes?

Post by Ed the Bat »

I wasn't entirely sure if he wanted all bullet holes gone, or just the ones the player's guns make. If he wants, for instance, monster bullet holes gone too, he'd just need to make sure to take care of those as well if he was redefining the generators.
User avatar
Boingo_the_Clown
Posts: 139
Joined: Mon Sep 17, 2012 7:25 am
Location: Canada
Contact:

Re: How Do I Turn Off Bullet Holes?

Post by Boingo_the_Clown »

Xaser wrote:Hey now, you're all sledgehammering. :P

The default weapons have all their decal info set in DECALDEF -- open it up in zdoom.pk3 and notice the "Generator" sections. Copy that part into a new DECALDEF and change the decal reference to something blank. That'll do the trick.
Tried it.

Worked like a charm.
Locked

Return to “Editing (Archive)”