Author Topic: Antipodes 7 HUD Overhaul (Update 11/24/10 - r6775)  (Read 47878 times)

0 Members and 2 Guests are viewing this topic.

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Just recently, support for Fixed Messages as a separate HUD gauge was added by The_E.

Code: [Select]
+Fixed Messages:
Position: ( , )

 
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Is it possible to move the FPS display? Right now it's on top of the talking head and I can't find it in the table. Also I was wondering about the missile "LAUNCHED" and "EVADED" displays, they don't show up.
Did you hear that fellas? She says I have a Meritorious Unit.

 

Offline Satellight

  • 27
  • Star Dreamer
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Quoted from initial HUD Overhaul Testing Thread:
Make sure you guys turn on all the HUD gauges in the HUD Options Menu. I know that FSO by default sets Squad Messages and Text Warnings off; originally FSO would just display them regardless of they were off or not but my code, for better or worse, does not make any such discrimination.

It's because of this.
Never far away from HLP and from a computer with an installed FreeSpace.

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Quoted from initial HUD Overhaul Testing Thread:
Make sure you guys turn on all the HUD gauges in the HUD Options Menu. I know that FSO by default sets Squad Messages and Text Warnings off; originally FSO would just display them regardless of they were off or not but my code, for better or worse, does not make any such discrimination.

It's because of this.
Yeah I really got to find out why and where those defaults are being set to off.

 
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Ugh, I thought that meant the tab in the launcher. Thanks for the tip.
Did you hear that fellas? She says I have a Meritorious Unit.

 
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Ok, here's a triple 16:10 monitor setup I made just now.  It works in the retail campaign at least, so it should be good to go:

Code: [Select]
#Gauge Config
$Base: (3840, 800)
$Required Aspect: Wide Screen
$Min: (640, 480)
$Max: (5760, 1200)
$Gauges:
+Messages:
Position: (1287, 5)
+Training Messages:
Position: (1787, 126)
+Multiplayer Messages:
Position: (1211, 248)
+Support:
Position: (1867, 558)
+Damage:
Position: (1848, 59)
+Wingman Status:
Position: (2466, 147)
+Auto Speed:
Position: (2494, 699)
+Auto Target:
Position: (2494, 673)
+Countermeasures:
Position: (2414, 625)
+Talking Head:
Position: (1287, 59)
+Directives:
Position: (1287, 288)
+Weapons:
Position: (2414, 544)
+Objective Notify:
Position: (1844, 184)
+Squad Message:
Position: (2361, 5)
+Player Shields:
Position: (2057, 692)
+Target Shields:
Position: (1673, 692)
+Escort View:
Position: (2399, 283)
+ETS Weapons:
Position: (2414, 673)
+ETS Shields:
Position: (2432, 673)
+ETS Engines:
Position: (2450, 673)
+Target Monitor:
Position: (1287, 612)
+Extra Target Data:
Position: (1287, 572)
+Radar:
Position: (1817, 612)
; If you want different types of radar running, be my guest
;+Radar Orb: 
; Position: (1815, 612)
+Afterburner Energy:
Position: (1622, 425)
+Text Warnings:
Position: (1920, 285)
+Center Reticle:
Position: (1900, 389)
+Mini Target Shields:
Position: (1905, 492)
+Throttle:
Position: (1690, 280)
+Threat Indicator:
Position: (2047, 280)
+Voice Status:
position: (1287, 169)
+Ping:
Position: (2460, 5)
+Lag:
Position: (2081, 553)
+Supernova:
Position: (1519, 179)

+Target Brackets: ; Target Brackets, Lock Indicator, Lead Indicator, and Offscreen Indicator don't need a "Position:" field.
+Lead Indicator:
+Lock Indicator:
+Offscreen Indicator:
+Hostile Triangle:
Position: (1920, 400)
+Target Triangle:
Position: (1920, 400)
+Missile Triangles:
Position: (1920, 400)
+Orientation Tee:
Position: (1920, 400)
+Weapon Energy:
Position: (2130, 425)
+Mission Time:
Position: (2503, 745)
+Kills:
Position: (2414, 648)
; FS1 specific gauge
;+Weapon Linking:
; Position: (598, 387)
; Komet's lead sight. Looks for "leadsight.ani"
;+Lead Sight: default
$End Gauges
#End

 

Offline Sushi

  • Art Critic
  • 211
Re: Antipodes 7 HUD overhaul (Update 10/24/10 - r6685)
The Lead Sight seems inaccurate when flying backwards vs a stationary target, at least in Diaspora. I'm not sure how the sight is calculated, but we might want to double-check the math on it.

Good news: this isn't the case. The lead sight works fine.

Bad news: it's a collision detection bug. I can repro it in Diaspora by flying backwards, aiming directly at a stationary fighter, and watching my shots go right through it. I'm guessing it has to do with the way that collision detection optimizes out "impossible" collision pairs, and I'm guessing it isn't correctly handling additive weapon velocity.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Damn, I hate that optimization.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Sushi

  • Art Critic
  • 211
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Damn, I hate that optimization.

Yeah, me too.  :hopping: I'll look into it in more depth when I get the chance to see if I can figure out exactly where/why it's breaking. I thought I already fixed the "additive weapon velocity screws up collision detection" bug once...

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
I found a problem with the new HUD code. :p

In FSU svn testing directory there exists mvp-hdg.tbm and in BP2 svn there also exists hdg.tbm of different name. What happens when both files are about identical and have full HUD layout? Your HUD is now rendered twice on top of each other, that's what. :D

What happens if you edit either one of the files to position HUD gauges elsewhere, like for example Directives gauge? You now have two Directives gauges. :D

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
That's pretty much expected behavior right now. If there are two layouts with the same conditions present, they're both gonna be parsed. If you guys can suggest a good fallback flow for these cases, I'd like to hear it.

 

Offline Kolgena

  • 211
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Seems like with a little bit of tweaking, with a set of red gauges and a set of blue gauges, we'll have STEREOSCOPIC HUD LAYOUTS!!!!!

ahem.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Standard behaviour: Parse only the "topmost" set (in order of loading)

Modifier would be +nocreate, to add stuff to an existing layout.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Admiral LSD

  • 27
  • Shorter of breath and one day closer to death
    • http://adphq.dyndns.org
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Check out HudGauges.tbl in the latest FSPort mediavps release.
There's a full HUD entry and it's borked.

So... any timetable on when this will be fixed? :/
00:19  * Snail cockslaps BotenAnna
00:19 -!- Snail was kicked from #hard-light by BotenAnna [Don't touch me there! RAPE!!!]

15:36 <@Stealth_T1g4h> MASSIVE PENIS IN YOUR ASS Linux

I normally enjoy your pornographic website... - Stealth
Get Internet Explorer!

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Already fixed.

edit: or not lolololol
« Last Edit: November 22, 2010, 08:43:11 am by General Battuta »

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Minecraft
    • Steam
    • Twitter
    • ModDB Feature
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Update release for 6775 is now out, see first post.
Updated to Trunk 6774.
Fixes since 6721 Release: (not listing Trunk Sync's):
Code: [Select]
------------------------------------------------------------------------
r6722 | The_E | 2010-11-10 19:17:37 -0800 (, 10 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudtarget.cpp

Fix for faulty check

------------------------------------------------------------------------
r6723 | The_E | 2010-11-10 19:33:06 -0800 (Wen, 10 Nov 2010) | 3 lines
Changed paths:
   M /branches/antipodes/code/hud/hud.cpp
   M /branches/antipodes/code/hud/hud.h
   M /branches/antipodes/code/hud/hudparse.cpp
   M /branches/antipodes/code/hud/hudreticle.cpp
   M /branches/antipodes/code/hud/hudreticle.h

Adds an XWA-style firepoint display to the standard reticle. To use it, add "Firepoint display: YES" to the center reticle gauge (after "Filename:"). Additional options are "Firepoint size:" (size in pixels, default value is 5), "Firepoint X coordinate multiplier:" (Default is 15) and "Firepoint Y coordinate multiplier:" (Default value 10)
Also adds HudGauge::renderCircle().

------------------------------------------------------------------------
r6727 | The_E | 2010-11-11 08:38:34 -0800 (Thu, 11 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudtarget.cpp

Ooops, forgot to change this to a renderString()

------------------------------------------------------------------------
r6728 | The_E | 2010-11-11 19:01:30 -0800 (Thu, 11 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/parse/sexp.cpp

The real fix for hud-set-directive

------------------------------------------------------------------------
r6730 | The_E | 2010-11-12 18:09:01 -0800 (Fri, 12 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudtargetbox.cpp

Fixing bug where the coordinates for the subsystem reticle in the targetview window got manipulated wrongly if no hud_gauges.tbl was present.

------------------------------------------------------------------------
r6732 | The_E | 2010-11-13 03:16:29 -0800 (Sat, 13 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudmessage.cpp
   M /branches/antipodes/code/hud/hudmessage.h
   M /branches/antipodes/code/hud/hudparse.cpp
   M /branches/antipodes/code/hud/hudparse.h

Adding the "Fixed Message" gauge. This is used to display status messages, like the "Killed by..." and "Viewing from:..." messages. Usage is the same as the standard message gauge.

------------------------------------------------------------------------
r6733 | The_E | 2010-11-13 07:55:29 -0800 (Sat, 13 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudmessage.cpp
   M /branches/antipodes/code/missionui/missionshipchoice.cpp

Ooops, small oversight

------------------------------------------------------------------------
r6734 | The_E | 2010-11-13 08:01:21 -0800 (Sat, 13 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/missionui/missionshipchoice.cpp

This wasn't supposed to be committed as well, sorry

------------------------------------------------------------------------
r6742 | The_E | 2010-11-14 11:28:11 -0800 (Sun, 14 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hud.cpp
   M /branches/antipodes/code/hud/hudmessage.cpp
   M /branches/antipodes/code/hud/hudmessage.h
   M /branches/antipodes/code/hud/hudparse.cpp

Rewrite of the HUD messages rewrite.

------------------------------------------------------------------------
r6744 | The_E | 2010-11-15 07:36:27 -0800 (Mon, 15 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudparse.cpp
   M /branches/antipodes/code/parse/sexp.cpp
   M /branches/antipodes/code/parse/sexp.h

Adding option to designate a custom HUD gauge as off by default, as well as a sexp to activate/deactivate custom gauges

------------------------------------------------------------------------
r6747 | The_E | 2010-11-16 04:29:13 -0800 (Tue, 16 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudmessage.cpp

Fix for code analysis warning

------------------------------------------------------------------------
r6748 | The_E | 2010-11-16 05:57:26 -0800 (Tue, 16 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudreticle.cpp

Changes the firepoiunt display to be a tiny bit more efficient. Also, working as planned now.

------------------------------------------------------------------------
r6749 | Swifty | 2010-11-17 13:52:08 -0800 (Wen, 17 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hud.cpp
   M /branches/antipodes/code/hud/hudescort.cpp
   M /branches/antipodes/code/hud/hudets.cpp
   M /branches/antipodes/code/hud/hudmessage.cpp
   M /branches/antipodes/code/hud/hudreticle.cpp
   M /branches/antipodes/code/hud/hudshield.cpp
   M /branches/antipodes/code/hud/hudsquadmsg.cpp
   M /branches/antipodes/code/hud/hudtarget.cpp
   M /branches/antipodes/code/hud/hudtargetbox.cpp
   M /branches/antipodes/code/hud/hudwingmanstatus.cpp
   M /branches/antipodes/code/mission/missiontraining.cpp
   M /branches/antipodes/code/radar/radarsetup.cpp

Rectified the behavior of View From Target from rendering the inverse of HUD elements it originally displayed. Targetbox returned to its original behavior of not displaying in external cam.

------------------------------------------------------------------------
r6750 | The_E | 2010-11-19 09:18:56 -0800 (Fri, 19 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudmessage.cpp
   M /branches/antipodes/code/mission/missionmessage.cpp

Fixes issue noticed by Axem, where messages without head anis would reuse the last head ani in use.

------------------------------------------------------------------------
r6751 | The_E | 2010-11-19 13:21:47 -0800 (Fri, 19 Nov 2010) | 2 lines
Changed paths:8
   M /branches/antipodes/code/hud/hud.cpp
   M /branches/antipodes/code/hud/hud.h
   M /branches/antipodes/code/hud/hudparse.cpp

Fixes issue noticed by Axem, where messages without head anis would reuse the last head ani in use.

------------------------------------------------------------------------
r6752 | The_E | 2010-11-19 13:22:12 -0800 (Fri, 19 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hudreticle.cpp

Logic is a good thing. If you don't reverse it.

------------------------------------------------------------------------
r6759 | The_E | 2010-11-20 15:38:53 -0800 (Sat, 20 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/hud/hud.cpp
   M /branches/antipodes/code/hud/hud.h
   M /branches/antipodes/code/hud/hudparse.cpp
   M /branches/antipodes/code/hud/hudparse.h
   M /branches/antipodes/code/mission/missionload.cpp

More fixes for the "initial off" thing.

------------------------------------------------------------------------
r6759 | The_E | 2010-11-23 00:06:10 -0800 (Tue, 23 Nov 2010) | 2 lines
Changed paths:
   M /branches/antipodes/code/sexp/sexp.cpp

eval_sexp -> is_sexp_true

------------------------------------------------------------------------




Mac Builds updated on first post, courtesy Echelon9.
« Last Edit: November 24, 2010, 05:11:47 am by Zacam »
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline swashmebuckle

  • 210
  • Das Lied von der Turd
    • The Perfect Band
Re: Antipodes 7 HUD Overhaul (Update 11/09/10 - r6721)
Quote
------------------------------------------------------------------------
r6723 | The_E | 2010-11-10 19:33:06 -0800 (Wen, 10 Nov 2010) | 3 lines
Changed paths:
   M /branches/antipodes/code/hud/hud.cpp
   M /branches/antipodes/code/hud/hud.h
   M /branches/antipodes/code/hud/hudparse.cpp
   M /branches/antipodes/code/hud/hudreticle.cpp
   M /branches/antipodes/code/hud/hudreticle.h

Adds an XWA-style firepoint display to the standard reticle. To use it, add "Firepoint display: YES" to the center reticle gauge (after "Filename:"). Additional options are "Firepoint size:" (size in pixels, default value is 5), "Firepoint X coordinate multiplier:" (Default is 15) and "Firepoint Y coordinate multiplier:" (Default value 10)
Also adds HudGauge::renderCircle().
I've been messing with this and it pretty much rocks my socks.  Will there eventually be a way to make custom ship HUDs in some sort of tbm-type-style manner so that the redundant data doesn't have to be copied over and over again?

 

Offline Admiral LSD

  • 27
  • Shorter of breath and one day closer to death
    • http://adphq.dyndns.org
Re: Antipodes 7 HUD Overhaul (Update 11/24/10 - r6775)
OK, so the new build seems to have corrected the crazy HUD element placement I was noticing in the Port, except now the custom part is green while everything else seems to be inheriting the default colours from FS2. Any idea what's up with that? Is that the Port's HUD tbl getting in the way of things?
00:19  * Snail cockslaps BotenAnna
00:19 -!- Snail was kicked from #hard-light by BotenAnna [Don't touch me there! RAPE!!!]

15:36 <@Stealth_T1g4h> MASSIVE PENIS IN YOUR ASS Linux

I normally enjoy your pornographic website... - Stealth
Get Internet Explorer!

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Antipodes 7 HUD Overhaul (Update 11/24/10 - r6775)
Whatever the circumstances, if you override the Port's HUD tbl with a copy of the default and THEN make your own TBM, it ought to work. Has anyone accomplished this yet?
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline SC4RY_Z0MB13

  • 24
  • To trust is sometimes to surrender.
Re: Antipodes 7 HUD Overhaul (Update 11/24/10 - r6775)
I attempted to make a new table for a normal wide screen FSPort. I changed the position of the throttle, the threat indicator, and the weapon linking gauges. I made these changes in an extracted hudgauges.tbl from the FSPort vps and tested the changes in the extracted table in my fsport-mediavps folder.
These are the new positions.
Code: [Select]
   +Throttle:
    Position: (500, 417)
    +Threat Indicator:
    Position: (594, 287)
    +Weapon Linking:
    Position: (861, 413)

The original settings for these are
Code: [Select]
   +Throttle:
    Position: (490, 317)
    +Threat Indicator:
    Position: (847, 317)
    +Weapon Linking:
    Position: (841, 453)


fs2_open_ant_7r_INF_SSE2 2010-11-27 21-24-31-47 by BlueKobold


fs2_open_ant_7r_INF_SSE2 2010-11-27 01-33-09-85 by BlueKobold

I'm not happy with the threat indicator at all. All I can think of when I look at this is a potato. The weapon linking gauge is also not perfect, the horizontal alignment just doesn't fit because I think the arc's of the throttle and the weapon linking gauges are different.
These are my modifications based on my limited ability.
« Last Edit: November 27, 2010, 08:35:50 pm by SC4RY_Z0MB13 »
--Whether true or false, what is said about men often has as much influence on their lives, and particularly on their destinies, as what they do.
--Never let your sense of morals get in the way of doing what's right.