Digital Paint Discussion Board

Development => General Development => Topic started by: y00tz on April 03, 2007, 12:57:24 PM

Title: Background
Post by: y00tz on April 03, 2007, 12:57:24 PM
First, the background of the main menu from what I've read/experimented with is just 'backtile_inv.tga' inverted and tiled, correct?

Second, I need to edit the source and recompile to change the background from a tiled TGA to a single JPG, can this be verified also?

Cheers,
y00tz
Title: Re: Background
Post by: Zorchenhimer on April 03, 2007, 02:36:41 PM
Recompile for the menu? Just go into "\pball\menus\main_.txt" and add a "background" variable in the beginning and have it point to a targa file that you have tiled to fit your screen. That way is allot easier.

Also, I'm pretty sure that "backtile_inv.tga" is not tiled, but stretched. But I could be wrong on this one.
Title: Re: Background
Post by: y00tz on April 03, 2007, 03:08:55 PM
Recompile for the menu? Just go into "\pball\menus\main_.txt" and add a "background" variable in the beginning and have it point to a targa file that you have tiled to fit your screen. That way is allot easier.

Ah, hmm.  I tried this and the targa was 4.8 megs, (the JPG counterpart was merely 125kb), is it not possible to use a bg variable and have a jpg?
Title: Re: Background
Post by: Zorchenhimer on April 03, 2007, 03:45:13 PM
Yea, you could use a .jpg as a background.
Title: Re: Background
Post by: y00tz on April 03, 2007, 04:10:45 PM
I appreciate the help Zorch, btw love your menus and other tweaks
Title: Re: Background
Post by: Zorchenhimer on April 03, 2007, 05:03:33 PM
Welcome. And I'm glad you like them. :)
Title: Re: Background
Post by: y00tz on April 03, 2007, 11:01:26 PM
Anyway.. here's how it turned out.. still wish I could learn to make a JPG be a static background without crashing, thanks though!

Click to enlarge, and be sure to let me know if you like it or want the files

(http://img182.imageshack.us/img182/9149/sshot043uy4.jpg) (http://img182.imageshack.us/img182/9149/sshot043uy4.jpg)

btw, anyway to lose the version in the bottom right?
Title: Re: Background
Post by: Eiii on April 03, 2007, 11:05:45 PM
Going for a halflife 2ish number? ;)
Title: Re: Background
Post by: y00tz on April 03, 2007, 11:11:29 PM
;) Yeah it is 'loosely' based off of the Half-Life 2: Deathmatch menu screen (http://upload.wikimedia.org/wikipedia/en/2/22/HL2DM_splash.jpg).  Would have been a lot closer but I don't think PB supports TGA's over 4 megs or over 1000 pixels, IDK, but it did NOT like it..

Title: Re: Background
Post by: ViciouZ on April 04, 2007, 04:32:48 AM
If that menu won't mess with zorch's other menus, could you please send me the files? :D
Title: Re: Background
Post by: kNoC on April 04, 2007, 11:20:39 AM
i like it, reminds me of half life menus but who said that was a bad thing ?
Title: Re: Background
Post by: KiLo on April 04, 2007, 11:23:58 AM
btw, anyway to lose the version in the bottom right?

Does it really matter if you can see the version. Even with it you can still see the background, which I like.
Title: Re: Background
Post by: GreenAffairz on April 04, 2007, 02:46:21 PM
that background looks sweet, gj.
Title: Re: Background
Post by: y00tz on April 04, 2007, 04:15:57 PM
Here are the files for anyone who likes it or wants it

You can change 'black.tga' to any color in Photoshop or wahtever, and replace my image with your own, wahlah.  Or just keep it, whichever you fancy.

(The menu in the files is slightly different than in the picture, just for aesthetics)

Cheers,
y00tz
Title: Re: Background
Post by: jitspoe on April 04, 2007, 06:15:07 PM
The game crashes if you have very large textures that aren't a power of 2 in size and have to be re-scaled in-game.  You should always make your texture sizes a power of 2 (128, 256, 512, 1024, etc.)  I'm guessing that's probably the issue you hit.  Looks like a hl2 mod now, but it looks good.
Title: Re: Background
Post by: kNoC on April 04, 2007, 09:05:38 PM
downloaded it, backed up my old main.txt and looks nice...
good work, maybe you can do the other menu's to to match this one somehow, kinda like a scheme, because when you goto the other menus its regular old paintball (which is cool) but would be nice if you did the rest, would appreciate it, and make your menu that more kick ass 8^)

only thing id say wrong with is, is the picture, its just a guy looking at a wooden board, so thats kinda lame...
Title: Re: Background
Post by: y00tz on April 07, 2007, 09:47:32 AM
If that menu won't mess with zorch's other menus, could you please send me the files? :D

I tested it with Zorch's latest menus, menus4-7.zip, and it works great. The files are attached in my last post.


Cheers,
y00tz