Author Topic: Background  (Read 4362 times)

y00tz

  • Autococker
  • Posts: 2742
Background
« on: April 03, 2007, 10:57:24 AM »
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

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Background
« Reply #1 on: April 03, 2007, 12: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.

y00tz

  • Autococker
  • Posts: 2742
Re: Background
« Reply #2 on: April 03, 2007, 01: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?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Background
« Reply #3 on: April 03, 2007, 01:45:13 PM »
Yea, you could use a .jpg as a background.

y00tz

  • Autococker
  • Posts: 2742
Re: Background
« Reply #4 on: April 03, 2007, 02:10:45 PM »
I appreciate the help Zorch, btw love your menus and other tweaks

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Background
« Reply #5 on: April 03, 2007, 03:03:33 PM »
Welcome. And I'm glad you like them. :)

y00tz

  • Autococker
  • Posts: 2742
Re: Background
« Reply #6 on: April 03, 2007, 09: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



btw, anyway to lose the version in the bottom right?

Eiii

  • Autococker
  • Posts: 4595
Re: Background
« Reply #7 on: April 03, 2007, 09:05:45 PM »
Going for a halflife 2ish number? ;)

y00tz

  • Autococker
  • Posts: 2742
Re: Background
« Reply #8 on: April 03, 2007, 09:11:29 PM »
;) Yeah it is 'loosely' based off of the Half-Life 2: Deathmatch menu screen.  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..


ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Background
« Reply #9 on: April 04, 2007, 02:32:48 AM »
If that menu won't mess with zorch's other menus, could you please send me the files? :D

kNoC

  • 68 Carbine
  • Posts: 261
Re: Background
« Reply #10 on: April 04, 2007, 09:20:39 AM »
i like it, reminds me of half life menus but who said that was a bad thing ?

KiLo

  • Autococker
  • Posts: 2086
Re: Background
« Reply #11 on: April 04, 2007, 09: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.
« Last Edit: April 04, 2007, 01:20:12 PM by KiLo »

GreenAffairz

  • Autococker
  • Posts: 515
Re: Background
« Reply #12 on: April 04, 2007, 12:46:21 PM »
that background looks sweet, gj.

y00tz

  • Autococker
  • Posts: 2742
Re: Background
« Reply #13 on: April 04, 2007, 02: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

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Background
« Reply #14 on: April 04, 2007, 04: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.

kNoC

  • 68 Carbine
  • Posts: 261
Re: Background
« Reply #15 on: April 04, 2007, 07: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...

y00tz

  • Autococker
  • Posts: 2742
Re: Background
« Reply #16 on: April 07, 2007, 07: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