[Mod] HUD - with missile stat info!

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

[Mod] HUD - with missile stat info!

Post by Gazz » Sat, 26. Jan 08, 04:44

Das entsprechende deutsche topic ist hier.

New HUD with... new features. =)
I maintained the general look because it's well... functional.
Just slightly resized and rearranged buttons where needed.

Compatible with X3 v2.5 and XTM 0.71b (and most likely with later versions)
  • removed some completely useless lines from the HUD and Autopilot display
  • Info about missile stats is given right on the HUD.
    Info is represented as 3 "power" bars below the missile picture.
    1. Speed
    2. Damage
    3. Blast radius
    Displays for damage and blast radius are not linear. This is not possible when one missile does 200 and another 1250000 damage...
  • Laser "pictures" that *I* can memorize. Those gun icons look all alike to me.
  • Ship class symbols all cleaned up for crisper display. There was a lot of "grit" in those which made them look somewhat blurred.
  • Laser Energy / Ammo bar easier to see now and displacement fixed. It used to be only part of the length of a laser button.
    While not a major issue it was... misaligned. Can't have that.
  • increased visibility for the missile warning. (I hardly ever noticed it before =)
  • Bigger, more intuitive icons / buttons for which turret you are in.
  • new radar. Well, sorta new. It's a true classic that I just had to have back. =)
  • In XTM not all missiles will show stats. Those are the one's you can't buy anyway. They only show generic pictures for what type of missile they are. (Technical issue - sorry =)
[ external image ]

Symbols for missile attributes: [ external image ]

>>>>> Download Basic Mod<<<<<

>>>>> Download XTM Patch<<<<< (For XTM you need both)

File is a zipped fake patch file # 12. (+ #13 with XTM)

Usually you copy it into the X3 main folder and that's all.
If that would overwrite some file there - rename it so it does not.
If you need the XTM patch, make sure that it's a higher CAT number than the base patch.

Note that I had to mod TMissiles.txt to get this to work.
I used a Vanilla 2.5 (XTM 0.71b) file as a base.

However, I could not fully resist to change stats. The dumbfire missiles are still not very easy to use but they are at least situational now and better than 100 % worthless.
(Increased damage, blast radius, speed (little) of the Firefly, Dragonfly, Aurora)

Real dumbfire rockets or iron bombs are often stronger than their intelligent and guided brothers simply because they are not burdened with any complicated guidance and flight control systems.
They just blow up but they are experts at that job.
Last edited by Gazz on Wed, 30. Jan 08, 00:36, edited 9 times in total.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
s9ilent
Posts: 2033
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent » Sat, 26. Jan 08, 05:19

Hmm the old grid radar :)
I don't like how the x3 can't use the grid (as nothings on the plane, and its not really that visible off the plane)


But wait, you can tell which turret your in from the HUD? I thought it only had an arrow?

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sun, 27. Jan 08, 17:04

s9ilent wrote:Hmm the old grid radar
Looks may be a matter of taste but this ancient display is actually more useful than the "gravidar".
There are lines for the 2 main axis and I carefully adjusted the display so that if a target is directly on the line it's exactly to your left, front, or whatever.

The green view markers are not fully accurate but I could not bring myself to change the look of the original. =)
But wait, you can tell which turret your in from the HUD? I thought it only had an arrow?
Yes, it's only an arrow but the original was tiny and quite ambiguous.
I put in bigger and distinct icons.

Also got done adding info about the selected missile to the HUD.
That kind of info is sorely missing in the game.
Actually, I can't remember any other place where I could get a missile description. Not in stations, not in the cargo bay or freight transfer screens.
Well, if you set the board computer to longblathermode you do get descriptions of X2 missiles (and ships). That's certainly useful... for historians.

And finally added a unique icon for the "unknown object". It's silly that this particular missile would use the same icon as the Mosquito.
There are certain differences. =P
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

Leke
Posts: 117
Joined: Fri, 21. Apr 06, 10:48
x4

Post by Leke » Sun, 27. Jan 08, 18:21

Wow! This is the most usefull HUD mod that i have seen. :thumb_up:

Too bad it isnt compatible with XTM. :shock:

Could you make it compatible with XTM?

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sun, 27. Jan 08, 20:10

Thanks for the flowers!
I absolutely concede that there are prettier HUDs but with some here (and for other games) the graphics artists run amok with glow, halos and awesome paintings - while I just want clear and unique symbols with good contrast.

XTM uses more different missiles than vanilla or at least has more entries in TMissiles.txt.
I don't know how many of these are actively used in their mod.
For instance, if Rapier and Windstalker are unused (besides the novelty value of 10 missiles in the whole game) those icon IDs could be assigned to "real" missiles that can actually be produced in a factory and play a role in the game.

To show the missile info each missile must have a distinct icon and I have not been able to figure out how to add new ones. (without breaking other stuff)

I tried adding entries to IconData.txt (adjusting the entry count alright) but X3 would never load the new icons correctly.
This might be one of the (&@%^)@(& hardcoded issues and I gave up after tinkering with those few lines for a full afternoon.

If someone knows the answer to "how to add more icons" it would be about 15 min to mix up an XTM version.

Either that or cut more corners. Same icon for Mosquito/Rapier, Firestorm/Hammerhead, Silkworm/Cyclone.
It's not pretty but those missiles are pretty equal - and most ships can't use both types.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
AtomicDryad
Posts: 209
Joined: Sat, 19. Jan 08, 01:04

Post by AtomicDryad » Tue, 29. Jan 08, 01:03

Hmmm, by what you've been saying, 'incompatible with xtm' means:
'Won't break the game, but XTM missiles won't display properly' ?
Or is it -really- incompatible...aka don't even try it...

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Tue, 29. Jan 08, 12:39

XTM modifies practically all missiles (making them faster) and adds 3 new ones that only exist as broken residue in the vanilla game.

In it's current form my mod may not fly at all with XTM and at the very least will display random and wrong stats.

I've been trying for a while to get some info about which missiles are actually used in XTM and by who/how but it's hard to get a straight answer from any of the creators.

Since I can not supply a unique picture for every XTM missile (I think) I need to know which play an active role in their game.
So... which can be mass produced or are available in useful quantities from other sources.

If there's just 10 missiles floating around somewhere like in the vanilla game, I could ignore those. =)

But if anyone could fill me in: here's a list to check off...

Mosquito
Wasp
Dragonfly
Silkworm
Hornet
Disruptor
Firefly
Thunderbolt
Tempest
Hurricane
Cyclone
Typhoon
Firestorm
Aurora
Hammerhead
Tornado

Sting
Needle
Thorn

Rapier
Firelance
Wildfire
Windstalker
Banshee
Beluga
Blizzard
Rem. Guided

Wraith
Poltergeist
Spectre
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
AtomicDryad
Posts: 209
Joined: Sat, 19. Jan 08, 01:04

Post by AtomicDryad » Tue, 29. Jan 08, 15:22

There is a big stats spreadsheet at http://downloads.thexuniverse.us/XTM_Sh ... 073_v2.zip . It shows, for each missile:

Code: Select all

Missile	Average Price	Cargo		Range	Speed	Accel	Damage Shield	Damage Hull	Blastradius	Firerate	Lifetime	Guidance
	Credits	Vol.	Type	km	m/s	m/ss	kJ	kJ	m	rpm	sec.	
  Mosquito	168	1	S	18.75	753.00	120.00	200	1	0.00	240	24.90	Image Recognition
If you need more info than this...point me to where to look (and perhaps how), and I'll compile the data for you. I just exported TMissiles.pck to a text file, it seems to have icon info too:

Code: Select all

// Created with X3 Editor 0.0.14
49;29;
weapons\missiles\Mosquito_IR;148;2.639000;2.639000;0;0;2813;
376500;120000;915;112;2;200;1;24904;170;10434;900;250;255;
160;160;7;0;250;ICON_MISSILE_MOSQUITO;
weapons\missiles\Mosquito_IR_scene;1;6;25;1;1;7;0;1086;0;SS_MISSILE_A;

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Tue, 29. Jan 08, 17:32

Thank you but that's not what I was looking for. The actual stats are not the issue but rather how XTM uses each missile. If they can be mass-produced or only occasionally found as loot - their relevance to the game.

Someone else answered my question already.
I'll have to make a few small adjustments to the system but it should be possible to do an XTM version of this.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Tue, 29. Jan 08, 22:01

XTM patch now available.

This will make the mod compatible to XTM.
You need to download both files even if you had downloaded the mod before.
(Some internal settings changed to accommodate XTM.)
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

User avatar
AtomicDryad
Posts: 209
Joined: Sat, 19. Jan 08, 01:04

Post by AtomicDryad » Wed, 30. Jan 08, 10:13

Works great so far!

angrysquirrel
Posts: 267
Joined: Tue, 18. Nov 03, 00:46
x3

Post by angrysquirrel » Thu, 6. Mar 08, 04:49

Excellent mod except for one major problem. When I use the mod I lose the blue missle trail for my missles. I then have problems seeing how many missles I've launched at a Kha'ak destroyer. I also can't tell if the missle hit the target. If you can figure out how to get the blue trail back, I'm back with this mod. Very useful otherwise!

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Thu, 6. Mar 08, 12:36

I have no idea how that could possibly happen.
I used the XTM files as a base so all special modding should be in there. I didn't invent the missile trails so I wouldn't even know where to look.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

angrysquirrel
Posts: 267
Joined: Tue, 18. Nov 03, 00:46
x3

Post by angrysquirrel » Fri, 7. Mar 08, 04:01

Did you test this mod with xtm? If you did and you didn't lose the blue missle trail, maybe it is something with my installation? I had to renumber the two files you had to 13 and 14 (from 12 and 13 orginally). I tried switching the load order but it is still the same issue. The missles launch but the trails are black instead of blue.

Also wanted to say that I liked your complex cleaner. Only problem I saw was that when I relocated my hub to a different position the connection pipes didn't follow the hub in space. However, on the sector map you can see the connecting pipes. Strange. But still, the complex appears to be connected because it still is churning out resources at the hub. Really nice job on that!

I've yet to try out your "ring of fire" script but it's loaded on my plugin manager. Also like your title "ring of fire." Reminds me of the song by Johnny Cash by the same name. (I fell into a ring of fire....and it burns, burns, burns..... :) )

http://www.youtube.com/watch?v=Y2iv_E-Fn9E

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Sat, 8. Mar 08, 14:30

angrysquirrel wrote:Did you test this mod with xtm?
No. I took the TMissiles.txt from the current XTM installation and edited it. Since I did not touch anything related to graphics I don't understand where your problem is from.

Also wanted to say that I liked your complex cleaner. Only problem I saw was that when I relocated my hub to a different position the connection pipes didn't follow the hub in space.
That's the way they work. All tubes are updated everytime you connect a new factory...
I've yet to try out your "ring of fire" script but it's loaded on my plugin manager. Also like your title "ring of fire." Reminds me of the song by Johnny Cash by the same name. (I fell into a ring of fire....and it burns, burns, burns..... :) )
Well, that's where the name is from. When I had taken the bug zapper screenshot that was the first thing that came to mind. =)
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

Laar
Posts: 173
Joined: Wed, 2. May 07, 15:51
x3

Post by Laar » Mon, 24. Mar 08, 19:13

help my hud disappeared


yes that happened, I installed it (I've XTM and the patch for this mod).

when I looked in the main files folder there was another set of cad/cat files with number 1, I didn't install those. so is there a way of looking in them and is there a way to get my hud back?

angrysquirrel
Posts: 267
Joined: Tue, 18. Nov 03, 00:46
x3

Post by angrysquirrel » Tue, 25. Mar 08, 05:11

Sounds like MAYBE you overwote the cat and dat files for the hud mod. Just look in your x3 directory and then extract the hud mod files to your desktop. I think they are named 11 and 12. Just rename them to the next sequential numbers after the last cat and dat files you have. For example you should name the cat and dat files for your HUD mod to 13 and 14 if the cat and dat files in your x3 directory are 11 and 12. Let me know how it works out!

Laar
Posts: 173
Joined: Wed, 2. May 07, 15:51
x3

Post by Laar » Tue, 25. Mar 08, 08:37

ok, what I've done is the following, delete all those files (12-14) and reinstall them, and loaded an older save, I think it might be caused by the fact that I saved in mid space while there were some scripts running (race military), could also just be caused by a bad save.

I've my hud back and it is working fine.

One "bug" My A hept are only shown as a blank square (without letters), and the unknown objects and rock beetles (are they part of XTM?) are show as A hepts, only the ons with depleted energy.

User avatar
Locksley
Posts: 371
Joined: Fri, 18. Mar 05, 16:26
x3tc

Post by Locksley » Fri, 11. Apr 08, 15:39

Are there any tutorials for hud modding. Do you need any special programs for it - I only got free ones like Blender and Gimp :roll:

Just like you I would like to clean up the HUD some. Since I use 90" screen (yes, thats right 90" :P ) I really could do with just a minute markings of some things, and clearer laser energy ofcourse - damn hard to see, he he.

Cheers!

User avatar
Gazz
Posts: 13244
Joined: Fri, 13. Jan 06, 16:39
x4

Post by Gazz » Fri, 11. Apr 08, 17:32

It's all text entries for element positions and 2D graphics.
You just need a graphics program that can handle alpha channels.
My complete script download page. . . . . . I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.

Post Reply

Return to “X³: Reunion - Scripts and Modding”