Absolute Text
7 replies



14.02.21 11:47:05 pm
Hey,
I am wondering if it's possible to somehow display an absolute text on the map? So it would act like an image, which has a fixed position.
The problem is I don't want to use images, since the text I wish to use/display has to be unique.
hudtxt looks like doesn't work in this case, as it's part of the hud, not the map.
Apologize, looks like Engi baby has a script already. Unfortunately it is pretty laggy.
If anyone have better option, please tell me.
I am wondering if it's possible to somehow display an absolute text on the map? So it would act like an image, which has a fixed position.
The problem is I don't want to use images, since the text I wish to use/display has to be unique.
hudtxt looks like doesn't work in this case, as it's part of the hud, not the map.

If anyone have better option, please tell me.
edited 1×, last 15.02.21 12:06:19 am
@
Marcell: There's no real way to have hudtxt on the map unlaggy - but it's still possible to do it in some loops. The best choice to have it lag free is to put image as text.

You can batch
parse at
always when calculating new position of
hudtxt2 in
move, but your main problem in here is you need to call
parse every frame and hudtxt are network heavy, so if the server isn't lag, the network most likely is.








Ah, Okay, I probably just gonna use images instead.

Have each letter of the ABC as an image and just construct sentences that way.
I will need further images later and as far as I know it's a bit limited for players. Probably just going with using one image instead.

@
Marcell: There's no real way to have hudtxt on the map unlaggy - but it's still possible to do it in some loops. The best choice to have it lag free is to put image as text.

I was also thinking to get the records from the DB using PHP (with a cron) then making text to an image (PHP libs can do this) then load those images.
edited 2×, last 15.02.21 03:19:18 pm
@
Marcell: But servertransfer.lst won't be updated till server restart.




