Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

[LUA] HUD MASCOT

UPDATE 0.92b -> 1.00 (2026-02-28) [hr] [img]https://images.steamusercontent.com/ugc/13650502289414481060/2E86E3DB24CFD515C35F9C2B07444F3811A8B1A5/?imw=512&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] HUD MASCOT [hr] This microcontroller displays a mascot character and messages on the HUD. [list] [*] Input the mascot motion ID and message ID into composite signals [*] Motions are selected from preset animations [*] Messages can be customized by setting properties [*] Messages can include arbitrary values (such as sensor readings) [*] Display emote icons (customizable). [*] You must create your own controller microcontroller to operate this one according to your vehicle (sample included) [/list] SPECIFICATION [hr] COMPOSITE NO NAME RANGE DESCRIPTION 1 rotate (roll) -1 ~ 1 Mascot rotation (Roll) (*1) 2 reserved --- --- 3 rotate (yaw) -1 ~ 1 Mascot rotation (Yaw) (*1) 4 reserved --- --- 5 emote ID 0 ~ 89 Emote ID (0: Hidden) 6 reserved --- --- 7 motion ID 0 ~ 10 Motion ID (0: Idle motion) 8 reserved --- --- 9 message ID 0 ~ 19 Message ID (0: Hidden) 10 reserved --- --- 11 val %1 (float64) Value displayed in the message (*2) ~ ~ ~ ~ 19 val %9 (float64) (*1) Effective only while IDLE. ex) intended usage: By feeding Seat composite 1(AD) and 3(LR), or Physics Sensor composite 10(angular X) and 11(angular Y) into composite 1(rotate roll) and 3(rotate yaw), the mascot’s tilt will reflect those values while in the idle state. (*2) Values are rounded to two decimal places. PROPERTIES [img]https://images.steamusercontent.com/ugc/11210016869866592286/B1692A10BB7A0D014833940733FFA85ED8B62607/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] NAME DESCRIPTION VER. MODEL Displayed mascot (5 types) 1.00 MDL POS Mascot display position (TopLeft, TopCenter, ..., BottomRight) MSG POS Message display position (LEFT, RIGHT, ABOVE, BELOW) 0.92b MSG WIDTH Maximum characters per line (22 characters for 3×3 HUD) 0.92b WINDOW OPACITY Message window opacity 0.92b MSG1–19 Custom messages (up to 3 lines) (*3) EMO70–89 Custom emote data 1.00 (*3) ex) MSG1: "SPEED:| %1 kmh" - "|" : Line break - "%n": Displays the input value MOTION ID NAME ID NAME ID NAME ID NAME ID NAME 0 IDLE 1 WAVE 2 WALK 3 RUN 4 SIT 5 NOD 6 SHAKE HEAD 7 CHEER 8 FLAIL 9 DANCE 10 TAKE ON ME -- ---- -- ---- -- ---- -- ---- OUTPUT DEVICE DESCRIPTION NOTE HUD Recommended W256 x H192 Monitor 2x2 or larger When not displaying messages W64 x H64 Monitor 3x3 or larger When displaying messages W96 x H96 EXAMPLE [hr] Walking motion + Current coordinates [img]https://images.steamusercontent.com/ugc/11812535172181491773/581DE0697E3F11B0F8F35B833B53EBB900A0B898/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] PROPERTIE: NAME SET PARAM MSG3 POS(X, Y):|(%3, %4) COMPOSITE: NO NAME SET PARAM NOTE 7 motion ID 3 [MOTION] 2:WALK 9 message ID 3 [PROPERTIE] MSG3 13 val (%3) (float64) Feed Physics Sensor (1: X position) into composite(13) 14 val (%4) (float64) Feed Physics Sensor (2: Y position) into composite(14) EMOTE [hr] Set the emote ID to composite 5 to display the emote icon. [img]https://images.steamusercontent.com/ugc/14215471468379208414/4194B4D794BD0FED427AF0AC9949A76836FBF64F/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] The emote ID ranges from 0 to 89. (0:hidden) Emote ID: 00–69 : Preset Emote ID: 70–89 : User custom For preset emotes and instructions on how to add emotes, refer to the figure below. [img]https://images.steamusercontent.com/ugc/12744401305955251287/F2F53D6EF8B9B870BC48146CFBEBF38B7FCC0E5C/?imw=512&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [img]https://images.steamusercontent.com/ugc/17817208445216549916/7A13547318DC0B3F9645795A81E11CBEB0E3881A/?imw=512&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] HISTORY [hr] 2026-02-28, Ver. 1.00 - Added one new model (2B) - Added emote display - Other minor fixes 2026-02-22: ver. 0.92b - Added two new models (Teto, Roll) - Fixed an issue where per-face colors of the models were displayed incorrectly - Added a setting for maximum characters per line - Added a setting for message window position - Added a setting for message window opacity - Other minor fixes [img]https://images.steamusercontent.com/ugc/17138845816783420460/2E2ED7A1D3767EE309E44D66BEE039665957C3A6/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [img]https://images.steamusercontent.com/ugc/10145483290499003415/C64407140E239F1B7FEE8B7C6CA59734DFFAEB0E/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false][/img] USAGE GUIDELINES [hr] When using this microcontroller in situations visible to others (such as videos or multiplayer), please avoid using it in ways that could significantly harm the original character’s image or make others uncomfortable. TERMS [hr] - Modding: OK - Redistribution: NO - Distribution of your vehicles with this microcontroller: OK - Distribution of your vehicles with a modified microcontroller: OK (*) (*) Provided that the modified version does not include 18+, R18, explicit, sexual, or violent content. Such content is strictly prohibited OTHERS [hr] - You are welcome to modify this microcontroller and install it in your own vehicles. MY WORKSHOP: [url=https://steamcommunity.com/id/0000000099999999/myworkshopfiles/?appid=573090]https://steamcommunity.com/id/0000000099999999/myworkshopfiles/?appid=573090[/url]