Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 85 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Set custom player model
gomerdeath
General Member
Since: Jun 15, 2012
Posts: 2
Last: Jan 29, 2014
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Wednesday, Jan. 29, 2014 06:13 pm
Hey so ive been workign on a mod and in the quickmessage menu i have it set so that you can change your player model to custom player models. Every model if tried using ive gotten the error: dobj for xmodel 'playermodel_BotS_50cent
' has more than 128 bones. ive tried it with 4 models and got the same error. Im not sure what im doign wrong i precache the models in init()
Code:
   precacheModel("playermodel_BotS_50cent");
           precacheModel("viewhands_BotS_50cent");   

and in the function for the menu button i have
Code:
model2()
{
   self setModel("playermodel_BotS_50cent");
   self setViewmodel("viewhands_BotS_50cent");
}


and then i get the error when pressing the button. If anyone could tell me what im doing wrong itd be great :) thanks
Share |
Samuel033
General Member
Since: Dec 10, 2009
Posts: 484
Last: Dec 25, 2015
[view latest posts]
Level 5
Category: CoD4 Scripting
Posted: Wednesday, Jan. 29, 2014 10:35 pm
As it says, the player model has too many bones/joints in it. Some things to check.

See if the new model has a player head already built in. If so you must detach the head from the stock player body first. Do not reattach the head. If you go back from this kind of custom model to a stock one be sure to reattach the proper head.

If all those are ok, and if you are using a custom weapon, check to be sure the world model has no more than 4 tags.
Share |
gomerdeath
General Member
Since: Jun 15, 2012
Posts: 2
Last: Jan 29, 2014
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Wednesday, Jan. 29, 2014 11:11 pm
Thank you so much :) detaching the head first made it work perfectly
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»