Raised This Month: $12 Target: $400
 3% 

VGUI Display Image


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leandro442
Member
Join Date: Sep 2013
Location: Portugal
Old 12-03-2021 , 12:27   VGUI Display Image
Reply With Quote #1

good afternoon everyone! i've been looking at ways to display image in csgo! and a few days ago I found out on the cyber shock server among us, they emit an image across the screen and this image has a kind of "triggers" that you can move items in the image with the mouse cursor, and it's something It's amazing after thinking and researching a lot, the only way to do that is through the vgui I'm not even seeing another way and I've already had to try to make ways to create the vgui panel and I didn't get anything and I come here to ask for help to see if anyone knows or can you help me
leandro442 is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-04-2021 , 17:38   Re: VGUI Display Image
Reply With Quote #2

Can you create a video showing what vgui menu display you are talking about?
backwards is offline
leandro442
Member
Join Date: Sep 2013
Location: Portugal
Old 12-05-2021 , 16:16   Re: VGUI Display Image
Reply With Quote #3

yes I have https://youtu.be/4yLhCfuklsc
leandro442 is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-05-2021 , 16:28   Re: VGUI Display Image
Reply With Quote #4

https://www.youtube.com/watch?v=fI6JIzh3y_A

Yes it's a model moving in front of the players face to mimic a GUI. They just get mouse[0] and mouse[1] in the usercmd to keep track of the direction the mouse is moving. The mouse is another model drawn in the world infront of the menu and moves based on that input. Then you can do math to find out where the mouse would be ontop of the gui element based on the players current view angles.
backwards is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-06-2021 , 03:28   Re: VGUI Display Image
Reply With Quote #5

Quote:
Originally Posted by backwards View Post
https://www.youtube.com/watch?v=fI6JIzh3y_A

Yes it's a model moving in front of the players face to mimic a GUI. They just get mouse[0] and mouse[1] in the usercmd to keep track of the direction the mouse is moving. The mouse is another model drawn in the world infront of the menu and moves based on that input. Then you can do math to find out where the mouse would be ontop of the gui element based on the players current view angles.
that looks awesome
possible to post a snippet or something?
__________________
8guawong is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode