Question !

Started by Mohamed Boubekri, Sep 15, 2023, 02:28 PM

Previous topic - Next topic

Mohamed Boubekri

Hey everyone, i want to know if there any-way to put a label on a wall (object) or (custom object) ?
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

habi

Could you elaborate more? Do you mean GUI Label?

vitovc

maybe like graffiti in european city server
...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)

Mohamed Boubekri

| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

Mohamed Boubekri

Those labels are not moving.
its just, like a wall or object contains labels.
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

vitovc

well you can look into ctf's clientside scripts. its GUI_FLAG_3D_ENTITY flag + Position3D Rotation3D values (in ctf its hardcoded, to calculate them you need to google some math or just playing with different values manually)
...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)

Mohamed Boubekri

Quote from: vitovc on Sep 16, 2023, 03:48 PMwell you can look into ctf's clientside scripts. its GUI_FLAG_3D_ENTITY flag + Position3D Rotation3D values (in ctf its hardcoded, to calculate them you need to google some math or just playing with different values manually)
Alright, but those lignes & columns have been created by DecUI ?
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

vitovc

no idea about DecUI lib. but moving/rotation gui elements is generic in vcmp clientside script
...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)

Mohamed Boubekri

Alright, thank you
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].