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

Members Online

»
0 Active | 66 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 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: exploding barrel
Hollow1980
General Member
Since: Aug 24, 2008
Posts: 31
Last: Oct 30, 2008
[view latest posts]
Level 2
Category: CoD4 MP Mapping
Posted: Wednesday, Aug. 27, 2008 08:48 pm
ok i read the tutorial and i have to say its writen a bit basic, dont give enough info esspecially when it comes under "beginner"

ok, i got my barrel, while this gsc file i edit??

could someone explain the process for of how to do step by step plz.

thx
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 MP Mapping
Posted: Wednesday, Aug. 27, 2008 08:57 pm
Did you make a .gsc file for your map yet? If so, add the line in your main function.

If not, make one by making a yourmapname.txt file (with 'yourmapname' being the EXACT name of your map) and copy the following in

main()
{
maps\mp\_load::main();
maps\mp\_exploding_barrels::main();
}

Save and rename the file to yourmapname.gsc, place it in your raw/maps/mp folder.

Share |
The_Dark_Jedi
General Member
Since: Jan 29, 2011
Posts: 24
Last: Feb 4, 2012
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Wednesday, Feb. 2, 2011 03:07 pm
Hi,
I followed the steps from the Tutorials too but then there is an Error:

The programm says that he can't find the file "_exploding_barrels"
I searched for it and I only found _explosive_barrels...

Could somebody be so nice and upload it for me?[read]

Dark_Jedi
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, Feb. 2, 2011 07:23 pm
That's the script.

Call of Duty 4 - Modern Warfare\raw\maps\mp\_explosive_barrels.gsc
Share |
The_Dark_Jedi
General Member
Since: Jan 29, 2011
Posts: 24
Last: Feb 4, 2012
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Wednesday, Feb. 2, 2011 07:42 pm
Do I have to copy this:

Quote:

main()
{
maps\mp\_load::main();
maps\mp\_exploding_barrels::main();
}


Into the "_explosive_barrels.gsc"? And where there? Sorry I don't know what to do with this script[cry]

I took a screenshot for you:



Dark_Jedi

edited on Feb. 2, 2011 02:44 pm by The_Dark_Jedi

edited on Feb. 2, 2011 03:16 pm by The_Dark_Jedi
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, Feb. 2, 2011 10:30 pm
It appears you have added it to your main map gsc, but you also have to add it to your Zone file as well. That is why you get the error.

rawfile,maps/mp/_explosive_barrels.gsc

Add that line to your Zone file.
Built FF, and try again.


If you call a file in your maps gsc, you have to reference it in the zone file as well.

The script works off the Barrels you added in your map. You run the script, the barrels blow up.
Share |
P.C.Invasion
General Member
Since: Mar 22, 2005
Posts: 700
Last: Oct 21, 2013
[view latest posts]
Level 6
Category: CoD4 MP Mapping
Posted: Thursday, Feb. 3, 2011 05:52 am
I decided to add this to a WaW test map, (basically the same thing), and I get a double explosion. You shoot the barrel. It explodes. And then a few seconds later, there is another explosion where the barrel used to be. [crazy]
Share |
The_Dark_Jedi
General Member
Since: Jan 29, 2011
Posts: 24
Last: Feb 4, 2012
[view latest posts]
Level 1
Category: CoD4 MP Mapping
Posted: Thursday, Feb. 3, 2011 01:50 pm


This is my new Error :(

You see in the window "missing_assets" that there is "_exploding_barrels" is missing... First I added it and your line. The Error came. I deleted the line "_exploding_barrels" and it came again.
You can see in the blue area that there is the line twice! I tried to follow the Tutorial so I already had that line. I hope that isn't a problem to have a line twice...

Edit: I also made a file "_exploding_barrels.gsc" now I deleted it again and the first Error came back. So I think that I need this file so I wont get this Error, or is that the wrong way?

Dark_Jedi

edited on Feb. 3, 2011 09:55 am by The_Dark_Jedi
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Thursday, Feb. 3, 2011 06:13 pm
The Update Zone File works like this:

The section on the left, references a file called: missingasset.csv

Which is located in the following Dir: Call of Duty 4 - Modern Warfare\main\missingasset.csv. Unless however you are running a Mod, for example CustomMaps. Then your game would create a "missingasset.csv" in that Mod folder. In order for your missing assets to show up, you would have to copy the "missingasset.csv" from the CustomMaps folder over to the Main folder, overwriting the existing "missingasset.csv". The compile tools only reads the "missingasset.csv" located in the Main folder.

Now the section on the right of Update Zone File is a reference to your zone file called: mp_mapname.csv

Which is located in the following Dir: Call of Duty 4 - Modern Warfare\zone_source\mp_mapname.csv.

When the missingasset.csv finds missing assets, it updates itself on the left, telling you to copy those missing files over to the right. If the left doesn't find anything new, the file "missingasset.csv" never updates. So the files it told you to add, are still there. The mistake people make is to keep adding the files it shows there, even though you have already added them to the right side.

Try and sort your problem knowing these things. It sounds like you have a reference problem somewhere, because even when adding duplicate assets, it hardly ever causes errors. It helps to understand how the file works first.
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

»