Is there an API to render messaged on the HUD (top left)?
I guess I found when the "`" key press event is handled and I would like to add some code so a message appears stating "Inertial Mode Activated" (or Deactivated)... it should not be that difficult
Yes, I know, soon or later a nice sprite should appear but for now it seems to me a very easy (?) alternative.
Thx!
gspeed
How to print a message in Hud if Inertial mode is toggled on
-
- Just a tourist with a frag'd nav console
- Posts: 3
- Joined: Thu Jan 10, 2008 10:32 pm
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Most of the GUI elements are python controlled not sure where in the code the HUD section is buried through.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
The HUD is done in C++ because it is updated every frame...
It would be nice to allow python to display stuff on the HUD, and if you have ideas on what types of python functions would be most useful I might implement them.
Anyway, at the moment, you just have to add it in C++, and compile it yourself.
The places where most cockpit stuff is done is in "cockpit.cpp" and "vdu.cpp" in the gfx directory.
I would like to see this feature added myself... this one gets me a lot as I come crashing into a base after SPECing over.
It would be nice to allow python to display stuff on the HUD, and if you have ideas on what types of python functions would be most useful I might implement them.
Anyway, at the moment, you just have to add it in C++, and compile it yourself.
The places where most cockpit stuff is done is in "cockpit.cpp" and "vdu.cpp" in the gfx directory.
I would like to see this feature added myself... this one gets me a lot as I come crashing into a base after SPECing over.
-
- Minister of Information
- Posts: 1895
- Joined: Fri Jan 31, 2003 9:40 pm
- Location: The land of tenure (and diaper changes)