Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 12 Dec 2024, 19:49

All times are UTC [ DST ]




Post new topic Reply to topic  [ 323 posts ]  Go to page 1, 2, 3, 4, 5 ... 33  Next
Author Message
PostPosted: 23 Feb 2008, 00:09 
Offline

Joined: 28 Jan 2008, 21:55
Posts: 8
Hello everyone, I've been reading these forums and getting information from them well over a year now and sadly, this is my first post. I've had my triplehead2go for about a year and I first want to say thank you to all those that have provided solutions to make games better in triplehead2go resolutions.

I've always felt a little bad that I couldn't help contribute with making games better with FOV's and Centered Huds, because I'm not a programmer or script writer, but browsing around the forums this week, I saw an area I can help contribute too!

Mobster007 posted his CS: S centered HUD in this topic here.
http://www.widescreengamingforum.com/node/8579

I took a a look at the changes in the script and figured, hey I can do that! So a friend and I sat down and started working on the changes and we've got the hud cenetered in TF2. This fix only works for 3840X1024





http://files.filefront.com/Teamfortress+2+UI+Tweak/;9684253;/fileinfo.html

Place the script file in your Steamsteamappsteam fortress 2tfscripts if you don't have a script folder, create one.

I'm currently working on changes for Half-life 2, episode 1 and 2. I don't own DoD: S to be able to work on that right now. But I hope everyone enjoys the TF2 script.


Top
 Profile  
 


PostPosted: 23 Feb 2008, 00:31 
Offline
Editors
Editors
User avatar

Joined: 27 Jul 2004, 17:42
Posts: 3436
Great stuff ! ... 8)
Welcome to the forum ... :D


Top
 Profile  
 
PostPosted: 23 Feb 2008, 04:04 
Offline

Joined: 28 Feb 2007, 15:34
Posts: 104
Awesome Stuff! I'll let Valve know to take a look at this.

Cheers!
Mark


Top
 Profile  
 
PostPosted: 23 Feb 2008, 08:18 
Offline
Insiders
Insiders
User avatar

Joined: 19 Sep 2006, 16:25
Posts: 1055
Location: Ruckersville, Virginia
Does this file also work with the mini-hud enabled?

BTW great job, I took a crack at it and didn't get nearly this far. I miss the hud script for CSS... it was so much simpler. :(

Are there any hud elements that this file does not move to the center screen?

EDIT
wow im so stupid. I could've done this months ago. I had tried going about it by editing the file for each individual hud element. Only got as far as getting the health numbers to move :evil:

EDIT AGAIN
Minimode has an issue with the ammo element. I'll leave fixing it up to you though since your the author Fudgemaker.

The red area of course being the center screen.

_________________
EVGA GeForce GTX 970 SC ACX 2.0 3.5GB | 3 X LG Flatron 24EA53VQ in Nvidia Surround | Optoma HD20


Top
 Profile  
 
PostPosted: 28 Feb 2008, 00:46 
Offline
Insiders
Insiders
User avatar

Joined: 22 Aug 2007, 19:00
Posts: 647
This is awesome. I've been waiting for this one for a while. Keep up the good work Fudgemaker17!

EDIT: I suggest people make the file read-only after they put it into their scripts folder, since my file got deleted by itself one time for some reason.


Top
 Profile  
 
PostPosted: 04 Mar 2008, 06:32 
Offline

Joined: 06 Mar 2006, 06:55
Posts: 191
You're going to be real popular around here if you keep it up. Thx.


Top
 Profile  
 
PostPosted: 05 Mar 2008, 21:31 
Offline
Insiders
Insiders
User avatar

Joined: 22 Aug 2007, 19:00
Posts: 647
Ok, this inspired me to try to make my own Pirates Vikings Knight II (2.0) fixed HUD.

This is what I've figured out so far..

X,Y coordinates are mapped to a 640x480 rectangle and stretched to any other resolution. "r" and "c" may be prepended to a coordinate to make it justify to the right or center accordingly. (I assume r just adds 640 to the coordinate, c just adds 320 to the coordinate when it comes to horizontals).

"wide" and "tall" attributes do not seem to matter.

So are my thoughts correct so far? All one would need is to do is to add 213 pixels (1/3 of 640) to the "xpos" "x" values and subtract 213 pixels to the "xpos" "-x" values to make it work on 3 monitors.

Would it always map the coordinates to 640x480? Or is there some values in the HudLayout.res that can be changed to make it map to some arbitrary resolution?

Also is there any way I can get the default HudLayout.res? For mods it is in the scripts folder, but for Valve games it is not.

-------

EDIT: After playing around with the HudLayout.res of PVK2 I see that the mapping thing for 640x480 doesn't really hold up. I had to add ~600 pixels to items to move them to the right, and add ~600 to rX items to move them to the left. I wish there was a way to know this in advance instead of just experimenting.


Is it is supposed to be possible to move the chat to the side? The TF2 hud does not do do that (but it moves almost everything else to the middle).

Anyway, I've moved the health bar/armor bar/charge bar to the middle, the ammo count to the middle, and the score/timer to the middle. The only problem is the score/timer is 3 icons but they're really far apart so the pirate icon overlaps with the charge bar. Is there a way to control distance between icons for HUD items that consist of more than 1 icon?


Top
 Profile  
 
PostPosted: 13 Apr 2008, 07:29 
Offline
Insiders
Insiders
User avatar

Joined: 19 Sep 2006, 16:25
Posts: 1055
Location: Ruckersville, Virginia
To fix minimode with this file go to the ammo hud element near the top and modify this line
Code:

   "xpos_minmode"   "c210"   [$WIN32]


The 210 is the new value. 235 has it cut off by the bezels.

Happy triplehead!

_________________
EVGA GeForce GTX 970 SC ACX 2.0 3.5GB | 3 X LG Flatron 24EA53VQ in Nvidia Surround | Optoma HD20


Top
 Profile  
 
PostPosted: 07 May 2008, 00:47 
Offline
Insiders
Insiders
User avatar

Joined: 22 Aug 2007, 19:00
Posts: 647
Hi,

With new goldrush update it seems using this script makes the metal count for Engineers disappear.

Also in tournament mode (mp_tournament 1) you can press F4 to start the tournament, but the window that pops up when you hit F4 is invisible.


Top
 Profile  
 
PostPosted: 11 Dec 2008, 16:51 
Offline
Insiders
Insiders
User avatar

Joined: 22 Aug 2007, 19:00
Posts: 647
Hi all,

I updated the HUD for 3840x1024... works with latest version, works with tournament mode, arena mode, etc. Basically I'm pretty sure everything works for TF2 as of today.

Let me know if something doesn't!

(scroll down for the latest url)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 323 posts ]  Go to page 1, 2, 3, 4, 5 ... 33  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group