AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   Circular Weapon Selection (https://forums.alliedmods.net/showthread.php?t=338569)

EFFx 07-12-2022 23:28

Circular Weapon Selection
 
1 Attachment(s)
First off, I was not sure where to post it. I did not think it was needed to be inside the New Plugins Submissions either, in the end, I posted here.

This is just another code I had for a very long time, found it somewhere, couldn't remember the first author. But what it had was four points to select 4 weapons. Changed it to eight and added more command for easy control. Since I have no time to apply it in another project, I'm gonna post it here for the community.
-


Basically, it recreate 8 points in your Point of View. 8 weapons are displayed (I added them manually) in the screen after using a chat command (/cmenu by default). You can press 'Q' or 'E' to move the "circle" of the weapons and select the item that is in the middle by pressing 1. The design is pretty cool and I don't want to keep it just for myself.
-

Some pictures:

https://imgur.com/9DeTTm9.png https://imgur.com/aPOvse6.png
https://imgur.com/rynAhte.png https://imgur.com/unvqmfE.png



Hope somebody likes ^^
-

Mistrick 07-13-2022 08:13

Re: Circular Weapon Selection
 
You can add a cursor to select an item like I do in my map manager.


All times are GMT -4. The time now is 18:42.

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