Since Alias no longer works, is there an alternative?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 497
- Joined: Thu Oct 31, 2013 12:33 pm
Since Alias no longer works, is there an alternative?
Due to the recent update in 3.2.4, it seems using Alias in a KEYCONF lump to execute an acs script no longer works. Is there an alternative to this or no?
-
-
- Posts: 3819
- Joined: Sun Aug 07, 2011 4:32 am
Re: Since Alias no longer works, is there an alternative?
Please post a runnable sample.
-
- Posts: 13793
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Since Alias no longer works, is there an alternative?
Keyconf was not touched and all mods that I've used that use it work fine.
As _mental_ said we need an example to figure out what's wrong.
As _mental_ said we need an example to figure out what's wrong.
-
- Posts: 497
- Joined: Thu Oct 31, 2013 12:33 pm
Re: Since Alias no longer works, is there an alternative?
Ah, okay, gimme a bit, just woke up, I'll whip something up later.
-
- Posts: 497
- Joined: Thu Oct 31, 2013 12:33 pm
Re: Since Alias no longer works, is there an alternative?
Apologies for the double post, but, I've made the example.
When you're using gzdoom 3.2.3, using this file I've uploaded, if you run it in doom2.wad, start a new game, and in console type "give all", you'll be given 5 each of a carryable sphere item, you should see them in the inventory bar. If you go into the options menu, on the bottom there will be a new option called "Sphere Carry Options", and there will be a set of 4 options, the first one removes all of the spheres from your inventory, and the others remove the respective types. if you click one, and go out of the menu to the normal game, you'll get 3 things logged to console, "Removed CarrySouls", "Removed CarryInvulns", and "Removed CarryBlurs", and if you try and look in your inventory, all of the carryable spheres should be gone.
If you try and do the same thing in gzdoom 3.2.4, you'll be met with
And all the items will still be in your inventory bar.
When you're using gzdoom 3.2.3, using this file I've uploaded, if you run it in doom2.wad, start a new game, and in console type "give all", you'll be given 5 each of a carryable sphere item, you should see them in the inventory bar. If you go into the options menu, on the bottom there will be a new option called "Sphere Carry Options", and there will be a set of 4 options, the first one removes all of the spheres from your inventory, and the others remove the respective types. if you click one, and go out of the menu to the normal game, you'll get 3 things logged to console, "Removed CarrySouls", "Removed CarryInvulns", and "Removed CarryBlurs", and if you try and look in your inventory, all of the carryable spheres should be gone.
If you try and do the same thing in gzdoom 3.2.4, you'll be met with
Code: Select all
Invalid Command For Menudef/Zscript: RemoveCarrySpheres
Invalid Command For Menudef/Zscript: RemoveCarrySoul
Invalid Command For Menudef/Zscript: RemoveCarryInvuln
Invalid Command For Menudef/Zscript: RemoveCarryBlur
You do not have the required permissions to view the files attached to this post.
-
- Posts: 13793
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Since Alias no longer works, is there an alternative?
Code: Select all
//test
Alias RemoveCarrySoul "pukename RemoveAllCarrySoul"
Alias RemoveCarryInvuln "pukename RemoveAllCarryInvuln"
Alias RemoveCarryBlur "pukename RemoveAllCarryBlur"
Alias RemoveCarrySpheres "RemoveCarrySet"
Alias RemoveCarrySet "pukename RemoveAllCarrySoul; pukename RemoveAllCarryInvuln; pukename RemoveAllCarryBlur"
What will work is using the actual "pukename" commands.
"pukename", "puke", "event", "netevent", and "special" are all valid from MENUDEF, and they will work.
-
- Posts: 497
- Joined: Thu Oct 31, 2013 12:33 pm
Re: Since Alias no longer works, is there an alternative?
Huh, well alright, I'll do that then, thanks!