[MENUDEF] CallFunction - paste returned information

Moderator: GZDoom Developers

Post Reply
User avatar
Fused
Posts: 80
Joined: Wed Jul 02, 2014 2:44 pm
Contact:

[MENUDEF] CallFunction - paste returned information

Post by Fused »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [MENUDEF] CallFunction - paste returned information

Post by Graf Zahl »

Other games are not Doom. Most importantly, the game is halted when the menu is on, which makes this problematic.
User avatar
Fused
Posts: 80
Joined: Wed Jul 02, 2014 2:44 pm
Contact:

Re: [MENUDEF] CallFunction - paste returned information

Post by Fused »

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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [MENUDEF] CallFunction - paste returned information

Post by Graf Zahl »

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.
User avatar
Fused
Posts: 80
Joined: Wed Jul 02, 2014 2:44 pm
Contact:

Re: [MENUDEF] CallFunction - paste returned information

Post by Fused »

I see. What about just looking up variables and not going through a script?
User avatar
Fused
Posts: 80
Joined: Wed Jul 02, 2014 2:44 pm
Contact:

Re: [MENUDEF] CallFunction - paste returned information

Post by Fused »

bump.

And to add to that, what about the whole thing, but online? Since online is not actually paused.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [MENUDEF] CallFunction - paste returned information

Post by Graf Zahl »

Even worse because it has to be synchronized with all the players in the game. It may be doable but is certainly not trivial.
User avatar
Fused
Posts: 80
Joined: Wed Jul 02, 2014 2:44 pm
Contact:

Re: [MENUDEF] CallFunction - paste returned information

Post by Fused »

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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [MENUDEF] CallFunction - paste returned information

Post by Graf Zahl »

Sorry, but multiplayer is not what I've been working on so I cannot say.
User avatar
Nash
 
 
Posts: 17484
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [MENUDEF] CallFunction - paste returned information

Post by Nash »

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.
User avatar
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

Post by Major Cooke »

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.
Agreed. I've wound up settling upon doing a decorate version myself.
User avatar
Fused
Posts: 80
Joined: Wed Jul 02, 2014 2:44 pm
Contact:

Re: [MENUDEF] CallFunction - paste returned information

Post by Fused »

Graf Zahl wrote:Sorry, but multiplayer is not what I've been working on so I cannot say.
Sorry, I meant this for offline gameplay too. Having this in someway would be great, no matter how.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”