Victor Sfonts as Default font?

Status
Not open for further replies.

The Mighty Palm

Resident Palm Tree
Restaff
Joined
Jan 29, 2015
Messages
566
Reaction score
4,150
First Language
English
Primarily Uses
N/A
So an issue I constantly seem to have while using this very useful script, is that there are a bunch of other scripts out there that insist on using the "default" font instead of my bitmap font.

This is jarring, and ugly and I wanna fix it.

So what I want to ask is: Is there a way to set Font.Defaultname or whatever to be the Victor Sfont bitmap font?
 

HexMozart88

The Master of Random Garbage
Veteran
Joined
May 15, 2016
Messages
1,879
Reaction score
3,349
First Language
English
Primarily Uses
RMVXA
I think for those scripts, you'll have to manually put in that you want to use that font. Firstly, what script are you using for that battle system?
 

The Mighty Palm

Resident Palm Tree
Restaff
Joined
Jan 29, 2015
Messages
566
Reaction score
4,150
First Language
English
Primarily Uses
N/A
It's the default Ace battle system
Using Moghunter's Battle Hud EX for the layout.

Edit: Also Victor's Actor Battlers is where the Sideview chars are coming from but that's irrelevant as it has nothing to do with the script that displays the font incorrectly.

also for a bit of extra detail

I have ALL_SFONT set to true, but there are just some scripts that are setting their own fonts and overriding it.

It says you can manually add it into the code, but it does not tell you how to go about doing so and I cannot find any information on how to do it anywhere.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
that is because you basically have to manually rewrite the code of the other scripts to change the display.
Bitmap fonts work entirely different than regular fonts, requiring a replacement of the function to draw the letter, not a replacement of the font properties. That means you have to look through all other scripts to find the places where they call any text functions that are not yet redirected, and then rewrite that code to be redirected to the bitmap font script.

That requires programming knowledge, and if you have that knowledge the change is easy to find (which is why it isn't better explained there.
But without at least a basic programming knowledge you can't make those compatibility changes, no matter how good a description you get - that is why you won't find a better description on how to manually add the code.
 

The Mighty Palm

Resident Palm Tree
Restaff
Joined
Jan 29, 2015
Messages
566
Reaction score
4,150
First Language
English
Primarily Uses
N/A
Well that makes sense, disappointing but understandable.

So what are the options. Give me some solutions if the one I suggested isn't feasible.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
there is no easy solution, or I would have mentioned it.

Your choices are only to either
1) remove the scripts that do not use the bitmap font, so that all displays are again using the bitmap fonts, but at the price of not adding those scripts' functions
2) keep the mixed display, even if it looks bad
3) remove the bitmap font script to switch everything to the regular font way
4) have compatibility patches written for every script that is not compatible

And since Ace is now Legacy and most scripters switched to MV and because such compatibility patches are rather tedious to write, the fourth option means that you would either have to learn to program yourself, or trade/pay someone for that work. I consider it rather unlikely that someone would do that for you for free.
 

The Mighty Palm

Resident Palm Tree
Restaff
Joined
Jan 29, 2015
Messages
566
Reaction score
4,150
First Language
English
Primarily Uses
N/A
I actually do have someone (a couple of people really) I can ask to do it for me if I need to.

The reason I sought a solution that I could do myself (not an "easy" solution, I dont expect this stuff to be easy) was so that I wouldnt have to bother them with it if it was unneccesary.

Thanks for the info
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
It is actually very easy to change the draw methods in every script.
If something is using the default draw method for texts, that will use either the draw_text or draw_text_ex method.
The only thing you need to do is to search for these methods in your custom scripts and replace them with the drawing method from Victor's script.
You have to set the correct argument values at the correct argument positions, but aside from that, it is not much of a hassle to do.
 

The Mighty Palm

Resident Palm Tree
Restaff
Joined
Jan 29, 2015
Messages
566
Reaction score
4,150
First Language
English
Primarily Uses
N/A

@Sixth Bless you you beautiful son of a gun.
It works perfectly. Can't thank you enough. Was super easy to understand.

I guess this is solved then. Shut it down boys.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top