HUD scripting example

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

The only problem I can forsee is if you get multiple conditions concurrently that would trigger different HUDs. Depending on how things are coded then you could get some swapping between HUDs which would look a little odd.

It actually happens occasionally even with the fairly simple script I gave KW (e.g. if you're in combat and fire a missile at the target, if he untargets you to deal with it and he's the only hostile around, then the HUD switches as temporarily you have no hostiles about until he locks on again).

Plus on the cargo front, can we actually affect the scanner zoom setting by scripting?
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Thargoid wrote:
The only problem I can forsee is if you get multiple conditions concurrently that would trigger different HUDs. Depending on how things are coded then you could get some swapping between HUDs which would look a little odd.
Yes, I already thought about that. For some thing like a scooping hud I would switch back to normal with a timer that every 5 seconds looks if there is still cargo targeted. That way you will always look for some time at the same hud and it will not keep switching on/off when targeting/untargeting pieces of cargo.
lfnfan
Deadly
Deadly
Posts: 250
Joined: Tue Mar 24, 2009 1:29 pm
Location: london, uk

Post by lfnfan »

saw KW's new HUD design on the Screenshots thread, and a bit of hunting brought me over here.

Cool. Way cool. Waywaywaywaywaywaywaywayayayayayayayyyyyy cool.

me want.
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Wow, yeah, Somehow I missed this development, this is seriously cool stuff, KW 8)
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2279
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

thanks :-)
your comments are much appreciated.
Post Reply