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

Members Online

»
0 Active | 13 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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: How to see what the pk3 have
AlextheGood
General Member
Since: Jul 29, 2006
Posts: 61
Last: Jul 23, 2008
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Saturday, Nov. 4, 2006 10:24 am
Hello all. i looked at the tut. for the fire and i maked the trigger hurt, and the light, but i dont know exactly how to make the flame and the smoke.
I making hard with scripting, so as i understanded i must put the coordinades at the numbers, at the position where the fire should be. So i thinked that i must open an pk3 file, to find the smoke and fire fx. and i dont know how i should open it.
And another problem is the planes, i puted the plane script inside an .gsc but if i try the map the planes still there without movement.
Thanx and sorry for bothering with easy things.
Share |
sternkaa
General Member
Since: Aug 16, 2005
Posts: 108
Last: Jan 29, 2011
[view latest posts]
Level 4
Category: CoD Mapping
Posted: Saturday, Nov. 4, 2006 11:48 am
Hello,

When you have made a litlle area for the fire with the light and the trigger. You are finished with the map for that part ofcourse. The next thing you have to do to make a fire is creating a gsc file. You must enter the coordinates in the gsc file. The script is something like this:

Code:

main()
{
level._effect["fire"] = loadfx ("fx/fire/tinybon.efx");
maps\mp\_fx::loopfx("fire", (555, -435, 315), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (555, -435, 370), 0.7);
maps\mp\_load::main();
}


555,-435,315 are the coordinates. Just look in radiant for the exact location and just change this. When you put this short script in your gsc file, it shoot work.

You have different kinds of fireannimations or fx. You can find that in pak5.pk3 Just exctract with winrar or something like that and than you can see al the fx. Just change the fx name in the script and you have another kind of fire. For example you can chose for a medium fire. Than the script is like this:

Code:

main()
{
level._effect["fire"] = loadfx ("fx/fire/medfire.efx");
maps\mp\_fx::loopfx("fire", (555, -435, 315), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (555, -435, 370), 0.7);
maps\mp\_load::main();
}


If you can see i change the name. You can do the same for the smoke.

I hope that i helped you. Just ask if you still dont know how to do it.

Greats and succes


Share |
AlextheGood
General Member
Since: Jul 29, 2006
Posts: 61
Last: Jul 23, 2008
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Saturday, Nov. 4, 2006 05:21 pm
Hello again. I tryed too make it as u said but there is no fire.
If i need to exctract, how should I, with WinRAR?
Thank You
Share |
sternkaa
General Member
Since: Aug 16, 2005
Posts: 108
Last: Jan 29, 2011
[view latest posts]
Level 4
Category: CoD Mapping
Posted: Sunday, Nov. 5, 2006 06:28 pm
Hello,

You can use winrar to extract pk3 files or to make Pk3 files.
To create a gsc file or change a gsc file you just need a texteditor.

For your map you need some things. Your map (yourmap.bsp) ofcourse and a gsc file. Without those two things your map won't work.

To create a gscfile, you can use a texteditor. Just save the file and than you have to change the extension to gsc.
So you have "yourmap.txt" just change it to "yourmap.gsc"

I use different gsc files. The main gsc file that called like your map name: "yourmap.gsc" Then i have another gsc file that calls "fire.gsc"

The main gsc file looks something like this:

Code:

main()
{
setCullFog (0, 8000, 0.8, 0.8, 0.8, 0);
ambientPlay("ambient_mp_railyard");

maps\mp\_load::main();
maps\mp\fire::main();


game["allies"] = "american";
game["axis"] = "german";

game["russian_soldiertype"] = "airborne";
game["russian_soldiervariation"] = "normal";
game["german_soldiertype"] = "fallschirmjagercamo";
game["german_soldiervariation"] = "normal";

game["attackers"] = "allies";
game["defenders"] = "axis";

game["layoutimage"] = "mp_railyard";

}



If you look to the fifth line you see this: "maps\mp\fire::main();"
This little line tells the game to load the gsc file "fire".

Now for the "fire.gsc" it looks like this:
Code:

main()
{
level._effect["fire"] = loadfx ("fx/fire/tinybon.efx");
maps\mp\_fx::loopfx("fire", (555, -435, 315), 0.6);
level._effect["smoke"] = loadfx ("fx/smoke/ash_smoke.efx");
maps\mp\_fx::loopfx("smoke", (555, -435, 370), 0.7);
maps\mp\_load::main();
}


Now you have your two gsc files, you have to put them in the right folder.

make a folder in main that calls map. In this folder you make another folder that calls mp.

Put your bsp file with your two gsc files in main/maps/mp

The best way, i think is to make a pk3
You can make a pk3 with winrar.
For that there excist a tutorial i think.








Share |
playername
Preferred Member
Since: Aug 24, 2006
Posts: 821
Last: Apr 15, 2011
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD Mapping
Posted: Saturday, Nov. 11, 2006 01:19 am
there is a good program for looking at pk3s. it is called PakScape, you can also make pk3s from it too. it is good when it comes to getting models or looking for fx.

edited on Nov. 10, 2006 08:20 pm by kkfplayername
nullFew tips for coding.
1. Keep the script as short as possible.
2. Don't comment every line. Only comment portions where they may be needed to point something out.
3. Don't over complicate the script, keep it organized and easy to read.

These help you find simple errors and makes it easy to make changes.
Share |
sk8r196
General Member
Since: Aug 30, 2005
Posts: 139
Last: Jan 9, 2008
[view latest posts]
Level 4
Category: CoD Mapping
Posted: Sunday, Nov. 12, 2006 01:32 am
Winrar owns all! Pakscape does the same job, I prefer winrar though.

[wave]
Share |
AlextheGood
General Member
Since: Jul 29, 2006
Posts: 61
Last: Jul 23, 2008
[view latest posts]
Level 3
Category: CoD Mapping
Posted: Thursday, Nov. 16, 2006 09:42 am
Thanx PPL, i did it, my stukas fly, and fire works.
Thanx againnnnnnn!
[drink]
[wave]
Share |
playername
Preferred Member
Since: Aug 24, 2006
Posts: 821
Last: Apr 15, 2011
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD Mapping
Posted: Thursday, Nov. 16, 2006 07:54 pm
sk8r196 writes...
Quote:
Winrar owns all! Pakscape does the same job, I prefer winrar though.

[wave]

well the only problem with winrar is YOU GOT TO PAY FOR IT.
nullFew tips for coding.
1. Keep the script as short as possible.
2. Don't comment every line. Only comment portions where they may be needed to point something out.
3. Don't over complicate the script, keep it organized and easy to read.

These help you find simple errors and makes it easy to make changes.
Share |
sk8r196
General Member
Since: Aug 30, 2005
Posts: 139
Last: Jan 9, 2008
[view latest posts]
Level 4
Category: CoD Mapping
Posted: Thursday, Nov. 16, 2006 09:09 pm
Get your facts straight before posting...

Winrar is shareware, when you download it and install, it will give you a 40 day trial, after that, it asks you to register.

But you dont have to register, it still functions after the 40 days.

Share |
sgtbilkothe3rd
General Member
Since: Mar 3, 2006
Posts: 115
Last: Mar 1, 2009
[view latest posts]
Level 4
Category: CoD Mapping
Posted: Thursday, Nov. 23, 2006 07:01 pm
**SOAPBOX MODE ON** *RANT WARNING*

Get YOUR facts straight, shareware is NOT freeware. Just because it works after the trial period, doesn't mean you should keep using it with a clear conscience. You are using a tool that required many hours of development by people you dont even know, and by continuing to use it without paying, it's the same as taking anything without paying for it. That's called stealing in my book. Use pakscape if it's free, and pay for WinRAR if you like it so much. If WinRAR is not worth your hard earned $ to support the people who worked on it, then maybe it isn't as great as you say. It doesnt cost that much anyway, only $29 for a single user copy. And it is a fine German product, fits right in with the whole COD thing.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»