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

[LUA] HUD MASCOT

UPDATE 0.92b -> 1.00 (2026-02-28)


HUD MASCOT


This microcontroller displays a mascot character and messages on the HUD.

  • 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)

SPECIFICATION


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

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


Walking motion + Current coordinates

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


Set the emote ID to composite 5 to display the emote icon.

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.

HISTORY


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

USAGE GUIDELINES


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


- 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


- You are welcome to modify this microcontroller and install it in your own vehicles.

MY WORKSHOP:
https://steamcommunity.com/id/0000000099999999/myworkshopfiles/?appid=573090

Рейтинг

Войдите, чтобы голосовать.
🏅 Нет оценок
Загрузить 196.6 KB