No autosave message! Is that possible?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

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.

No autosave message! Is that possible?

Postby Logan MTM » Thu Jul 15, 2021 7:10 pm

Hi everyone!
There is a way to don't show this message every time a new Map begin?

Spoiler:


Thank you all!
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby wildweasel » Fri Jul 16, 2021 11:33 am

It can be disabled as a user setting somewhere in the menu; I don't think there's a way for a map or mod to hide it. Even if you did, there'd be that telltale hitch, because saving the game is by no means instantaneous.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: No autosave message! Is that possible?

Postby Logan MTM » Fri Jul 16, 2021 5:27 pm

Could I, at least, define the font?
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby AFADoomer » Fri Jul 16, 2021 7:23 pm

If you are comfortable using ZScript and don't mind replacing the status bar, you can override the ProcessNotify function and skip printing the message when the game is saving.

See the Blade of Agony status bar code here (note that I've linked to an older version of the file that provides a simpler example to follow).
User avatar
AFADoomer
 
Joined: 15 Jul 2003

Re: No autosave message! Is that possible?

Postby Logan MTM » Fri Jul 16, 2021 8:17 pm

Fascinating.
However, zscript seems like an alien language to me.
Can I consider that there is no other way than by zscript?
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby Nash » Fri Jul 16, 2021 8:43 pm

If you need to do something more complicated than what the stock functions allow, sooner or later you will have to learn ZScript because it's the only way to really hook into the guts of the game systems and code all your unconventional needs.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: No autosave message! Is that possible?

Postby Logan MTM » Sat Jul 17, 2021 6:17 am

You're right Nash. However, the Wiki needs of documentation.
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby Nash » Sat Jul 17, 2021 8:27 am

Logan MTM wrote:You're right Nash. However, the Wiki needs of documentation.


I agree with you - ZScript documentation is very poor... unfortunately this is what's scaring people away from it...
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: No autosave message! Is that possible?

Postby Logan MTM » Sat Jul 17, 2021 6:04 pm

Can someone help me in my first steps with zscript?
How to: "No autosave message!" ?
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby _mental_ » Sun Jul 18, 2021 1:45 am

Spoiler: zscript.zs
Spoiler: mapinfo.txt
You do not have the required permissions to view the files attached to this post.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: No autosave message! Is that possible?

Postby Logan MTM » Sun Jul 18, 2021 10:02 am

Thank you so damn much! :mrgreen:
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby Redneckerz » Tue Jul 20, 2021 3:56 am

Nash wrote:
Logan MTM wrote:You're right Nash. However, the Wiki needs of documentation.


I agree with you - ZScript documentation is very poor... unfortunately this is what's scaring people away from it...

There is always Marrub's ZScript docs.
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: Intel (Modern GZDoom)

Re: No autosave message! Is that possible?

Postby Logan MTM » Tue Jul 20, 2021 6:24 am

I gaveup after 500 "TODO" messages
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: No autosave message! Is that possible?

Postby Logan MTM » Fri Jul 30, 2021 6:25 pm

I'm trying to make this Statusbar code draw only the mugshot on screen!

Code: Select allExpand view
Class LOSIIStatusBar : BaseStatusBar
{
Override bool ProcessNotify(EPrintLevel printlevel, String outline)
 {
 Return gameaction == ga_autosave;
 }
}

Any help will be great!
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest