Anyone? xPjack101 wrote:Not exactly sure on how to make a big projectile that shoots smaller projectiles, and it doesn't aim at the monster that shot the bigger projectile.
Any ideas?
The "How do I..." Thread
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.
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.
- Darsycho
- Posts: 859
- Joined: Sat Jul 05, 2008 1:36 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Linux Mint 21.3 Cinnamon, Windows 11
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: The "How do I..." Thread
- The Zombie Killer
- Posts: 1528
- Joined: Thu Jul 14, 2011 12:06 am
- Location: Gold Coast, Queensland, Australia
Re: The "How do I..." Thread
Functions are global in ACS, so you don't need to worry about prototyped functions, no matter where they are in the code, the script can still use them.cocka wrote:Just a quick question:
Is there a way to make a prototype version of a function just like in C?
Something like this:
function type function_name(type, type);
So you don't have to write the actual content of the function above the script using it. Just the prototyped version.
-TZK
Re: The "How do I..." Thread
Oh, then I guess it has been changed recently since there is a new acc.exe. So far I always had to put the function above the script using it.
- ReedtheStrange
- Posts: 226
- Joined: Sun Sep 11, 2011 3:27 pm
Re: The "How do I..." Thread
Is there any way to script a sector tag to change?
Re: The "How do I..." Thread
What would be the reason for that?Is there any way to script a sector tag to change?
- Ghostbreed
- Posts: 1114
- Joined: Wed Mar 24, 2010 6:19 am
Re: The "How do I..." Thread
http://www.mediafire.com/?e6dfig812yzf8w1
Can someone have a look at my Hacx Uzi and tell me why the hell the CHAINGUN of all weapons keeps showing, even when I have told ZDoom to use completely different frames.
Thanks
Can someone have a look at my Hacx Uzi and tell me why the hell the CHAINGUN of all weapons keeps showing, even when I have told ZDoom to use completely different frames.
Thanks

Last edited by Ghostbreed on Sat Jul 13, 2013 5:32 pm, edited 1 time in total.
- ReedtheStrange
- Posts: 226
- Joined: Sun Sep 11, 2011 3:27 pm
Re: The "How do I..." Thread
A script to destroy a wall that looked better.cocka wrote:What would be the reason for that?Is there any way to script a sector tag to change?
Re: The "How do I..." Thread
But why do you need the sector tag to change? Anything you want to do should be possible without having to change a sector tag.
Re: The "How do I..." Thread
Your sprites aren't properly named. Simply add a 0 to the end of each of the names.Ghostbreed wrote:http://www.mediafire.com/?e6dfig812yzf8w1
Can someone have a look at my Hacx Uzi and tell me why the hell the CHAINGUN of all weapons keeps showing, even when I have told ZDoom to use completely different frames.
Thanks
- Ghostbreed
- Posts: 1114
- Joined: Wed Mar 24, 2010 6:19 am
Re: The "How do I..." Thread
Silly me. Now it works, thanks.
Well, looks like I made a weapon without "stealing" an already used actor. Yay!
Well, looks like I made a weapon without "stealing" an already used actor. Yay!

Re: The "How do I..." Thread
Alright, this is the challenge I am still facing:
Given a [wiki]LANGUAGE[/wiki] lump and a [wiki=CustomInventory#Using_in_DECORATE]CustomInventory[/wiki] actor, how does one [wiki]A_Print[/wiki] a specific localized string from the item's Use state? Bonus points for any solution that does not involve ACS.
Given a [wiki]LANGUAGE[/wiki] lump and a [wiki=CustomInventory#Using_in_DECORATE]CustomInventory[/wiki] actor, how does one [wiki]A_Print[/wiki] a specific localized string from the item's Use state? Bonus points for any solution that does not involve ACS.
Re: The "How do I..." Thread
Doesn't this work?
If it doesn't, then you ought to raise the issue. [wiki]A_Print[/wiki], [wiki]A_PrintBold[/wiki], and [wiki]A_Log[/wiki] should all use the same $identifier as DECORATE string properties.
Code: Select all
A_Print("$MYSTRING")
Re: The "How do I..." Thread
Unfortunately not. This just prints the "$MYSTRING" literal to the screen even if MYSTRING is defined in the LANGUAGE lump.
I agree. Where is the appropriate place to raise such an issue?A_Print, A_PrintBold, and A_Log should all use the same $identifier as DECORATE string properties.
Re: The "How do I..." Thread
Either Bug Reports or Feature Suggestion.