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
Sgt. Shivers
Posts: 1743
Joined: Fri Jun 22, 2012 5:39 am

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

Post by Sgt. Shivers »

Are there any tutorials on creating huds?
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

some links that may help you :

http://zdoom.org/wiki/Custom_Hud
http://zdoom.org/wiki/SBARINFO

i've tried to google tutorial but don't managed to find any so ... i hope that will help you!

here's an exemple of one i managed to do :)
Spoiler:
Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

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

Post by Gez »

BigProjectAlone wrote:is that i was thinking about but when i do Playsound that said ERROR in the script ... i dont understand -_-
that said exactly : function playsound is use but not define
"Function used but not defined" means that you use a function that is not defined. So the problem here is in your definition file. Clear enough? Update zdefs.acs. :p
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

Gez wrote:
BigProjectAlone wrote:is that i was thinking about but when i do Playsound that said ERROR in the script ... i dont understand -_-
that said exactly : function playsound is use but not define
"Function used but not defined" means that you use a function that is not defined. So the problem here is in your definition file. Clear enough? Update zdefs.acs. :p

yes sounds clear enough :/ the only thing is that i dont understand what you mean by Update zdefs.acs. :$
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

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

Post by wildweasel »

Probably go download the latest version of ACC, which tends to include those.
User avatar
jpalomo
Posts: 772
Joined: Mon May 17, 2010 9:45 am

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

Post by jpalomo »

You can probably update zdefs and zspecial without updating acc (depending on how old your build is). Just copy & paste the changes from the github pages into your files: zdefs.acs, zspecial.acs
User avatar
Sgt. Shivers
Posts: 1743
Joined: Fri Jun 22, 2012 5:39 am

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

Post by Sgt. Shivers »

BigProjectAlone wrote:some links that may help you :

http://zdoom.org/wiki/Custom_Hud
http://zdoom.org/wiki/SBARINFO

i've tried to google tutorial but don't managed to find any so ... i hope that will help you!

here's an exemple of one i managed to do :)
Spoiler:
Would you be able to give me some pointers on making something like the Goldeneye 64 / Timesplitters Hud?
User avatar
FLYBAT
Posts: 89
Joined: Thu Jul 19, 2012 3:04 pm

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

Post by FLYBAT »

How to make actors keep a formation? Like, I want to make a Heavy Weapon Dude rank or a Demon wedge, like units in Total War series. Is it possible at all? I am sure ZDoom can almost everything if you try hard enough, but this problem is really complicated to me. Either I do not see the answer or it is not possible.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

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

Post by Logan MTM »

Question:

Hoe to make a actor face target both players and monsters? Whoever is nearest.
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

Sgt. Shivers wrote:
BigProjectAlone wrote:some links that may help you :

http://zdoom.org/wiki/Custom_Hud
http://zdoom.org/wiki/SBARINFO

i've tried to google tutorial but don't managed to find any so ... i hope that will help you!

here's an exemple of one i managed to do :)
Spoiler:
Would you be able to give me some pointers on making something like the Goldeneye 64 / Timesplitters Hud?
i dont know too much about the huds.. i did this really long ago, and there is some bugs with it sorry :(
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: The "How do I..." Thread

Post by Matt »

Logan MTM wrote:Question:

Hoe to make a actor face target both players and monsters? Whoever is nearest.
All I could think of is to make the critter non-friendly when the player is the only available target, and friendly otherwise. It won't attack friendlies in such a setup, though, and I don't know how to distinguish the situations so all I could come up with was randomly flipping friendliness on and off.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

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

Post by Logan MTM »

A_ChageFlag and A_JumpIfTargetOutsideMeleeRange?

Working...
User avatar
NeoSpearBlade
Posts: 51
Joined: Tue Mar 26, 2013 1:35 pm

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

Post by NeoSpearBlade »

Yholl wrote:Depends. Rather than replacing the Mancubus, you could replace the actual shot it fires instead, as that is the part generating the sounds anyway, apart from the weird growling he does. Would that be acceptable for what you need? Otherwise there's no way I can think of doing it without using the things you are trying to avoid.
Hmm, might as well try what you're saying and test it to see if that's what I'm looking for.

Here are the firing states for The Mancubus and I assume this is the relevant code:

Code: Select all

Missile:
    FATT G 20 A_FatRaise
    FATT H 10 Bright A_FatAttack1
    FATT IG 5
    FATT H 10 Bright A_FatAttack2
    FATT IG 5
    FATT H 10 Bright A_FatAttack3
    FATT IG 5
    Goto See
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

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

Post by Logan MTM »

There is any way to set linedefs color as locked door?

I mean, make a normal door look like a red door as sample.
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

is this possible to make a monster climbs wall, and is this possible to make a monster simply jump ?
Locked

Return to “Editing (Archive)”