[MENUDEF] CallFunction - paste returned information
Moderator: GZDoom Developers
[MENUDEF] CallFunction - paste returned information
Having a way to call acs for a menu allows someone to, for example, paste stats of the player whilst in the menu.
You see this often in other games, and having it here too could be great to show current level progress and such.
You see this often in other games, and having it here too could be great to show current level progress and such.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [MENUDEF] CallFunction - paste returned information
Other games are not Doom. Most importantly, the game is halted when the menu is on, which makes this problematic.
Re: [MENUDEF] CallFunction - paste returned information
Other games were just an example given. It's just showing the benefit, not similarities. But nevertheless, oh well.
I thought this would work as SafeCommand does a similar thing, but with console commands. Is it because of the fact that one is clientside and the other serverside?
I thought this would work as SafeCommand does a similar thing, but with console commands. Is it because of the fact that one is clientside and the other serverside?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [MENUDEF] CallFunction - paste returned information
Yes. But it's more that the thinker system that runs ACS is halted while the menu is open so if a script was started it could really mess up some things.
Re: [MENUDEF] CallFunction - paste returned information
I see. What about just looking up variables and not going through a script?
Re: [MENUDEF] CallFunction - paste returned information
bump.
And to add to that, what about the whole thing, but online? Since online is not actually paused.
And to add to that, what about the whole thing, but online? Since online is not actually paused.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [MENUDEF] CallFunction - paste returned information
Even worse because it has to be synchronized with all the players in the game. It may be doable but is certainly not trivial.
Re: [MENUDEF] CallFunction - paste returned information
I see. All in all I can image many nice possibilities for this, so if this is possible then that would be great and I should make a new thread for that probably.
I've asked someone about the synchronizing, as I'm not a developer myself. He claimed it didn't have to be synchronised at all. Are you sure that's the only solution?
I've asked someone about the synchronizing, as I'm not a developer myself. He claimed it didn't have to be synchronised at all. Are you sure that's the only solution?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [MENUDEF] CallFunction - paste returned information
Sorry, but multiplayer is not what I've been working on so I cannot say.
Re: [MENUDEF] CallFunction - paste returned information
The REAL solution is for modders to be able to make menu systems without ACS. Like in Quake where you can make custom DLLs that change the game code. Hopefully in future Doomscript will make this possible. I'm going to be honest - I'm getting sick and tired of ACS-based menus and would like to do away without them as soon as possible.
- Major Cooke
- Posts: 8206
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: GZBoomer Town
- Contact:
Re: [MENUDEF] CallFunction - paste returned information
Agreed. I've wound up settling upon doing a decorate version myself.Nash wrote:I'm going to be honest - I'm getting sick and tired of ACS-based menus and would like to do away without them as soon as possible.
Re: [MENUDEF] CallFunction - paste returned information
Sorry, I meant this for offline gameplay too. Having this in someway would be great, no matter how.Graf Zahl wrote:Sorry, but multiplayer is not what I've been working on so I cannot say.