Minimalistic CLEO HUD
-
1589728108_simple-hud.zipDownload (0.01 MB)Password for the archive: libertycity
-
1.011589744451_simple-hud.zipPassword for the archive: libertycity
Minimalistic HUD
I continue the tradition of scripts, designed primarily for teaching scripters. This time, I created my own HUD in CLEO, which, although quite simple, displays the most important game indicators, and also boasts such features:
• Disabled when disabled through the menu (no need to cramming the on/off buttons of the script and use the keyboard in vain)
• changes the color of some elements depending on their values (for example, the clock gets darker as night approaches, and the color of the number of cartridges in the magazine becomes brighter when it gets low)
• Slightly shifts elements when moving the mouse/mini-joystick.
In addition to the above, by studying the code, you can learn:
• apply constants
• work with memory addresses
• use drawing mode (text_draw)
• display texts side by side so that they do not overlap each other
• find out the number of cartridges in the magazine
• make some values dependent on others (and even use finding the sine for this!)
• find in memory the value of the remaining oxygen
• find in memory the police "anger" counter
• use scm functions
05/17/2020: Fixed a bug due to which some categories of weapons (detonator, parachute, etc.) displayed the number of rounds. And he removed the accidentally remaining test issue of the cane.
Script demo:
Parsing script code:
Have a good game!
Минималистичный HUD
Продолжаю традицию скриптов, предназначенных в первую очередь для обучения скриптеров. На сей раз я создал в CLEO собственный HUD, который хоть и довольно прост, но отображает самые важные игровые показатели, а также может похвастаться такими особенностями:
• отключается при отключении через меню (не нужно зубрить кнопки включения/выключения скрипта и попусту задействовать клавиатуру)
• меняет цвет некоторых элементов в зависимости от их значений (например, часы становятся темнее с приближением ночи, а цвет числа патронов в магазине — ярче, если их становится мало)
• слегка смещает элементы при перемещении мышки/мини-джойстика.
Помимо вышеперечисленного, изучая код, вы сможете научиться:
• применять константы
• работать с адресами памяти
• использовать режим рисования (text_draw)
• выводить тексты рядом так, чтобы они не перекрывали друг друга
• считывать смещения мыши/мини-джойстика
• узнавать число патронов в магазине
• ставить одни значения в зависимость от других (и даже задействовать для этого нахождение синуса!)
• находить в памяти значение оставшегося кислорода
• находить в памяти счётчик «злости» полиции
• пользоваться scm-функциями
17.05.2020: исправлен недочёт, из-за которого у некоторых категорий оружия (детонатора, парашюта и т.п.) отображалось число патронов. И убрал случайно оставшуюся тестовую выдачу трости.
Демонстрация скрипта:
Разбор кода скрипта:
Приятной игры!
Support the author
Recommended files
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2013-01/cleo-hud-by-cameron-rosewood_1685990030_246819.webp)
Cleo hud by Cameron Rosewood
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2013-01/cleo-hud-by-cameron-rosewood_1685990030_937274.webp)
CLEO HUD by Cameron Rosewood
![](https://files.libertycity.net/download/gtasa_otherf/thumbs/2013-02/cleo-hud-by-cameron-rosewood_1685990195_303112.webp)
CLEO HUD by Cameron Rosewood
![](https://files.libertycity.net/download/gtasa_otherf/thumbs/2013-02/cleo-hud-by-syxcho-moja-dorabotka-_1685990106_860342.webp)
CLEO HUD By Syxcho + My modification
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2020-05/minimalisticheskijj-hud_1686004190_456568.webp)
Minimalistic HUD
![](https://files.libertycity.net/download/gtasa_filterscript/thumbs/2015-02/custom-minimalistic-hud_1685993032_701064.webp)
Custom Minimalistic HUD
![](https://files.libertycity.net/download/gtasa_textures/thumbs/1297764920_skrinshot.webp)
GTA IV Hud (full version)
![](https://files.libertycity.net/download/gtasa_textures/thumbs/1310100906_tbogt2.webp)
GTA TBoGT HUD & Radar Style
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2012-07/hud-ot-r1k_1685989199_846330.webp)
HUD by R1k
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2013-02/hud-by-funnyman-v1-0_1685990151_209427.webp)
HUD by FunnyMan v1.0
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2013-04/rusifikator-i-anglofikator-dlja-hud_1685990411_821773.webp)
Russifier and English for HUD Colors
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2013-07/hud-v-stile-fallout-3_1685990825_614006.webp)
Fallout 3 style HUD
![](https://files.libertycity.net/download/gtasa_parameter/thumbs/2013-08/gta-sa-compact-hud_1685990975_54944.webp)
[GTA SA] Compact HUD
![](https://files.libertycity.net/download/gtasa_scripts/thumbs/2014-01/gta-5-radio-wheel-hud-mod-by-gon_iss_1685991702_64431.webp)