Yes, for example i want to see SET_TEXT_FONT(1) then press Square and then see what SET_TEXT_FONT(2) looks like.... So on and so forth. possible?
Printable View
see this thread , its all about customizing a string ...
http://psx-scene.com/forums/f276/cus...things-107029/
if fonts can be switched within a string, i bet its in a similar way ... good luck ;)
i think i was wrong pointing the " customize string " thread ... however you may find it usefull anyway.
i took the liberty to re-write your test code ... try this ( untested )
use " dpad up + circle " to trigger ...Code:#include <natives.h>
#include <common.h>
#include <consts.h>
#include <types.h>
#include <strings.h>
//############### Define Ps3 GamePad ################################//
#define CIRCLE 0x11
#define DPAD_UP 0x8
//############### Define Ps3 GamePad ################################//
uint test = 0;
// Button Press Activator Shortcut
bool IsKeyPressed(uint iKey , uint iJey)
{
return IS_BUTTON_PRESSED(0,iKey) && IS_BUTTON_JUST_PRESSED(0,iJey);
}
void text(void)
{
SET_TEXT_BACKGROUND(0);
SET_TEXT_SCALE(0.88, 1.08);
SET_TEXT_COLOUR(255, 0, 0, 255);
SET_TEXT_EDGE(1, 0, 0, 0, 0);
SET_TEXT_RIGHT_JUSTIFY(0);
SET_TEXT_DROPSHADOW(0, 255, 255, 255, 255);
}
void testF(void)
{
if(IsKeyPressed(DPAD_UP,CIRCLE))
{
if(test == 0)
{
SET_TEXT_FONT(0);
text();
DISPLAY_TEXT_WITH_LITERAL_STRING(0.36,0.865, "STRING", "test a");
test = 1;
}
else if(test == 1)
{
SET_TEXT_FONT(1);
text();
DISPLAY_TEXT_WITH_LITERAL_STRING(0.36,0.865, "STRING", "test b");
test = 2;
}
else if(test == 2)
{
SET_TEXT_FONT(2);
text();
DISPLAY_TEXT_WITH_LITERAL_STRING(0.36,0.865, "STRING", "test c");
test = 3;
}
else if(test == 3)
{
SET_TEXT_FONT(3);
text();
DISPLAY_TEXT_WITH_LITERAL_STRING(0.36,0.865, "STRING", "test d");
test = 4;
}
else if(test == 4)
{
SET_TEXT_FONT(4);
text();
DISPLAY_TEXT_WITH_LITERAL_STRING(0.36,0.865, "STRING", "test e");
test = 5;
}
else if(test == 5)
{
SET_TEXT_FONT(5);
text();
DISPLAY_TEXT_WITH_LITERAL_STRING(0.36,0.865, "STRING", "test f");
test = 0;
}
}
}
void main(void)
{
THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
while(true)
{
WAIT(0);
testF();
}
}
it is set to test fonts from " 0 " to " 5 " ... good luck !
Maybe I'm missing something, but you can 'see' the fonts here: SET TEXT FONT - GTAModding
Edit: I see you posted the MPH text sco, so I'm sure you already figured everything out you needed
Hello is that you have the source code to change the Model_ player?
Hey,
What's the native for dimming the background?
I think you can dim the screen by invoking DO_SCREEN_FADE_OUT(), and passing it the amount of time it takes for the screen to fade out. You can use DO_SCREEN_FADE_IN() to reverse the fade, and again it takes the amount of time to fade in as a parameter. Not sure what unit it takes. Try both seconds and milliseconds.
There is also one called FORCE_LOADING_SCREEN(), it looks like this will show the "LOADING..." text in the bottom right-hand corner though, which might not be what your looking for.
Do you still want to see the UI, and stuff? So, it's like an overlay that is a little bit transparent?
Also, Colt, I think you may have posted this in the wrong section.
No, I posted in the general help thread for help :lol:
Have you ever used 3's ModManager? Or updated to XMC v4 yet? The background to those menus are dimmed, not pitch black, but dimmed slightly. I just like the look of it.
Perhaps you are right, but I'm not sure it's quite like that. Hopefully Emman can tell us what it is when he's next on.
And yeah, if you can find a video for XMC v4 or ModManager (There should be one floating around here somewhere, just check some of sith's vids, he uses it in some of them) you'll see the background of the menu (The actual game in the background) is slightly dimmed. It looks nice.
Hopefully when you see it you can understand what I mean.
Thanks for your help though. :)