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

Character Viewhands in my custom BO1 map

broken avatar :(
Created 5 years ago
by mobofthedead123
0 Members and 1 Guest are viewing this topic.
1,220 views
broken avatar :(
×
broken avatar :(
Location: gbEngland
Date Registered: 21 December 2018
Last active: 4 years ago
Posts
13
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
mobofthedead123's Contact & Social Links
Hello. I was wondering how I would be able to get the different characters’ viewhands in my Black Ops custom map, so like in Kino Der Toten, Nikolai has different viewhands from Richtofen. Right now in my map, the viewhands are always Dempsey’s hands but the character doesn’t match them. How could I add the different viewhands? Thanks
broken avatar :(
×
broken avatar :(
Location: mx
Date Registered: 17 May 2015
Last active: 11 months ago
Posts
57
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
Gogeta22344's Groups
Gogeta22344's Contact & Social Links
in your mapname.gsc search for
Code Snippet
Plaintext
PreCacheModel( "viewmodel_usa_hazmat_arms" );// Richtofen
underneath that paste:
Code Snippet
Plaintext
level.zombiemode_player_set_viewmodel_override = ::set_viewhands;
 then at the bottom of the file add:
Code Snippet
Plaintext
set_viewhands( entity_num )
{
switch( self.entity_num )
{
case 0:
// Dempsey
self SetViewModel( "viewmodel_usa_pow_arms" );
break;
case 1:
// Nikolai
self SetViewModel( "viewmodel_rus_prisoner_arms" );
break;
case 2:
// Takeo
self SetViewModel( "viewmodel_vtn_nva_standard_arms" );
break;
case 3:
// Richtofen
self SetViewModel( "viewmodel_usa_hazmat_arms" );
break;
}
}
 
broken avatar :(
×
broken avatar :(
Location: gbEngland
Date Registered: 21 December 2018
Last active: 4 years ago
Posts
13
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
mobofthedead123's Contact & Social Links
Thanks, it worked but there is still a problem. The third person models of the characters are not working and are made up of grey blocks, and this is for all of the characters. Do you know a fix for this? Thanks



Double Post Merge: August 07, 2019, 04:34:29 pm
Thanks, it worked but there is still a problem. The third person models of the characters are not working and are made up of grey blocks, and this is for all of the characters. Do you know a fix for this? Thanks
Never mind, I got it the block issue fixed by this tutorial:


https://www.ugx-mods.com/forum/modding/115/character-body-and-hand-models-problems/16695/
Thanks for your help!
Last Edit: August 07, 2019, 04:34:29 pm by mobofthedead123

 
Loading ...