AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Extended Arm Weapon Skin 2.0 [CS/CZ] {22 Aug 2022} (https://forums.alliedmods.net/showthread.php?t=338882)

SoulWeaver16 08-01-2022 08:25

Extended Arm Weapon Skin 2.0 [CS/CZ] {22 Aug 2022}
 
10 Attachment(s)
https://i.imgur.com/3kLi6v7.png
Description:
Detect which class is chosen, be it Arctic, Leet, GIGN, Urban, etc, including VIP.
And associate it with the corresponding arms like CSGO does.

https://i.imgur.com/qE60XUE.png

Video Preview

Requirements:
  • AmxModX 1.8.3 minimum
  • The SetViewEntityBody2 from the post
  • Models - Preview here


Instructions:
  1. Download the required files:[CS Models][CZ Models]
  2. Compile plugins locally.
  3. Put the models in: "models/extended/"
    Ex: models/extended/v_ak47.mdl
    models/extended/v_shield_deagle.mdl
  4. Put in plugin.ini:
    SetViewEntityBody2_edit.amxx
    Extended_Arm_Weapon_Skin.amxx
    [CZ] (Optional) CZ_Bot_Skin_on_Expert.amxx


Future things:
- Cvar command to disable it on the client side.
Spoiler

- Functions to be associated with cl_minmodels
Spoiler

If set to 1, use the values cl_min_ct */cl_min_t * as input
Spoiler


Change-Log:
  • * 2.0 - 8/22/22
    - Support for shields.
    - Admin support added.
  • * 1.1 - 8/7/22
    - Compatibility for CZ Militia/Spetsnaz.
  • * 1.0 - 8/1/22
    - First release. Waiting for feedback.

Cvars:
  • eaws_admin_flag <#> // Which admin flag is needed, for admin arms.
    Default: ""
  • eaws_admin_skin <#> // Which arms should be applied to admin.
    Default: 8 (VIP)
    Spoiler
  • eaws_default_skin <#> // Which arms should be seen when using a custom player model.
    Default: 3 (Guerilla, bare hands) looks the most like standard model.
    Spoiler

Notes:
  • The bots supported, and seen from spectator mode.
  • Compatible VIP, in case you use VIP Objective Balance.
  • Shield support can be disabled by changing the code:
    #define SHIELD_SUPPORT -> //#define SHIELD_SUPPORT

Credits:
Any contribution of code or ideas that you want to contribute, is welcome.

deprale 08-01-2022 09:28

Re: Extended Arm Weapon Skin
 
Very interesting :)
I think it will be an interesting plugin for a lot of custom guns made specifically for zombie plague.

SoulWeaver16 08-01-2022 15:35

Re: Extended Arm Weapon Skin
 
Quote:

Originally Posted by deprale (Post 2785323)
Very interesting :)
I think it will be an interesting plugin for a lot of custom guns made specifically for zombie plague.

Yes, it is incredible, there will be many possibilities, either for weapon skins or other things that you can think of, I would be needing help with the code for CZ, the reason for this is that the CZ models are heavier, and it is not possible to do it by submodel like CS1.6, it exceeds the limit of .mdl, but doing it by skins instead of submodels is feasible, not only that it would make the model less heavy, if not, it would not put as much load on the server.

WesT_007 08-07-2022 16:14

Re: Extended Arm Weapon Skin
 
Nice plugin, thx, I was looking for a plugin like this for a while <3
If you want I can work with the CZ skins, but it will take some time...

SoulWeaver16 08-07-2022 16:36

Re: Extended Arm Weapon Skin
 
1 Attachment(s)
Quote:

Originally Posted by WesT_007 (Post 2785801)
Nice plugin, thx, I was looking for a plugin like this for a while <3
If you want I can work with the CZ skins, but it will take some time...

Thanks, I'm glad I served you.
I already worked on the CZ skins, I have them practically finished, I still need some fixes

SoulWeaver16 08-07-2022 20:07

Re: Extended Arm Weapon Skin
 
* 1.1 - 8/7/22
- Compatibility for CZ Militia/Spetsnaz.

1xAero 08-09-2022 01:48

Re: Extended Arm Weapon Skin
 
Good job

MayroN 08-09-2022 08:40

Re: Extended Arm Weapon Skin
 
One thing is not clear...
Why did they make body models, if we change the skin textures of the hands and that's it

SoulWeaver16 08-09-2022 11:22

Re: Extended Arm Weapon Skin
 
Quote:

Originally Posted by MayroN (Post 2785969)
One thing is not clear...
Why did they make body models, if we change the skin textures of the hands and that's it

Believe me I tried and we worked on it
https://forums.alliedmods.net/showpo...7&postcount=31

Celena Luna 08-11-2022 00:50

Re: Extended Arm Weapon Skin
 
You should add description on what the plugin does
It is kind of hard to understand without watching the video

SoulWeaver16 08-11-2022 00:56

Re: Extended Arm Weapon Skin
 
Quote:

Originally Posted by Celena Luna (Post 2786161)
You should add description on what the plugin does
It is kind of hard to understand without watching the video

You're right, I will fix the description, it is that I took for granted that they saw the previous post that asked for help regarding the creation of the plugin, which I show the models.

deprale 08-15-2022 09:28

Re: Extended Arm Weapon Skin CS/CZ
 
Nice updated post it looks very nice, plus the actual plugin is a veeery good idea I didn't get it at first, will be using in my next project for sure my guy! Congratulations on amazing work again!

SoulWeaver16 08-15-2022 19:51

Re: Extended Arm Weapon Skin CS/CZ
 
Quote:

Originally Posted by deprale (Post 2786493)
Nice updated post it looks very nice, plus the actual plugin is a veeery good idea I didn't get it at first, will be using in my next project for sure my guy! Congratulations on amazing work again!

Thanks, when we can find a way to use skins instead of submodels, it will open the door to more customization, at the moment I'm happy with how the project is going, any input or suggestion you want to say is welcome :)

kww 08-21-2022 19:19

Re: Extended Arm Weapon Skin CS/CZ
 
sadly we can't just have separate MDLs for hands, weapon and animations.

SoulWeaver16 08-21-2022 19:41

Re: Extended Arm Weapon Skin CS/CZ
 
Quote:

Originally Posted by kww (Post 2787135)
sadly we can't just have separate MDLs for hands, weapon and animations.

In fact if it is possible, what is impossible is to use those multiple models in the first person

bibu 08-22-2022 10:26

Re: Extended Arm Weapon Skin CS/CZ
 
Just wanted to let plugin approvers know, that this plugin was made upon request by the submitter. He helped by providing models, by testing and giving me very useful information regarding model animation number. I do intend to keep the plugin updated.

The plugin itself is quite simple in my opinion. I had to rewrite the base plugin "SetViewEntityBody 2" in order to make this work. I contacted the author to make his plugin more as an API, which would be much more useful for the community: https://forums.alliedmods.net/showpo...2&postcount=34

The way the plugin is right now, it might need optimization. First thing I was thinking of is allocating the models. But I don't know if this is still needed. I was inactive for awhile. The shield support is coming very soon and I couldn't make that as a cvar, since it needs precaching/unprecaching. So this support would need recompiling.

For everyone using the plugin, we are open for feedback and possible future ideas.
For plugin approves, I am open to some feedback.

SoulWeaver16 08-22-2022 12:20

Re: Extended Arm Weapon Skin CS/CZ
 
* 2.0 - 8/22/22
- Support for shields.
- Admin support added.

More information in the main post.

kww 08-24-2022 09:06

Re: Extended Arm Weapon Skin CS/CZ
 
Quote:

Originally Posted by SoulWeaver16 (Post 2787136)
use those multiple models in the first person

This is what I meant

georgik57 11-09-2022 19:28

Re: Extended Arm Weapon Skin 2.0 [CS/CZ]
 
Solid work, congrats.

Siska1 11-10-2022 20:44

Re: Extended Arm Weapon Skin 2.0 [CS/CZ]
 
I have Segmentation fault (core dumped) every time when i join to server !

ChillerX 01-28-2023 00:03

Re: Extended Arm Weapon Skin 2.0 [CS/CZ]
 
Would you mind adding an option for the models to be off by default so players can turn them on manually? A menu to switch them manually would be cool too.

SoulWeaver16 01-31-2023 18:43

Re: Extended Arm Weapon Skin 2.0 [CS/CZ]
 
Quote:

Originally Posted by ChillerX (Post 2798111)
Would you mind adding an option for the models to be off by default so players can turn them on manually? A menu to switch them manually would be cool too.

It could be done, only that it would require the help of the code editor, I don't know if he's pending the post.


All times are GMT -4. The time now is 19:22.

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