Forum | Release Beta10.94

You must be logged in to post Login Register

Search Forums:


 






Release Beta10.94

No Tags
UserPost

6:25 pm
October 10, 2009


saluk

Admin

posts 144

Some yummy fixes in 1094 – cross examinations get less hacky and more sane, NAMETAGS can be any length and not look bad, and you can generate random values!

From the changelog:

- Some more fixes to hidden statements
    – Fix to gui mouse event handler, next button sometimes hard to click (thanks StBacchus for helping
        pinpoint this longstanding bug!)
    – Add the "random" command to generate random numbers. "random x 1 10″ will set x to a number
        from 1 to 10.
    – The underscore character in nametags/character names will translate into spaces when the
        name is printed
    – The nametag bar expands horizontally to fit the width of the nametag
        (The 3 image files, nt_left, nt_middle, and nt_right in art/general control how each part of
        the name bar looks. The nt_left controls the left corner, nt_middle is repeated along
        the length of the bar, and nt_right is displayed on the right corner.)
        You can add arbitrary spacing in the name (extra padding) by adding spaces at the beginning
        or end of the nametag: char guy nametag=_______Guy_______" will have a longer
        name bar.
    – safety mode for resolution changes, will revert back after a few seconds if the change is not OK'ed
    – fading does not corrupt the original image (fixes ever darkening lists)
    – black fade in for lists and investigation buttons is back in single screen mode (and optionally in
        double screen mode, if _double_screen_list_fade is true)

1:36 am
October 11, 2009


RandomJibberish

Britain

Member

posts 14

All nice updates~


The expanding namebox is nice, but because of the namebox is transparent you can see the textbox behind it. Is there a way to make it hide the correct amount of textbox behind?

1:04 am
October 12, 2009


saluk

Admin

posts 144

I can't see the issue you are reporting. Do you think you could post a screenshot that illuminates it? As far as I know, the namebox and textbox do not even overlap, so the transparency of one or the other shouldn't make a difference.

6:26 am
October 12, 2009


RandomJibberish

Britain

Member

posts 14

Post edited 1:26 pm – October 12, 2009 by RandomJibberish


Ah, I see the problem now. I replaced the textbox and namebox with actual game rips, which do overlap :/


Before I had this:

 


But with the new format I deleted the one with the textbox, but that meant the overlap messed up :P


8:07 am
October 12, 2009


saluk

Admin

posts 144

Ah, I see. I think you sent me those before but I never incorporated them (sometimes it is hard to keep track of what I've been sent or asked!) 

You probably need to override the expandable nametag graphics then. I'm not sure if the pixels will work out right, but try editing art/general/nt_middle nt_right, and nt_left. If you eliminate the alpha for the lower few pixels than it should overwrite the textbox. You might even try overridding those with versions from the rip.

I would change the default one with the rip, but it can mess up how the text is displayed, and if I change how the text is displayed, it can mess up other peoples games if they overrode the textbox :) But I'll put it as the default one in beta 11.

10:04 pm
October 12, 2009


RandomJibberish

Britain

Member

posts 14

I'll mess with it a little and try to get it to work later~

3:21 am
October 19, 2009


Tvrtko

Koprivnica, Croatia

Member

posts 5

Great update, Pals! Cool

Keep on keepin' on!

6:27 pm
October 21, 2009


saluk

Admin

posts 144

Thanks Tvrtko, glad you like it! Any further requests?

12:52 pm
October 22, 2009


RandomJibberish

Britain

Member

posts 14

Actually, I think I have a better way of dealing with the textbox problems. Would it be possible to add the option to use your own image as a namebox too? You could make ones the right size with longer names in. This'd add more game accuracy too.

10:27 am
October 24, 2009


saluk

Admin

posts 144

Yes, this is not hard to do. I think a compromise with a better looking default with auto-stretch would be better though. No reason not to do both!  I can make the auto version erase the top of the textbox based on how long the nametag is, instead of overlapping.


Look for these in b10.95.

12:10 am
February 26, 2010


saluk

Admin

posts 144

Post edited 12:11 am – February 26, 2010 by saluk


Textbox update is still planned for next release. Currently, textbox_.png is going away (default textbox background is textbox_2.png, textbox_old.png is available, and the image can be chosen in-game by setting a variable), and you will have controls to use a different nametag image, with or without text, as well as positioning the textbox, nametag image, and nametag text separately. Hopefully that is enough.

If you have done hacks to get the old style to work it may break in 0.95.

No Tags