Page 1 of 1

No autosave message! Is that possible?

PostPosted: Thu Jul 15, 2021 7:10 pm
by Logan MTM
Hi everyone!
There is a way to don't show this message every time a new Map begin?

Spoiler:


Thank you all!

Re: No autosave message! Is that possible?

PostPosted: Fri Jul 16, 2021 11:33 am
by wildweasel
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.

Re: No autosave message! Is that possible?

PostPosted: Fri Jul 16, 2021 5:27 pm
by Logan MTM
Could I, at least, define the font?

Re: No autosave message! Is that possible?

PostPosted: Fri Jul 16, 2021 7:23 pm
by AFADoomer
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).

Re: No autosave message! Is that possible?

PostPosted: Fri Jul 16, 2021 8:17 pm
by Logan MTM
Fascinating.
However, zscript seems like an alien language to me.
Can I consider that there is no other way than by zscript?

Re: No autosave message! Is that possible?

PostPosted: Fri Jul 16, 2021 8:43 pm
by Nash
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.

Re: No autosave message! Is that possible?

PostPosted: Sat Jul 17, 2021 6:17 am
by Logan MTM
You're right Nash. However, the Wiki needs of documentation.

Re: No autosave message! Is that possible?

PostPosted: Sat Jul 17, 2021 8:27 am
by Nash
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...

Re: No autosave message! Is that possible?

PostPosted: Sat Jul 17, 2021 6:04 pm
by Logan MTM
Can someone help me in my first steps with zscript?
How to: "No autosave message!" ?

Re: No autosave message! Is that possible?

PostPosted: Sun Jul 18, 2021 1:45 am
by _mental_
Spoiler: zscript.zs
Spoiler: mapinfo.txt

Re: No autosave message! Is that possible?

PostPosted: Sun Jul 18, 2021 10:02 am
by Logan MTM
Thank you so damn much! :mrgreen:

Re: No autosave message! Is that possible?

PostPosted: Tue Jul 20, 2021 3:56 am
by Redneckerz
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.

Re: No autosave message! Is that possible?

PostPosted: Tue Jul 20, 2021 6:24 am
by Logan MTM
I gaveup after 500 "TODO" messages

Re: No autosave message! Is that possible?

PostPosted: Fri Jul 30, 2021 6:25 pm
by Logan MTM
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!