Star Sonata
http://forum.starsonata.com/

UI Variables
http://forum.starsonata.com/viewtopic.php?f=3&t=47615
Page 1 of 1

Author:  Deathdisguise [ Mon Sep 19, 2011 3:01 pm ]
Post subject:  UI Variables

Some adding of UI Variables, as well as some organizing of naming schemes?

target_name - The target name
target_level - A numerical value of the target level
target_level_text - A numerical value of the target level with the level category (Mostly Harmless, Middling, etc)
target_shield_perc - A percentage representation from 0-1 (for progress bars)
target_shield - A numerical value of current shield bank remaining
target_energy_perc - A percentage representation from 0-1 (for progress bars)
target_energy - A numerical value of current energy bank remaining
target_distance - A numerical value of the distance from player to target
target_ship - A string value of the target ship name
target_hull - A string value of the target ship hull type

player_name
player_level
player_level_text
player_shield_perc
player_shield
player_shield_max
player_shieldf - "SHIELD/MAX"
player_shield_regen - "SHIELD (+REGEN)"
player_shieldf_regen - "SHIELD/MAX (+REGEN)"
player_regen
player_energy_perc
player_energy
player_energy_max
player_energyf - "ENERGY/MAX"
player_energy_elec - "ENERGY (+ELEC)"
player_energyf_elec - "ENERGY/MAX (+ELEC)"
player_elec
player_ship
player_class
player_hull

Of course, eventually when concatenation is possible on the UI, variables such as energyf, energyf_elec, and energy_elec won't be required anymore! But until then... would be nice to actually format our own dialogs!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/