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

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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: SetModel no work
splash93
General Member
Since: Aug 22, 2011
Posts: 25
Last: Dec 20, 2012
[view latest posts]
Level 1
Category: CoD4 Scripting
Posted: Friday, Apr. 27, 2012 12:39 am
Hello all,

I download a skin for vip members but.

I have my iwd file I have 3 pictures

bodies_arab_regular_col.iwi
arab_regular_mowrap_sp_col.iwi
arab_regular_helmet_hands_sp_col.iwi


when I do that it does not work

self setmodel("bodies_arab_regular_col.iwi");
or
self setmodel("arab_regular_mowrap_sp_col.iwi");
or
self setmodel("arab_regular_helmet_hands_sp_col.iwi");


it does not work can you help me please?

thx
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 Scripting
Posted: Friday, Apr. 27, 2012 06:15 am
splash93 writes...
Quote:
Hello all,

I download a skin for vip members but.

I have my iwd file I have 3 pictures

bodies_arab_regular_col.iwi
arab_regular_mowrap_sp_col.iwi
arab_regular_helmet_hands_sp_col.iwi


when I do that it does not work

self setmodel("bodies_arab_regular_col.iwi");
or
self setmodel("arab_regular_mowrap_sp_col.iwi");
or
self setmodel("arab_regular_helmet_hands_sp_col.iwi");


it does not work can you help me please?

thx


This mistake is about as elementary incorrect as you can get:

1. IWI files are image files;
2. You cannot use the setModel() function on IWI files, only xmodels;
3. In order to get your skins working, all you have to do is put them in an IWD file, in an "images" folder, choose Opfor as your team and the skins will change the default skins to your custom ones.
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Friday, Apr. 27, 2012 10:16 am
splash93 writes...
Quote:
I download a skin for vip members but.


So you want the skin to only be assigned to VIP members? How do you plan on distinguishing between VIPs and "normal" players? It can get a little tricky then as you will need 2 sets of player models with the "VIP" one different files than the stock one and then mod the _teams.gsc to assign the new player models to only the VIP members....
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

»