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: Load allies/axis proper models
maedhros89
General Member
Since: Mar 5, 2012
Posts: 6
Last: Aug 19, 2012
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Tuesday, Aug. 14, 2012 09:08 pm
Hi all, and thx for the great job, it helped me a lot.

Here's the problem: I wanna change teams for my TDM custom map, SAS instead of Marines, Spetnaz instead of OpFor.

I tweaked around my .gsc and zone file and didn't work, then I searched the WIKI and applied this upgrade:

http://modsonline.com/www_modsonwiki/index.php?title=Call_of_Duty_4:_team.gsc&redirect=no

recompiled, reupdated and still nothing, it only change the voiceovers and the in-game hud, but not the choose team/class menu and, more important, the correct models.

quite a noob at scripting,
somebody can help me?[banghead]
Share |
FzBr.d4rk
General Member
Since: Jan 23, 2011
Posts: 86
Last: Jun 7, 2016
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Wednesday, Aug. 15, 2012 04:26 am
First you need to define the soldier type in your map script.

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

if you will use "woodland", you will need to add the line "include,mptypes_woodland" in your zone files. But if you will use "urban" instead of "woodland" you will add "include,mptypes_urban".
Okay.

For run your map with teams correctly you will need to run with a mod.I use "custommaps"


Sorry for the english!!
Share |
maedhros89
General Member
Since: Mar 5, 2012
Posts: 6
Last: Aug 19, 2012
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Wednesday, Aug. 15, 2012 10:54 am
Thx for the quick reply!

I forgot this simple passage..
I still can't get rid of marines and opfor models, as I said, zone files are ok.
the customMaps mod came with ModTool itself, so I already installed it.

I'm wondering if I must edit the _teams.gsc file (located in mods/customMaps/customMaps.iwd) with proper values, such as
"mapname" and others like "marines","desert"...

maybe is a stupid and obvious problem, but still noob at scripting, sorry!

Thx a lot!
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD4 Scripting
Posted: Wednesday, Aug. 15, 2012 11:37 am
maedhros89 writes...
Quote:
Thx for the quick reply!

I forgot this simple passage..
I still can't get rid of marines and opfor models, as I said, zone files are ok.
the customMaps mod came with ModTool itself, so I already installed it.

I'm wondering if I must edit the _teams.gsc file (located in mods/customMaps/customMaps.iwd) with proper values, such as
"mapname" and others like "marines","desert"...

maybe is a stupid and obvious problem, but still noob at scripting, sorry!

Thx a lot!


The _teams.gsc file in the customMaps mod has already been edited for use with custom maps. So, there is no need to do anything more with it. Just make sure you launch your map using it as the mod (folder).

Please post both your map's GSC file, and your zone CSV file. Let's have a look to see if we can't identify the problem.
Share |
maedhros89
General Member
Since: Mar 5, 2012
Posts: 6
Last: Aug 19, 2012
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Sunday, Aug. 19, 2012 11:38 am


The _teams.gsc file in the customMaps mod has already been edited for use with custom maps. So, there is no need to do anything more with it. Just make sure you launch your map using it as the mod (folder).

Please post both your map's GSC file, and your zone CSV file. Let's have a look to see if we can't identify the problem.


Solved! Thank you guys!
There was a little problem, I forgot to delete the two .ff from the zone/english folder, before move them in the usermaps folder, sorry!
In fact, I couldn't connect to others pc when I ran a connection test, because cod was still loading .ff frome zone folder.
Now everything run perfect!

Thx a lot!
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

»