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
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

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

Post by Mikk- »

I guess I should post here too. Is there a way to store strings [and in a sense, inventory items] in such a way so I can use them with a custom hotbar, for example - if I had 3 items ExampleA, ExampleB and ExampleC and I set them to slots 4, 2 and 8 respectively - is such a thing 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 »

Enjay wrote:
Logan MTM wrote:No 3D Models...

No idea why. :(
Models are still working for me. They have definitely not been removed or stopped working. Perhaps there is something wrong with how you have set up your models that was tolerated by GZDoom before but not now?
I don`t know.

All Models from my maps works in GZDoom 1.5 but doesn`t work after this version. :(
What wad are you playing that have models working?
Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

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

Post by Gez »

NeoSpearBlade wrote:It has 3 sounds, 1 for when you're close when it fires and 2 for when you're a certain distance away when it fires.**
Ah. Such a system is not possible in ZDoom, I fear. You can use $rolloff to cut off some sounds with distance, but when you're close enough you'd still hear all three sounds at once, which I guess would not be wanted then.
User avatar
NeoSpearBlade
Posts: 51
Joined: Tue Mar 26, 2013 1:35 pm

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

Post by NeoSpearBlade »

No no, that is a desired effect, considering the sound of the cannon. (I wish I could locate that folder again so you can hear it yourself but I forgot where I got it.)

I just want to know if it's possible to do this without replacing the actor for the mancubus or using inheritance.
User avatar
Yholl
Posts: 1955
Joined: Mon Dec 17, 2012 11:08 am
Location: Here, stupid.

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

Post by Yholl »

NeoSpearBlade wrote:I just want to know if it's possible to do this without replacing the actor for the mancubus or using inheritance.
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.
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

can semone help me figure this out ? that just dont want to work and i dont know why...
i just want to make my actor activate a script when dying and no.. nothing.
thank you !!
Spoiler:
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 »

acs sample:
script 996 (void)
{
activatorsound("TINN",255);
HudMessage(s:"???????????????????");
HUDMSG_PLAIN, 0, CR_white, 0.5, 0.8, 4.0);
}
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

Logan MTM wrote:
acs sample:
script 996 (void)
{
activatorsound("TINN",255);
HudMessage(s:"???????????????????");
HUDMSG_PLAIN, 0, CR_white, 0.5, 0.8, 4.0);
}

it's not that, if i add this it said its an error..
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 »

BigProjectAlone wrote:it's not that, if i add this it said its an error..
lol, my bad.
I'll try something here. I'll post a feedback
User avatar
edward850
Posts: 5886
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

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

Post by edward850 »

Because the decorate actor is the activator of the script, hudmessage is printing for it rather than the player. Use [wiki]HudMessageBold[/wiki] to print it to everyone.
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

edward850 wrote:Because the decorate actor is the activator of the script, hudmessage is printing for it rather than the player. Use [wiki]HudMessageBold[/wiki] to print it to everyone.
i love you edward !!!! :D
User avatar
BigProjectAlone
Posts: 780
Joined: Wed Mar 21, 2012 5:38 am
Location: canada

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

Post by BigProjectAlone »

just one more problem, the sounds dont want to play...
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

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

Post by Mikk- »

Because the activator is the decorate actor, ActivatorSound only plays for the Activator of the script. Use PlaySound or another ACS sound Function
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 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
Last edited by BigProjectAlone on Fri Oct 25, 2013 4:58 pm, edited 1 time in total.
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

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

Post by Mikk- »

Perhaps just use [wiki]AmbientSound[/wiki]?
Locked

Return to “Editing (Archive)”