AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   REQUEST ? Is this Possible? (https://forums.alliedmods.net/showthread.php?t=292977)

FR0NTLINE 01-19-2017 13:21

REQUEST ? Is this Possible?
 
Hey guys, I've asked a few coders if they could create this plugin, And nobody is sure, It's multiple skins in one model/submodel, The coder would need to make a menu in game so the player could choose the skin he or she wants to use. This would eliminate downloading a bunch of models.

Visinescu 01-19-2017 13:24

Re: REQUEST ? Is this Possible?
 
That would require the main model(s) have a bunch of sub-models in it/them. like cso like costumes plugin.

klippy 01-19-2017 13:54

Re: REQUEST ? Is this Possible?
 
This is more of a job for a modeler than a coder. Coding a menu that will change a submodel is easy.

FR0NTLINE 01-19-2017 13:55

Re: REQUEST ? Is this Possible?
 
so is it possible. Could you link me somewhere I could check this out? I've never seen this. Thanks guys Klippy
would you like to make 15 dollars creating this plugin it would require sounds also for the weapons but not all
I have a great modeler friend that can do the modeling part.

edon1337 01-19-2017 14:11

Re: REQUEST ? Is this Possible?
 
Ermm, you're wanting just a menu that will hold items like this

// menu inside
Choose Your Skin - menu title

Skin Agent - item 1
Skin Assassin - item 2

Or you want a menu with sub-menus like

// main menu
Player Skins - item 1
Player powers - item 2

// player skins inside
Skin Agent - item 1
Skin Assassin - item 2

FR0NTLINE 01-19-2017 14:18

Re: REQUEST ? Is this Possible?
 
It would be like,typing /skinme then the menu would read #1 awps then you'd see a dozen or so skins in that awp to choose from. Same with all the other weapons, But you could only get the CT's menu for their weapons if your a CT, same with terrorists, Anyways I kind of wanted this to be a private plugin so I wont' go into to much detail, Just pm me if you'd like to try this out. Thanks

OciXCrom 01-19-2017 14:23

Re: REQUEST ? Is this Possible?
 
You want this for weapon models? I don't think it's possible.

FR0NTLINE 01-19-2017 14:28

Re: REQUEST ? Is this Possible?
 
This is what I keep hearing it can be done, It can't be done, 10 coders 5 say it's doable, 5 say it's not. LOL Where's the JEDI's Can I get a JEDI IN HERE!!!!!!!!!! :) Ocixcrom also if your not busy I got some paid work for you.

edon1337 01-19-2017 14:28

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by OciXCrom (Post 2488104)
You want this for weapon models? I don't think it's possible.

You think that because user might not be holding the weapon he chooses? Then just use give_item before setting model.

JusTGo 01-19-2017 14:31

Re: REQUEST ? Is this Possible?
 
its possible but the method is not 100% perfect.

edon1337 01-19-2017 14:38

Re: REQUEST ? Is this Possible?
 
Frontline, if you want 1) then it's possible , if you want 2) then still possible but it requires a lot of work , so I wouldn't accept doing that.

1) Player can open menu and choose a case , example AWP case, if he doesn't have AWP he won't be able to access, otherwise a sub-menu with AWP models will appear (Dark AWP, Fire AWP, Green AWP) , if he isn't holding AWP when choosing a skin, we'll set AWP as the weapon he's holding and will set the skin.

2 ) The same as 1 ) just that here he can choose a skin for AWP even if he doesn't own an AWP, but the selection will be saved in an external nVault file which will be called the first time he owns an AWP, then we'll set his skin.

FR0NTLINE 01-19-2017 14:51

Re: REQUEST ? Is this Possible?
 
Thanks guys, I'll be waiting for that special someone. lol.

OciXCrom 01-19-2017 15:08

Re: REQUEST ? Is this Possible?
 
Making the menu and sub-menus and sub-sub-sub-menus and nvault stuff is easy. Let me see you change the skin of a v_ model.

Depresie 01-19-2017 15:13

Re: REQUEST ? Is this Possible?
 
V_ models don't work with submodels/subtextures, there is a way to do it tho, but is messy and CPU intensive so it is not worth it

edon1337 01-19-2017 15:38

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by OciXCrom (Post 2488124)
Making the menu and sub-menus and sub-sub-sub-menus and nvault stuff is easy. Let me see you change the skin of a v_ model.

What are you on about ? Doesn't he just want to change the weapon model ?

OciXCrom 01-19-2017 16:26

Re: REQUEST ? Is this Possible?
 
He wants to use SUB-MODELS for v_ weapon models, do you even know what that means?

edon1337 01-19-2017 16:57

Re: REQUEST ? Is this Possible?
 
Not really, I just thought he wanted to change weapon skin, but the word sub-model itself tells you to put a model a model in another one, so he wants to mix 2 models ?

klippy 01-19-2017 17:47

Re: REQUEST ? Is this Possible?
 
It's possible to squeeze more models into a single .mdl file. Those models are called sub-models.

FR0NTLINE 01-19-2017 18:12

Re: REQUEST ? Is this Possible?
 
yeah if all the skins are in the submodel or however that works then the code i'm assuming could choose the skin for the p/v/ or w model. My modeler buddy says it's not problem on his end for compiling.

edon1337 01-19-2017 19:46

Re: REQUEST ? Is this Possible?
 
I think that's not possible. Why don't you just stick to the working side ? Just make them download models one by one instead of crashing them.

FR0NTLINE 01-19-2017 20:28

Re: REQUEST ? Is this Possible?
 
Just would like to have minimal downloads, would be better. Then again longer downloads may be a plus.

OciXCrom 01-20-2017 08:30

Re: REQUEST ? Is this Possible?
 
Well, downloading 10 files will be pretty much the same as downloading 1 file with the same size. Either you will have more downloads with a 100% working plugin, or less downloads with a plugin that won't work properly and will require another person to make the model every time you want to change something.

klippy 01-20-2017 11:37

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by OciXCrom (Post 2488325)
Well, downloading 10 files will be pretty much the same as downloading 1 file with the same size.

The thing is that I think submodels share the same skeleton and animations. Not sure what exactly they share, but the file will be quite smaller.

gabuch2 01-20-2017 14:34

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by OciXCrom (Post 2488325)
Well, downloading 10 files will be pretty much the same as downloading 1 file with the same size.

Precaching 1 resource vs precaching 10 resources.

I think the choice here is obvious.

edon1337 01-20-2017 18:16

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by Shattered Heart Lynx (Post 2488435)
Precaching 1 resource vs precaching 10 resources.

I think the choice here is obvious.

You misunderstood the point, 1 Full Resource * 10 Sub-Resources = 10 MB (example)
10 Sub-Resources = 9 MB (a little less because in the first one you're including an extra one)

So yeah what he's trying to do is buggy and useless.

OciXCrom 01-20-2017 19:10

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by edon1337 (Post 2488500)
You misunderstood the point, 1 Full Resource * 10 Sub-Resources = 10 MB (example)
10 Sub-Resources = 9 MB (a little less because in the first one you're including an extra one.

o_O

safetymoose 01-20-2017 20:26

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by edon1337 (Post 2488500)
You misunderstood the point, 1 Full Resource * 10 Sub-Resources = 10 MB (example)
10 Sub-Resources = 9 MB (a little less because in the first one you're including an extra one)

So yeah what he's trying to do is buggy and useless.

Wrong.

1 resource = 2mb (1.4 mb animation and 0.6mb skeleton and textures)
10 resouces = 20mb.

1 big resource with 10 sub-resources = 1.4mb + 10 * 0.6 mb = 7.4mb

This is just an example, but you get the idea...

gabuch2 01-21-2017 09:36

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by edon1337 (Post 2488500)
You misunderstood the point, 1 Full Resource * 10 Sub-Resources = 10 MB (example)
10 Sub-Resources = 9 MB (a little less because in the first one you're including an extra one)

So yeah what he's trying to do is buggy and useless.

Size of resources doesn't matter. Not going above the precache limit does.

Relaxing 01-21-2017 09:58

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by FR0NTLINE (Post 2488072)
need to make a menu in game so the player could choose the skin he or she wants to use. This would eliminate downloading a bunch of models.

So a ingame thingy has to be client command, that player can write if he or SHE don't want to download
ex. (allow_ak 1, allow_awp 1) which don't exist...
- But how on world he has to know these commands, so basically client has to be in server(downloading bunch of models) then learing these commands.

yas17sin 01-21-2017 10:06

Re: REQUEST ? Is this Possible?
 
or maybe he can make a menu for this commande with this : https://forums.alliedmods.net/showthread.php?t=284324

Relaxing 01-21-2017 12:22

Re: REQUEST ? Is this Possible?
 
Wrong, Incorrect. @yas17sin
- How about a plugin that generates a menu listing weapons and you can disable or enable certain skins, as pauseplugin menu works, just tap the butto' to pause, then you can add a data save thingy, so your allowed and disabled skins then you don't have to re-open the menu to re-configurate your settings when you connect to server again.

yas17sin 01-21-2017 12:50

Re: REQUEST ? Is this Possible?
 
i saw a plugin like this was made by @EFFx but he remove it .

FR0NTLINE 01-24-2017 20:38

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by Depresie (Post 2488130)
V_ models don't work with submodels/subtextures, there is a way to do it tho, but is messy and CPU intensive so it is not worth it

Thanks buddy, If anyone is interested on possibly figuring this out for me, If possible, inbox me I'll pay you or buy you steam stuff.

FR0NTLINE 02-03-2017 00:46

Re: REQUEST ? Is this Possible?
 
ok so my buddy figured it out, he makes models, so csgo models for 1.6 13k have to many verticles, and 1.6's engine can only handle around 2.3k verts at max. So it's impossible.

gabuch2 02-03-2017 06:41

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by FR0NTLINE (Post 2492308)
ok so my buddy figured it out, he makes models, so csgo models for 1.6 13k have to many verticles, and 1.6's engine can only handle around 2.3k verts at max. So it's impossible.

*per smd

Depresie 02-03-2017 06:55

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by KliPPy (Post 2488363)
The thing is that I think submodels share the same skeleton and animations. Not sure what exactly they share, but the file will be quite smaller.

Also, Klippy is right, the models must share the same skeleton

frk_14 02-03-2017 20:34

Re: REQUEST ? Is this Possible?
 
this plugin basically do the change bodies in v model D: ,https://forums.alliedmods.net/showthread.php?t=287754

EFFx 02-03-2017 20:43

Re: REQUEST ? Is this Possible?
 
Yas, you can use the plugin that OciXCrom has posted, that have more than one model for awp, just change it to the weapon you want. Make a simple menu with all weapons you want and use the OciXCrom's format to add the skin.

FR0NTLINE 02-21-2017 14:43

Re: REQUEST ? Is this Possible?
 
and yes it can be done. I'm having it created now.

FR0NTLINE 02-21-2017 15:00

Re: REQUEST ? Is this Possible?
 
Quote:

Originally Posted by frk_14 (Post 2492608)
this plugin basically do the change bodies in v model D: ,https://forums.alliedmods.net/showthread.php?t=287754

Thanks dude this has helped.


All times are GMT -4. The time now is 07:47.

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