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

[LUA] HUD Mascot

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) [*] 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 reserved --- --- 6 reserved --- --- 7 motion ID 0 ~ 9 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/11092610265933481445/230A210AA33E32465AC97E51869704DC20A450C3/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] NAME DESCRIPTION MODEL Displayed mascot (2 types) POS Mascot display position (TopLeft, TopCenter, ..., BottomRight) MSG1–19 Custom messages (24 characters × 3 lines) (*3) (*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 5x3 or larger When displaying messages W160 x H96 EXAMPLE [hr] Waving motion + "HELLO" [img]https://images.steamusercontent.com/ugc/14715249751012891095/6FCD09B38B0FFD9CF1F58894A7441AF9D1436B02/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] PROPERTIE: NAME SET PARAM MSG1 HELLO COMPOSITE: NO NAME SET PARAM NOTE 7 motion ID 1 [MOTION] 1:WAVE 9 message ID 1 [PROPERTIE] MSG1 Walking motion + Current coordinates [img]https://images.steamusercontent.com/ugc/13374400849675125456/89FB6CB759652100898FA622D258CA4BA618D089/?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) 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 OTHERS [hr] [list] [*] This is a beta version. [*] You are welcome to modify this microcontroller and install it in your own vehicles. [/list] MY WORKSHOP: [url=https://steamcommunity.com/id/0000000099999999/myworkshopfiles/?appid=573090]https://steamcommunity.com/id/0000000099999999/myworkshopfiles/?appid=573090[/url]