Post: Mw2 sprx text align - need help
03-02-2017, 08:32 PM #1
xPurpBoyyx
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({});
Okay, so I started this SPRX in early September of 2016. It is intended to be a 'Remaster' of the old KBrizzle Tree Patch. But my question is, How do I align the text to the left ?

Example:


This text is aligned
to the
left

So I can get this sprx near identical to the real KBrizzle tree patch. I can't work on the scrollbar until i can change the text alignment :/ Please help.

(I'm trying to align the sub menus to the left)

You must login or register to view this content.
Last edited by xPurpBoyyx ; 03-02-2017 at 10:07 PM. Reason: Needed help
03-03-2017, 05:14 AM #2
mrtn
Little One
Originally posted by xPurpBoyyx View Post
Okay, so I started this SPRX in early September of 2016. It is intended to be a 'Remaster' of the old KBrizzle Tree Patch. But my question is, How do I align the text to the left ?

Example:


This text is aligned
to the
left

So I can get this sprx near identical to the real KBrizzle tree patch. I can't work on the scrollbar until i can change the text alignment :/ Please help.

(I'm trying to align the sub menus to the left)

You must login or register to view this content.


    
elem->elem.alignOrg = 1;
elem->elem.alignScreen = 1;

Should do the trick

The following user thanked mrtn for this useful post:

xPurpBoyyx
03-03-2017, 05:52 AM #3
xPurpBoyyx
Bounty hunter
Originally posted by mrtn View Post
    
elem->elem.alignOrg = 1;
elem->elem.alignScreen = 1;

Should do the trick


Thanks, I'll give it a try.
Also, if you don't mind me asking. Do you know how to give killstreaks in sprx?
I tried giveweap like you would for walking ac130 but it didn't work :/
03-03-2017, 06:07 AM #4
mrtn
Little One
Originally posted by xPurpBoyyx View Post
Thanks, I'll give it a try.
Also, if you don't mind me asking. Do you know how to give killstreaks in sprx?
I tried giveweap like you would for walking ac130 but it didn't work :/


You have to reverse the gsc function "giveKillstreak" but it's not the easiest job. Shark did a semi-working way but that's for MW3
03-03-2017, 06:21 AM #5
SC58
Former Staff
Originally posted by mrtn View Post
    
elem->elem.alignOrg = 1;
elem->elem.alignScreen = 1;

Should do the trick


or you can use UI_TextWidth / UI_TextHeight

The following user thanked SC58 for this useful post:

xPurpBoyyx
03-03-2017, 01:47 PM #6
xPurpBoyyx
Bounty hunter
Originally posted by mrtn View Post
You have to reverse the gsc function "giveKillstreak" but it's not the easiest job. Shark did a semi-working way but that's for MW3


Yeah, don't know how to do that yet lol, I only asked because I met someone who could do it in a rtm tool the other day. I was gonna just rewrite it for sprx :P

Originally posted by SC58 View Post
or you can use UI_TextWidth / UI_TextHeight


Thank you, I'll try this also to see which one works the best.
03-28-2017, 05:18 AM #7
Father Luckeyy
Retired - Lead Content Manager
Originally posted by xPurpBoyyx View Post
Okay, so I started this SPRX in early September of 2016. It is intended to be a 'Remaster' of the old KBrizzle Tree Patch. But my question is, How do I align the text to the left ?

Example:


This text is aligned
to the
left

So I can get this sprx near identical to the real KBrizzle tree patch. I can't work on the scrollbar until i can change the text alignment :/ Please help.

(I'm trying to align the sub menus to the left)

You must login or register to view this content.


What is the status of your issue?

The following user thanked Father Luckeyy for this useful post:

xPurpBoyyx
03-29-2017, 05:19 PM #8
xPurpBoyyx
Bounty hunter
Originally posted by Dr.
What is the status of your issue?


It's been fixed. Thanks <3

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo