AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=44)
-   -   Knife Menu (https://forums.alliedmods.net/showthread.php?t=323213)

Arje 04-14-2020 17:00

Knife Menu
 
Hi! I wanted to ask if possible, make this selection menu, but for the different superhero knifes, based on the fact that if they have the heroes they can choose their model v_knife

Because the latest knife model is always put on the plugins list

https://forums.alliedmods.net/showthread.php?t=293632 something like this??

heliumdream 09-23-2020 13:48

Re: Knife Menu
 
You can probably use the Plugin you link to:
Knife Models [XP System & Skills Support]
https://forums.alliedmods.net/showthread.php?t=293632

It looks good!

I used the Individual Weapon Model plugin to let users control their weapon and knife skins. It's not got a menu, it's a bit of a clunky solution. But the way skins stack in sh ends up wonky anyway, it's better than nothing!
https://forums.alliedmods.net/showthread.php?t=96777

I heavily modified my IWM plugin to know about superhero levels; so players can only use 'unlocked' skins, and made other improvements:
https://forums.alliedmods.net/showpo...2&postcount=51

For player skins I used the CS User Model Menu:
https://forums.alliedmods.net/showth...t=8631&page=10

It's very good!

I heavily modified my version of the CSUMM to support superheroes:
https://forums.alliedmods.net/showpo...&postcount=107

You can modify the Knife Model Menu plugin to support superheroes, but it will be a coding challenge!
You can look at how I modify the CSUMM and IWM to achieve this.

Arje 02-24-2022 12:49

Re: Knife Menu
 
1 Attachment(s)
Thanks for the suggestions, but none of them worked as I wanted, in the end I wrote this code that does what I want which is: if I have such a power I can select his knife or change to another power that he also has, it works based on whether he has such a power or not, and not by level like the ones you suggested but thanks they guided me to do it


If someone wants to use it, they have to know how to use the code, and basically to achieve the function sh_get_hero_id("Chucky"); Or another, you have to write the chucky script with the new forms this is quite easy to do just look for the Jelle tutorial its very simple

if you understand how to do this you can apply in the code

* clarification for this to work well you have to put the plugin at the end of the list of plugins-shero.ini, so no model is superimposed

heliumdream 02-26-2022 11:06

Re: Knife Menu
 
Not perfectly sure it would help, but someone did figure out a method of detecting which 'heroes' are in use without having to further modify individual heroes.

Vittu's last released of Blade:
https://forums.alliedmods.net/showth...t=30090&page=3

is sh_get_hero_id("hero") native? or did you code that? i didnt recognize it off the top of my head.

Arje 02-26-2022 18:03

Re: Knife Menu
 
Quote:

Originally Posted by heliumdream (Post 2772517)
Not perfectly sure it would help, but someone did figure out a method of detecting which 'heroes' are in use without having to further modify individual heroes.

Vittu's last released of Blade:
https://forums.alliedmods.net/showth...t=30090&page=3

is sh_get_hero_id("hero") native? or did you code that? i didnt recognize it off the top of my head.

sh_get_hero_id("hero") is native, is using it in blade, This code is a good way to gather a group of heroes, but my me knife menu, I needed to recognize them individually, because each model was specific to each hero

that's why I saw this g-dog code and applied it, it can be applied to any hero, and put conditions in a simple way, the only thing as I said is that you have to write the code of the heroes involved with the new forms, which is very simple follow the example of the heroes from the superheromod1.2.0 or Jelle Tutorial file https://forums.alliedmods.net/showth...hero_id&page=2


All times are GMT -4. The time now is 21:00.

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