UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Skin Select

broken avatar :(
Created 10 years ago
by NinjaWa
0 Members and 1 Guest are viewing this topic.
1,558 views
broken avatar :(
×
broken avatar :(
Location: esaamlkd
Date Registered: 22 November 2015
Last active: 10 years ago
Posts
9
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
NinjaWa's Groups
NinjaWa's Contact & Social Linksthefuckingninja
I don't really know if this thread should go here but as it's something related to scripting too...

Hello, I'm having a bit of trouble as I'm looking at CoD4 sources and some mods sources but none of them (I don't find) shows a way in how to set a skin for a weapon.

I don't want to create a different "weapon" for each skin as I don't want to reach the weapons asset limit (128), I've already in use ~40 weapon files.

I know that I need to create viewmodels, worldmodels, images, materials and material_proterties for each skin, I've been looking at some default CoD4 weapon files and they have this:

Code Snippet
Plaintext
gunModel\viewmodel_remington700_mp\gunModel2\viewmodel_remington700_mp_brock\gunModel3\viewmodel_remington700_mp_bshdwl\gunModel4\viewmodel_remington700_mp_bwmrpt\gunModel5\viewmodel_remington700_mp_cmdtgr\gunModel6\viewmodel_remington700_mp_stagger\gunModel7\\gunModel8\\gunModel9\\gunModel10\\gunModel11\\gunModel12\\gunModel13\\gunModel14\\gunModel15\\gunModel16\

So in theory I would be able to set-up 16 viewmodels for the R700 weapon, the thing is how do I select each of them?



Any help is appreciated, thanks  :rainbow:
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
You use:

Code Snippet
Plaintext
player giveweapon("weaponname", 1);//weaponname is the name of weapon file and 1 would be the increment of the model

Look here for more info:
http://ugx-mods.com/forum/index.php/topic,8558.msg93332.html#msg93332
Last Edit: December 21, 2015, 08:08:53 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: esaamlkd
Date Registered: 22 November 2015
Last active: 10 years ago
Posts
9
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
NinjaWa's Groups
NinjaWa's Contact & Social Linksthefuckingninja
Thanks for the fast response, I think I can make it but I'm still not sure
broken avatar :(
×
broken avatar :(
Location: esaamlkd
Date Registered: 22 November 2015
Last active: 10 years ago
Posts
9
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
NinjaWa's Groups
NinjaWa's Contact & Social Linksthefuckingninja
Another question, this is for CoD4, not for WaW.

Will it set a worldmodel automatically?
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Another question, this is for CoD4, not for WaW.

Will it set a worldmodel automatically?
auto

you have

gunmodel2 and worldmodel2

itll pick the pair ofc

 
Loading ...