Textures Ingame Editor -
OKStyle - 15.10.2011
This is beta version for new futures of
0.3d RC5-3. As the recruitment of the texture name, I get the text in Zamaroht's awesome TD editor, I quickly concocted a mini-script to control texture. While he was not released an update, use.
Code:
/txd [id] [name] - textdraw's id and name of file:texture (ex: /txd 1 LD_CARD:cdback)
/mode [id] (0 - move, 1 - scale)
/tdpos - show X, Y, Weight, Height
Download:
http://pastebin.com/63u7aXzR
Re: TXD Ingame Editor -
Zh3r0 - 15.10.2011
How about /savetd ?
And save it in a specific file...
Good job! Gotta love the possibilities that are now available with this new update <3
Re: TXD Ingame Editor -
OKStyle - 15.10.2011
Quote:
Originally Posted by Zh3r0
How about /savetd ?
|
/tdpos and write to file manually
This is temporary script, I thins Zamaroht gonna update his best editor.
AW: TXD Ingame Editor -
xX60CentXx - 15.10.2011
Nice
Re : TXD Ingame Editor -
Habdel - 15.10.2011
Wow awesome ! .dff is next ?
Re: TXD Ingame Editor -
Ricop522 - 16.10.2011
Nice work
Re: TXD Ingame Editor -
Mr_Scripter - 16.10.2011
Cool Rep++
Re: TXD Ingame Editor -
Kazuo - 16.10.2011
awesome bro .. !! look good .
AW: TXD Ingame Editor -
Meta - 16.10.2011
how to scale it o.O
EDIT: I think my GM nocks the FS out, gotta try with area51
EDIT: nope, nothing happens. It's just hanging around
EDIT: Oh no! It's moving! Like a snail :O
EDIT: No, it doesn't move at all. Please help me out -.-
Re: TXD Ingame Editor -
TheLazySloth - 16.10.2011
That's cool, I'm going to attempt something like this now =] +rep
Re: AW: TXD Ingame Editor -
OKStyle - 16.10.2011
Quote:
Originally Posted by Meta
how to scale it o.O
|
/mode 1 and left, right, up & down keys.
Quote:
Originally Posted by Meta
EDIT: No, it doesn't move at all. Please help me out -.-
|
/txd 666 LD_CARD:cdback
/mode 0
and thoose keys )
Re: TXD Ingame Editor -
iMonk3y - 16.10.2011
Wait! I've missed something... what it was? This is entirely new revelation for me. Well ahh, must go find out what's new in sa-mp...
Good job by the way.
Re: TXD Ingame Editor -
int3s0 - 16.10.2011
I thought you made in game editor for textures wich are on objects, skins etc... You should use another name instead of TXD Ingame Editor.
Re: TXD Ingame Editor -
OKStyle - 16.10.2011
Topic Edited...
Re: TXD Ingame Editor -
Zh3r0 - 16.10.2011
Here's something I've spotted...
You use "Mode" here but in OnPlayerUpdate you use "Editing" it will never be called because variable "Editing" will never get value 1.
pawn Code:
if(strcmp(cmd, "/mode", true) == 0)
{
new tmp[30];
tmp = strtok(cmdtext, idx);
SetPVarInt(playerid, "Mode", strval(tmp));
return 1;
}
And here you use this:
pawn Code:
if(GetPVarInt(playerid, "Editing") == 0) return 1;
OnPlayerUpdate will never be called.
pawn Code:
if(GetPVarInt(playerid, "Mode") == 1) SetPVarFloat(playerid, "X", GetPVarFloat(playerid, "X") - 1.0);
else if(GetPVarInt(playerid, "Mode") == 2) SetPVarFloat(playerid, "W", GetPVarFloat(playerid, "W") - 1.0);
Also change values 0 and 1 to 1 and 2.
Re: TXD Ingame Editor -
rbN. - 16.10.2011
I don't get it.. Why is this better than Zamaroths? If your saying that it doesn't support font style 4, you can just change one line and you've updated it already..
Re: TXD Ingame Editor -
Zh3r0 - 16.10.2011
Quote:
Originally Posted by RobinOwnz
I don't get it.. Why is this better than Zamaroths? If your saying that it doesn't support font style 4, you can just change one line and you've updated it already..
|
Not really, you must add folder checks like checking if the name entered corresponds to any folder,because I noticed it crashes when a wrong folder is entered.
Also a check for the files. + a special dialog where edit the size, instead of clicking on "Textdraw box" and whatever.
Get me? O-o
Re: TXD Ingame Editor -
Niko_boy - 16.10.2011
Amzing , i love it!
Re: TXD Ingame Editor -
skullmuncher1337 - 16.10.2011
AHHHH strcmp! it burns!
lol jk this is nice
Re: TXD Ingame Editor -
OKStyle - 16.10.2011
Quote:
Originally Posted by Zh3r0
Here's something I've spotted...
|
Add to cmd /txd line:
pawn Code:
SetPVarInt(playerid, "Editing", 1);