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

Members Online

»
0 Active | 14 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 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Changing the soldiertype?
_ca_garrett
General Member
Since: Aug 2, 2004
Posts: 330
Last: May 16, 2008
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Thursday, May. 15, 2008 01:08 am
So I'm looking in the .gsc file and I see these lines:

Code:

game["allies_soldiertype"] = "woodland";
game["axis_soldiertype"] = "woodland";


And I started wondering... is there a way to change that "woodland" to something else so it would give every class the ghillie suit, and not just those with a primary weapon as a sniper rifle?
Share |
ITOE_MC
General Member
Since: Sep 3, 2006
Posts: 342
Last: Nov 12, 2009
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Thursday, May. 15, 2008 03:43 am
You'd have to change the all character files (raw\character) for each of the mptypes you want to have the ghillie suit to this:

Code:
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY
main()
{
	self setModel("body_mp_usmc_woodland_sniper");
	self attach("head_mp_usmc_ghillie", "", true);
	self setViewmodel("viewhands_marine_sniper");
	self.voice = "british";
}

precache()
{
	precacheModel("body_mp_usmc_woodland_sniper");
	precacheModel("head_mp_usmc_ghillie");
	precacheModel("viewhands_marine_sniper");
}


except that you'd set "self.voice =" to whatever nationality is appropriate. Even though some of the variables above have "usmc" in them, they're used to make the ghillie suit on the Spetznaz vs. SAS maps.

N.B. I'm all but certain that you'll have to pack the modded .gsc's into a fast file. It probably won't work with an .iwd, since the stock character files are in packed in the game's .ff's. That in turn probably means you're going to have to add several lines to your mod.csv for each modded character type

Code:
character,character_mp_sas_urban_recon 


- and so on, and add one line in makeMod.bat to grab the new character files

Code:
xcopy character ..\..\raw\character /SY


It would be a pain in the buttocks, but doable.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

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

»