FreeSpace Releases > Scripting Releases

Custom Mission Roles Gauge v0.4

(1/3) > >>

Current Version 0.4
Released June 17, 2020

Custom Mission Roles HUD Gauge v0.4

Have you ever been playing a mission and completely forgot what each squadron or ship was supposed to do because you didn't take notes during the briefing? Wouldn't it be nice if the mission designer allowed you a cheat sheet to look at on the HUD? If you answered yes, then you should tell the mission designer about this script!

This script allows modders/FREDers to create a HUD gauge that shows mission roles. The script displays a simple HUD gauge that shows a list of names, followed by a respective description. The FREDer can use lua sexps to add or remove entries from list at any point in the mission, and the gauge will display those changes.

Go to the link: here
Download and copy the `cus_role_gauge-sexp.tbm` and `cus_role_gauge-sct.tbm` files into your mod's `data/tables` folder.

Run FRED, and you will see a new sexps to add or remove entries to the list ("Change"->"Script_Action"). To set more specific parameters like gauge location on the HUD, simply open the script file in a text editor and change the `User Options` values. Don't worry if you aren't comfortable with editing script files, the `User Options` all have descriptions and are easy to change.   


This is interesting ... it might have more uses if you skip the briefing completely or in mods that have more "universalist" fighters than FS

I will give it a whirl some time down the line

Colonol Dekker:
This is absolutely useful and a welcome addition.  Remember all the creative stuff Derelict did with retail?  I'm sure this role guage can be used equally creatively. 

Just gave it a spin and came across this error upon starting the mission after the briefing stage.

--- Code: ---Invalid font index 4 specified, must be between 1 and 3!

ADE Debug:


stack traceback:
[C]: ?
[C]: ?
[string "cus_role_gauge-sct.tbm - On Game Init"]:100: in function 'Draw'
[string "cus_role_gauge-sct.tbm - On HUD Draw"]:205: in main chunk

1: Userdata [Fonts]
2: Number [4.000000]

--- End code ---

Fonts.tbl might be required - I mean the examples use the FotG-HUD font.

EDIT: or it might be required for the version of script as-is; it might also be a simple oversight with regards of the index (you know 0 base index....)


[0] Message Index

[#] Next page

Go to full version