{"id":720,"date":"2022-05-23T21:57:05","date_gmt":"2022-05-24T02:57:05","guid":{"rendered":"https:\/\/chronocrash.com\/obor\/wiki\/?p=720"},"modified":"2024-01-09T11:03:18","modified_gmt":"2024-01-09T16:03:18","slug":"heads-up-display-hud","status":"publish","type":"post","link":"https:\/\/chronocrash.com\/obor\/wiki\/heads-up-display-hud\/","title":{"rendered":"Heads Up Display (HUD)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Life Gauge Size\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nlbarsize &amp;lt;w&gt; &amp;lt;h&gt; &amp;lt;noborder&gt; &amp;lt;type&gt; &amp;lt;orientation&gt; &amp;lt;border&gt; &amp;lt;shadow&gt; &amp;lt;graph&gt; &amp;lt;backfill&gt;\n\n#default\nlbarsize 100 5 0 0 0 0 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Controls size and layout of life gauges. Applies to players, enemies, items, etc.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>w<\/strong> \u2013 Maximum width of the gauge.<\/li>\n\n\n\n<li><strong>h<\/strong> \u2013 Height of the gauge in pixels.<\/li>\n\n\n\n<li><strong>noborder<\/strong> \u2013 Disables the border and shadow around gauges.<\/li>\n\n\n\n<li><strong>type<\/strong>\u2013 How values are displayed.\n<ul class=\"wp-block-list\">\n<li>0 \u2013 Absolute. The gauge represents a pixel per unit value. For example, if the value is 50, the gauge fills to 50 pixels. If the value exceeds gauge\u2019s capacity, the gauge will wrap around and \u2018double up\u2019 on top of itself as many times as necessary.<\/li>\n\n\n\n<li>1 \u2013 Ratio. The gauge represents a percentage of the value\u2019s maximum. For example, if the value is 50 and its maximum is 100 (e.g. 50%) the gauge will fill exactly half way.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>orientation<\/strong>\u2013 Direction of gauge fill.\n<ul class=\"wp-block-list\">\n<li>0 \u2013 Left (empty) to right (full).<\/li>\n\n\n\n<li>1 \u2013 Bottom (empty) to top (full).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>border<\/strong> \u2013 Layer adjustment of outer border. Default to 0.<\/li>\n\n\n\n<li><strong>shadow<\/strong> \u2013 Layer adjustment of border shadow. Default to 0.<\/li>\n\n\n\n<li><strong>graph<\/strong> \u2013 Layer adjustment of graph fill. Default to 0.<\/li>\n\n\n\n<li><strong>backfill<\/strong> \u2013 Layer adjustment graph background. Default to 0.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Layer adjustments can place the gauge behind other elements. For instance, -300 is sufficient to place the gauge behind icons.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MP Gauge Size\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmpbarsize &amp;lt;w&gt; &amp;lt;h&gt; &amp;lt;noborder&gt; &amp;lt;type&gt; &amp;lt;orientation&gt; &amp;lt;border&gt; &amp;lt;shadow&gt; &amp;lt;graph&gt; &amp;lt;backfill&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Controls size and layout of MP gauges. Otherwise identical to Life Gauge Size.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Opponent Life Gauge Size\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nolbarsize &amp;lt;w&gt; &amp;lt;h&gt; &amp;lt;noborder&gt; &amp;lt;type&gt; &amp;lt;orientation&gt; &amp;lt;border&gt; &amp;lt;shadow&gt; &amp;lt;graph&gt; &amp;lt;backfill&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If defined, overrides Life Gauge Size settings for last entity a player interacted with (hit, got hit by, etc.). Otherwise identical to Life Gauge Size.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Rush\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nrush &amp;lt;config&gt; &amp;lt;duration&gt; &amp;lt;text1&gt; &amp;lt;f1&gt; &amp;lt;f2&gt; &amp;lt;text2&gt; &amp;lt;f3&gt; &amp;lt;f4&gt;\n\n#default\nrush 0 0 0 0 0 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Display a consecutive hits counter on screen. Rush counter appears when player scores two or more combo hits. The counter will stay on screen and increment as long as the player accrues successful hits.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>config<\/strong>\u2013 Basic setup for rush counter.\n<ul class=\"wp-block-list\">\n<li>0 = Disabled.<\/li>\n\n\n\n<li>1 = Enabled.<\/li>\n\n\n\n<li>2 = Enabled. Maximum hits always displayed.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>duration<\/strong> -How long the counter will remains between hits.<\/li>\n\n\n\n<li><strong>text1<\/strong> \u2013 Label text for the hits counter.<\/li>\n\n\n\n<li><strong>f1<\/strong> \u2013 Font for text1.<\/li>\n\n\n\n<li><strong>f2<\/strong> \u2013 Font for hits counter.<\/li>\n\n\n\n<li><strong>text2<\/strong> \u2013 Label text for for maximum hits counter.<\/li>\n\n\n\n<li><strong>f3<\/strong> \u2013 Font for text2.<\/li>\n\n\n\n<li><strong>f4<\/strong> \u2013 Font for maximum hits counter.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip:<\/strong> Make sure to set location using Player Rush, or the rush counters will all be layered in the top left corner.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Score Format\u200b<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nscoreformat &amp;lt;flag&gt;\n\n#default\nscoreformat 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Layout of player score.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>0 \u2013 Score aligns left. Unused digits are hidden.<\/li>\n\n\n\n<li>1 \u2013 Score aligns right. Unused digits are displayed.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Position\u200b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">General\u200b<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Timer\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ntimeloc &amp;lt;x&gt; &amp;lt;y&gt; &amp;lt;w&gt; &amp;lt;h&gt; &amp;lt;noborder&gt;\n\n#default\ntimeloc 149 4 21 20 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Sets the position of the clock timer.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To change the font, you\u2019ll need to work with the font file, not this command.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X Axis position of timer.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y Axis position of timer.<\/li>\n\n\n\n<li><strong>w<\/strong> \u2013 Width of border box around timer.<\/li>\n\n\n\n<li><strong>h<\/strong> \u2013 Height of border box.<\/li>\n\n\n\n<li><strong>noborder<\/strong> \u2013 Disable border box.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip:<\/strong> The native timer is hard coded to use Font 3. Change the font file if you want the clock to have a unique font.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Background Icon\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nbgicon &amp;lt;path&gt; &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\nbgicon none 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Adds a static always on background icon.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>path<\/strong> \u2013 File path to icon image.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X Axis position of background icon.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y Axis position.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Player\u200b<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Player Rush\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#rush &amp;lt;x1&gt; &amp;lt;y1&gt; &amp;lt;x2&gt; &amp;lt;y2&gt; &amp;lt;x3&gt; &amp;lt;y3&gt; &amp;lt;x4&gt; &amp;lt;y4&gt;\n\n#default\np#rush 0 0 0 0 0 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Set position of player\u2019s rush status. Requires active Rush.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1rush.<\/li>\n\n\n\n<li><strong>x1<\/strong> \u2013 X Axis rush hits label text position.<\/li>\n\n\n\n<li><strong>y1<\/strong> \u2013 Y Axis rush hits label text position.<\/li>\n\n\n\n<li><strong>x2<\/strong> \u2013 X Axis rush hits counter position.<\/li>\n\n\n\n<li><strong>y2<\/strong> \u2013 Y Axis rush hits counter position.<\/li>\n\n\n\n<li><strong>x3<\/strong> \u2013 X Axis rush maximum hits label text position.<\/li>\n\n\n\n<li><strong>y3<\/strong> \u2013 Y Axis rush maximum hits label text position.<\/li>\n\n\n\n<li><strong>x4<\/strong> \u2013 X Axis rush maximum hits counter position.<\/li>\n\n\n\n<li><strong>x4<\/strong> \u2013 Y Axis rush maximum hits counter position.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player Icon\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#icon &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\np#icon 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Player\u2019s icon position.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1icon.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player Icon (Weapon)\u200b<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Player icon when carrying a weapon.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1iconw.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player Score\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#score &amp;lt;name x&gt; &amp;lt;name y&gt; &amp;lt;dash x&gt; &amp;lt;dash y&gt; &amp;lt;score x&gt; &amp;lt;score y&gt; &amp;lt;font&gt;\n\n#default\np#score 0 0 0 0 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Player\u2019s name and score position.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1score<\/li>\n\n\n\n<li><strong>name x<\/strong> \u2013 X axis name position from left side of screen.<\/li>\n\n\n\n<li><strong>name y<\/strong> \u2013 Y axis name position from top of screen.<\/li>\n\n\n\n<li><strong>dash x<\/strong> \u2013 X axis &#8220;-&#8221; position from left side of screen.<\/li>\n\n\n\n<li><strong>dash y<\/strong> \u2013 Y axis &#8220;-&#8221; position from top of screen.<\/li>\n\n\n\n<li><strong>score x<\/strong> \u2013 X axis score position from left side of screen.<\/li>\n\n\n\n<li><strong>score y<\/strong> \u2013 Y axis score position from top of screen.<\/li>\n\n\n\n<li><strong>font<\/strong> \u2013 Font number of text.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player Life\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#lifex &amp;lt;x&gt; &amp;lt;y&gt; &amp;lt;font&gt;\n\n#default\np#lifex 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Player\u2019s life gauge position.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1life.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player Life Count\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#lifen &amp;lt;x&gt; &amp;lt;y&gt; &amp;lt;font&gt;\n\n#default\np#lifen 0 0 3\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Player\u2019s remaining life count.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1lifen<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n\n\n\n<li><strong>font<\/strong> \u2013 Font number of numeric.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player Name (Join)\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#namej &amp;lt;name x&gt; &amp;lt;name y&gt; &amp;lt;select x&gt; &amp;lt;select y&gt; &amp;lt;start x&gt; &amp;lt;start y&gt; &amp;lt;font&gt;\n\n#default\np#namej 0 0 0 0 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Player\u2019s joining status and game over text position.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1namej<\/li>\n\n\n\n<li><strong>name x<\/strong> \u2013 X axis name position from left side of screen.<\/li>\n\n\n\n<li><strong>name y<\/strong> \u2013 Y axis name position from top of screen.<\/li>\n\n\n\n<li><strong>select x<\/strong> \u2013 X axis &#8220;Select Hero&#8221; position from left side of screen.<\/li>\n\n\n\n<li><strong>select y<\/strong> \u2013 Y axis &#8220;Select Hero&#8221; position from top of screen.<\/li>\n\n\n\n<li><strong>start x<\/strong> \u2013 X axis &#8220;Press Start&#8221; and &#8220;Game Over&#8221; position from left side of screen.<\/li>\n\n\n\n<li><strong>start y<\/strong> \u2013 Y axis &#8220;Press Start&#8221; and &#8220;Game Over&#8221; position from top of screen.<\/li>\n\n\n\n<li><strong>font<\/strong> \u2013 Font number of text.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Player MP\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#mp &amp;lt;x&gt; &amp;lt;y&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Player\u2019s MP (energy) gauge position. The MP gauge only appears if player entity has an MP supply defined. Otherwise identical to p#life.<br><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Player Shoot (Ammo)\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\np#shoot &amp;lt;x&gt; &amp;lt;y&gt; &amp;lt;font&gt;\n\n#default\np#shoot 0 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Remaining weapon use count (see shootnum).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: p1shoot.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n\n\n\n<li><strong>font<\/strong> \u2013 Font number of counter text.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Opponent\u200b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Opponent HUD displays status of the last entity a player interacted with (hit, got hit by, etc.). Despite the name \u201cenemy\u201d, opponent HUD works for any entity type a player interacts with.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Enemy Icon\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ne#icon &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\ne#icon 0 0\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: e1icon.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Enemy Name\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ne#name &amp;lt;x&gt; &amp;lt;y&gt; &amp;lt;font&gt;\n\n#default\ne#name 0 0 0\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: e1name<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n\n\n\n<li><strong>font<\/strong> \u2013 Font number of X.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Enemy Life\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ne#life &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\ne#life 0 0\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>#<\/strong> \u2013 Player number. Example: e1life.<\/li>\n\n\n\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Model\u200b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Default HUD\u200b<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Icon\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nicon &amp;lt;path&gt; &amp;lt;palette&gt;\n\n#default\nicon none 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Default icon displayed next to the entity\u2019s life bar.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>path \u2013 Path to icon image.<\/li>\n\n\n\n<li>palette \u2013 Match entity\u2019s palette.\n<ul class=\"wp-block-list\">\n<li>0 \u2013 Icon uses own palette.<\/li>\n\n\n\n<li>1 \u2013 Icon uses entity\u2019s palette.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Icon, Pain\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\niconpain &amp;lt;path&gt; &amp;lt;palette&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If defined, replaces Icon when in pain state. Otherwise identical to Icon.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Icon, Die\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nicondie &amp;lt;path&gt; &amp;lt;palette&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If defined, replaces Icon when dead. Otherwise identical to Icon.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Icon, Get\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\niconget &amp;lt;path&gt; &amp;lt;palette&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If defined, replaces Icon when picking up an item. Otherwise identical to Icon.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Icon, MP<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\niconmpmax &amp;lt;path&gt; &amp;lt;palette&gt;\niconmphigh &amp;lt;path&gt; &amp;lt;palette&gt;\niconmphalf &amp;lt;path&gt; &amp;lt;palette&gt;\niconmplow &amp;lt;path&gt; &amp;lt;palette&gt;\niconmpnone &amp;lt;path&gt; &amp;lt;palette&gt;\n\n# Default\niconmpmax none 0\niconmphigh none 0\niconmphalf none 0\niconmplow none 0\niconmpnone none 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If defined, displays when MP percentage reaches a given threshold. Higher percentages take priority:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>max &#8211; >= 100%<\/li>\n\n\n\n<li>high &#8211; >= 75%<\/li>\n\n\n\n<li>half &#8211; >= 25%<\/li>\n\n\n\n<li>low &#8211; > 0%<\/li>\n\n\n\n<li>none &#8211; &lt;= 0%<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Path &#8211; Path to image file.<\/li>\n\n\n\n<li>Palette &#8211; Palette source.\n<ul class=\"wp-block-list\">\n<li>0 &#8211; Use independent palette.<\/li>\n\n\n\n<li>1 &#8211; Use model palette (meaning icon will swap palettes if entity does).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tips:<\/strong> <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you want the same icon to display for all thresholds, just define the same icon for each.<\/li>\n\n\n\n<li>It&#8217;s very difficult (almost impossible) to have exactly 0 MP in normal game play using the default MP setup. If you want to use the none icon, you may want to modify the other MP settings.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Icon, Weapon\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\niconw &amp;lt;path&gt; &amp;lt;palette&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If defined, replaces Icon when carrying a weapon. Otherwise identical to Icon.<br><br><strong>Tip: <\/strong>You can also create icons unique for a specific weapon by adding Icon to the weapon model text.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">No HUD\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnolife &amp;lt;bi&gt;\n\n#default\nnolife 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If enabled, entity does not appear in HUD. Used mainly to hide enemy status from players.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pop Up HUD\u200b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Pop Up HUD properties set up an on screen status that displays at all times whenever the entity is active. Mainly used to create boss life bars.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.chronocrash.com\/forum\/attachments\/hud_example_2-png.5477\/\" alt=\"HUD_example_2.png\" title=\"HUD_example_2.png\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Config\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nlifebarstatus &amp;lt;w&gt; &amp;lt;h&gt; &amp;lt;noborder&gt; &amp;lt;type&gt; &amp;lt;orientation&gt; &amp;lt;border&gt; &amp;lt;shadow&gt; &amp;lt;graph&gt; &amp;lt;backfill&gt;\n\n#default\nlifebarstatus 100 5 0 0 0 0 0 0 0\n<\/pre><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li><strong>w<\/strong> \u2013 Maximum width of the gauge.<\/li>\n\n\n\n<li><strong>h<\/strong> \u2013 Height of the gauge in pixels.<\/li>\n\n\n\n<li><strong>noborder<\/strong> \u2013 Disables the border and shadow around gauges.<\/li>\n\n\n\n<li><strong>type<\/strong>\u2013 How values are displayed.\n<ul class=\"wp-block-list\">\n<li>0 \u2013 Absolute. The gauge represents a pixel per unit value. For example, if the value is 50, the gauge fills to 50 pixels. If the value exceeds gauge\u2019s capacity, the gauge will wrap around and \u2018double up\u2019 on top of itself as many times as necessary.<\/li>\n\n\n\n<li>1 \u2013 Ratio. The gauge represents a percentage of the value\u2019s maximum. For example, if the value is 50 and its maximum is 100 (e.g. 50%) the gauge will fill exactly half way.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>orientation<\/strong>\u2013 Direction of gauge fill.\n<ul class=\"wp-block-list\">\n<li>0 \u2013 Left (empty) to right (full).<\/li>\n\n\n\n<li>1 \u2013 Bottom (empty) to top (full).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>border<\/strong> \u2013 Layer adjustment of outer border. Default to 0.<\/li>\n\n\n\n<li><strong>shadow<\/strong> \u2013 Layer adjustment of border shadow. Default to 0.<\/li>\n\n\n\n<li><strong>graph<\/strong> \u2013 Layer adjustment of graph fill. Default to 0.<\/li>\n\n\n\n<li><strong>backfill<\/strong> \u2013 Layer adjustment graph background. Default to 0.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Position (HP)\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nlifeposition &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\nlifeposition 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Position of Pop Up HUD HP gauge.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Position (Name)\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnameposition &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\nnameposition 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Position of Pop Up HUD HP gauge.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Position (Icon)\u200b<\/h4>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\niconposition &amp;lt;x&gt; &amp;lt;y&gt;\n\n#default\niconposition 0 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Position of Pop Up HUD HP gauge.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>x<\/strong> \u2013 X axis position from left side of screen.<\/li>\n\n\n\n<li><strong>y<\/strong> \u2013 Y axis position from top of screen.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Script\u200b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Icon\u200b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Icon properties are accessible through the <code>get_icon_property()<\/code> and <code>set_icon_property()<\/code>.<br><br>Get an icon property. The icon property functions accept an icon pointer and a property constant.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmixed x = get_icon_property(void &amp;lt;pointer&gt;, int &amp;lt;identifier&gt;);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Modify an icon property value.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmixed new_value = &amp;lt;value&gt;;\n\nset_icon_property(void &amp;lt;pointer&gt;, int &amp;lt;identifier&gt;, new_value);\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Constant<\/th><th>Type<\/th><th>Description<\/th><\/tr><tr><td>ICON_PROPERTY_DEFAULT<\/td><td>Integer<\/td><td>Default icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_DIE<\/td><td>Integer<\/td><td>Die icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_GET<\/td><td>Integer<\/td><td>Get icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_MP_HIGH<\/td><td>Integer<\/td><td>MP high icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_MP_LOW<\/td><td>Integer<\/td><td>MP low icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_MP_MEDIUM<\/td><td>Integer<\/td><td>MP medium icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_PAIN<\/td><td>Integer<\/td><td>Pain icon sprite index.<\/td><\/tr><tr><td>ICON_PROPERTY_POSITION_X<\/td><td>Integer<\/td><td>X Axis icon position.<\/td><\/tr><tr><td>ICON_PROPERTY_POSITION_Y<\/td><td>Integer<\/td><td>Y Axis icon position.<\/td><\/tr><tr><td>ICON_PROPERTY_USE_MAP<\/td><td>Integer<\/td><td>If true, icon uses entity\u2019s palette.<\/td><\/tr><tr><td>ICON_PROPERTY_WEAPON<\/td><td>Integer<\/td><td>Weapon icon sprite index.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Dial\u200b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Dial is the internal structure housing the HUD properties dedicated to graphing a value\u2019s status (ex. hit points).<br><br>Dial properties are accessible through the <code>get_status_dial_property()<\/code> and [\/icode]set_status_dial_property()[\/icode].<br><br>Get a dial property. The dial property functions accept a dial pointer and a property constant.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmixed x = get_status_dial_property(void &amp;lt;pointer&gt;, int &amp;lt;identifier&gt;);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Modify a dial property value. Some dial properties are read only \u2013 see the property list for details.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmixed new_value = &amp;lt;value&gt;;\n\nset_status_dial_property(void &amp;lt;pointer&gt;, int &amp;lt;identifier&gt;, new_value);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Pop up HUDs (i.e. boss HUD) are a model property. The default HUD and loading HUD are global. You can obtain their pointers with openborvariant().<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>openborvariant(&#8220;hud_common_main&#8221;) \u2013 Default in game HUD for player\u2019s name and HP.<\/li>\n\n\n\n<li>openborvariant(&#8220;hud_common_mp&#8221;) \u2013 Default in game HUD for player\u2019s MP.<\/li>\n\n\n\n<li>openborvariant(&#8220;hud_common_opponent&#8221;) \u2013 Default in game HUD for entity player last interacted with.<\/li>\n\n\n\n<li>openborvariant(&#8220;hud_load&#8221;) \u2013 Loading bar at startup and between levels.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Constant<\/th><th>Type<\/th><th>Description<\/th><\/tr><tr><td>STATUS_DIAL_PROPERTY_BACK_LAYER<\/td><td>Integer<\/td><td>Layer position of back gill of the graph. Added to openborconstant(&#8220;HUD_Z&#8221;) + 1.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_BORDER_LAYER<\/td><td>Integer<\/td><td>Layer position of border around graph. Added to openborconstant(&#8220;HUD_Z&#8221;) + 3.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_COLORSET_TABLE<\/td><td>Pointer<\/td><td>Pointer to array of color sets for graph bars. (in progress)<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_CONFIG_FLAGS<\/td><td>Integer<\/td><td>Bitmasked with following constants:<br>openborconstant(&#8220;STATUS_CONFIG_NONE&#8221;) \u2013 No config. openborconstant(&#8220;STATUS_CONFIG_BORDER_DISABLE&#8221;) \u2013 Do not draw graph border. openborconstant(&#8220;STATUS_CONFIG_DEFAULT&#8221;) \u2013 Initial mask assigned. openborconstant(&#8220;STATUS_CONFIG_GRAPH_INVERT&#8221;) \u2013 Reverse graph direction, meaning horizontal graphs fill right to left and vertical graphs fill top to bottom. openborconstant(&#8220;STATUS_CONFIG_GRAPH_RATIO&#8221;) \u2013 Draw graph as percentage of the value\u2019s maximum. openborconstant(&#8220;STATUS_CONFIG_GRAPH_VERTICAL&#8221;) \u2013 Orient graph vertically.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_GRAPH_LAYER<\/td><td>Integer<\/td><td>Layer position of graph fill. Added to openborconstant(&#8220;HUD_Z&#8221;) + 2.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_GRAPH_POSITION_X<\/td><td>Integer<\/td><td>X Axis position of graph from on screen.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_GRAPH_POSITION_Y<\/td><td>Integer<\/td><td>Y Axis position of graph from on screen.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_GRAPH_SIZE_X<\/td><td>Integer<\/td><td>Graph width. Maximum value displayable by absolute horizontal graph.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_GRAPH_SIZE_Y<\/td><td>Integer<\/td><td>Graph height. Maximum value displayable by absolute vertical graph.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_NAME_POSITION_X<\/td><td>Integer<\/td><td>X Axis position of name\/label text on screen.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_NAME_POSITION_Y<\/td><td>Integer<\/td><td>Y Axis position of name\/label text on screen.<\/td><\/tr><tr><td>STATUS_DIAL_PROPERTY_SHADOW_LAYER<\/td><td>Integer<\/td><td>Layer position of shadow border around graph. Added to openborconstant(&#8220;HUD_Z&#8221;).<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Spawn HUD\u200b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Spawn HUD controls the optional graphic appearing when players spawn to a game in progress.<br><br>Spawn HUD properties are accessible through the <code>get_spawn_hud_property()<\/code> and <code>set_[ICODE]spawn_hud<\/code>_property()[\/icode].<br><br>Get a spawn hud property. The spawn hud property functions accept a spawn hud pointer, a player index, and a property constant.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmixed x = get_spawn_hud_property(void &amp;lt;pointer&gt;, int &amp;lt;index&gt;, int &amp;lt;identifier&gt;);\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Modify a property value. In addition to the get parameters, you will need to provide the new value.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmixed new_value = &amp;lt;value&gt;;\n\nset_spawn_hud_property(void &amp;lt;pointer&gt;, int &amp;lt;index&gt;, int &amp;lt;identifier&gt;, new_value);\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>Constant<\/th><th>Type<\/th><th>Description<\/th><\/tr><tr><td>SPAWN_HUD_PROPERTY_POSITION_X<\/td><td>Integer<\/td><td>X Axis distance from entity offset.<\/td><\/tr><tr><td>SPAWN_HUD_PROPERTY_POSITION_Y<\/td><td>Integer<\/td><td>Y Axis distance from entity offset.<\/td><\/tr><tr><td>SPAWN_HUD_PROPERTY_SPRITE<\/td><td>Integer<\/td><td>Sprite index of graphic displayed.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Life gauges, score, time, and other in game information displays.<\/p>\n","protected":false},"author":1,"featured_media":34,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,328],"tags":[317,319,320,545,546,547,544,548,311,312,313,296,295,298,297,301,300,318,299,294,314,315,316],"class_list":["post-720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-graphics","category-openbor","tag-bgicon","tag-eicon","tag-ename","tag-iconmphalf","tag-iconmphigh","tag-iconmplow","tag-iconmpmax","tag-iconmpnone","tag-lbarsize","tag-mpbarsize","tag-olbarsize","tag-picon","tag-plife","tag-plifen","tag-plifex","tag-pmp","tag-pnamej","tag-prush","tag-pscore","tag-pshoot","tag-rush","tag-scoreformat","tag-timeloc"],"revision_note":"","jetpack_featured_media_url":"https:\/\/i0.wp.com\/chronocrash.com\/obor\/wiki\/wp-content\/uploads\/2021\/07\/Preview1p1.png?fit=320%2C275&ssl=1&wsr","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts\/720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/comments?post=720"}],"version-history":[{"count":5,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts\/720\/revisions"}],"predecessor-version":[{"id":1389,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/posts\/720\/revisions\/1389"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/media\/34"}],"wp:attachment":[{"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/categories?post=720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chronocrash.com\/obor\/wiki\/wp-json\/wp\/v2\/tags?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}