The "How do I..." Thread

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.
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: The "How do I..." Thread

Post by cocka »

Look at Blue Shadow's post and click on the link there and look for APROP_Health.
CeeJay
Posts: 1467
Joined: Sun Mar 14, 2010 2:52 am

Re: The "How do I..." Thread

Post by CeeJay »

How do I...
Image
Fix this

The suit of armour is a PNG image, there is nothing wrong with the image itself but in-game ZDoom seems to try and convert it automatically to the Doom palette which results in it looking like that (the greens are supposed to be of various shades of cyan). How do I "tell" ZDoom to display it as it is?
mallo
Posts: 1112
Joined: Sat May 22, 2010 12:49 pm

Re: The "How do I..." Thread

Post by mallo »

CeeJay wrote:How do I...
Image
Fix this

The suit of armour is a PNG image, there is nothing wrong with the image itself but in-game ZDoom seems to try and convert it automatically to the Doom palette which results in it looking like that (the greens are supposed to be of various shades of cyan). How do I "tell" ZDoom to display it as it is?
Convert it all to grayscale except for shield. That's how WolfenDoom and even Doom 2 did.
how do i make my sprites transparent? I've made so many of them for a mod i'm planning, but i cannot get them to appear transparent in SLADE. i have followed the GunLabs tutorial by wild weasel, although it never appears transparent.
Does the sprite in-game appears invisible?

Select your graphic in SLADE3, select "convert to", choose your format of choice and select background color at the bottom, it'll be transparent.
Gez
 
 
Posts: 17945
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

CeeJay wrote:The suit of armour is a PNG image, there is nothing wrong with the image itself but in-game ZDoom seems to try and convert it automatically to the Doom palette which results in it looking like that (the greens are supposed to be of various shades of cyan). How do I "tell" ZDoom to display it as it is?
The software renderer is bound to the palette. It is absolutely incapable of rendering colors outside of palette. (HUD sprites and interface graphics are a different matter, they aren't drawn by the software renderer, but drawn over the renderer's output.)

You can:
1. Use a custom palette where your various shades of cyan are included, but that'll mean sacrificing other colors so it's some other graphic that may look wrong.
2. Use GZDoom.
3. Hope that Randy resumes working on the truecolor rendering code.
mallo
Posts: 1112
Joined: Sat May 22, 2010 12:49 pm

Re: The "How do I..." Thread

Post by mallo »

I already gave him a good solution. ]:(
User avatar
Ghostbreed
Posts: 1114
Joined: Wed Mar 24, 2010 6:19 am

Re: The "How do I..." Thread

Post by Ghostbreed »

Don't feel bad :'((
mallo
Posts: 1112
Joined: Sat May 22, 2010 12:49 pm

Re: The "How do I..." Thread

Post by mallo »

I FEEL VERY BAD I'M GOING TO DIEEEE

I'm sorry.
User avatar
Ghostbreed
Posts: 1114
Joined: Wed Mar 24, 2010 6:19 am

Re: The "How do I..." Thread

Post by Ghostbreed »

AHH THIS IZ BAD!
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: The "How do I..." Thread

Post by CaptainToenail »

How do I generate a random integer as a variable with ACS?

I tried this but it does not compile.

Code: Select all

int pitTag = Random(8, 11);
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: The "How do I..." Thread

Post by cocka »

Did you try this version?

Code: Select all

int pitTag;
pitTag = Random(8, 11);
Anyway, use the lastest version of ACC. It can compile that line.
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: The "How do I..." Thread

Post by CaptainToenail »

Is the latest acc154?

I extracted that into the zdoom compiler folder of Doombuilder2 - still will not compile. Gives me an invalid declarator error. :?
Warhawk
Posts: 161
Joined: Tue Mar 27, 2012 5:48 pm

Re: The "How do I..." Thread

Post by Warhawk »

I'm planning to make nightmare versions of other demons like the Nightmare Demon/Spectre in PSX Doom. How do I do this? I heard its simple to do in GIMP.
mallo
Posts: 1112
Joined: Sat May 22, 2010 12:49 pm

Re: The "How do I..." Thread

Post by mallo »

You mean translucent? Use Alpha and/or RenderStyle.
Warhawk
Posts: 161
Joined: Tue Mar 27, 2012 5:48 pm

Re: The "How do I..." Thread

Post by Warhawk »

I mean like this:
Attachments
NightmareD.png
NightmareD.png (2.23 KiB) Viewed 1144 times
User avatar
Master_Moose
Posts: 13
Joined: Sun Jun 09, 2013 4:06 pm
Location: A land down under

Re: The "How do I..." Thread

Post by Master_Moose »

Master_Moose wrote:how do i make my sprites transparent? I've made so many of them for a mod i'm planning, but i cannot get them to appear transparent in SLADE. i have followed the GunLabs tutorial by wild weasel, although it never appears transparent.
I have addressed to the situation. i solved it by leaving the back round color white and using SLADE'S "convert to..." feature. now i can finally start this mod!
Locked

Return to “Editing (Archive)”