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

Members Online

»
0 Active | 11 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
Page
Previous Page
subscribe
Author Topic: Creating Custom Gametypes
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Thursday, Apr. 30, 2009 10:06 pm
Markvis14 writes...
Quote:
Hi thanks for helping me out.
Does that mean I have to copy the raw files to my compiler folder aswell? and change the lines in the batchfile?
Also in the compiler logs it says 7za is not being recognized as internal or external command.

Sorry for being annoying but its just so confusing O.o
its alot easier to understand now its in that compiler folder.

edited on Apr. 30, 2009 05:54 pm by Markvis14

edited on Apr. 30, 2009 05:58 pm by Markvis14


You only place the files and folders you are modifying in the "compiler" folder. The batch commands copy them all back to the "raw" folder as that is where linker_pc.exe does its magic.

Take a look again at the tutorial by Tally that I linked to, and in particular this pic:



That shows you all the files and folders Tally uses to make AWE4 all in one folder named "compiler".

Essentially, using a folder like "compiler" is just for convenience sake. Strictly speaking, you could work directly from the "raw" folder. Place all your custom content, including mod.csv in the right folders in "raw".

In that case, the only thing you need to do is run linker_pc.exe, from the "compiler" folder in the mods directory, so just have this in your modBuilder.bat file:

Quote:
cd ..\..\bin
linker_pc.exe -language english -compress -cleanup mod
cd ..\mods\compiler
copy ..\..\zone\english\mod.ff

pause


In other words, all your custom content is in "raw", and you just have a folder named "compiler" in the mods directory, with just the makeMod.bat file in it - nothing else.

But if you have a lot of custom content, its hard wading your way through all the files in the various folders in "raw", which is why its easier (= more convienient) to work with just those files you edit, and have them in your own folder like "compiler". Much easier to see what your working on, and where it is.

edited on Apr. 30, 2009 06:15 pm by DemonSeed
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Thursday, Apr. 30, 2009 10:07 pm
Go to your folder where the cod4 mod tools are. Go inside of the folder named 'mods'.. and make a new folder named whatever your mod is going to be. Inside of that should be all of the rawfiles you will be using. So inside that folder should be

a folder named 'maps'
a folder named 'ui_mp'

etc etc...

Also along with those folders should be a 'mod.csv' file, makemod.bat, and 7za.exe .....

Just edit the files in those folders however you want, and if you have makemod.bat setup right... and you double click it. The .bat should automatically copy the files to the raw folder.
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Thursday, Apr. 30, 2009 10:11 pm
Strictly speaking, unless he needs stuff in an IWD file (like .iwi files for example), he doesn't need to run 7za.exe. Everything else can be compiled into the mod.ff file.

edited on Apr. 30, 2009 06:12 pm by DemonSeed
Share |
_INSANE_
General Member
Since: Nov 7, 2008
Posts: 352
Last: Jul 10, 2011
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Thursday, Apr. 30, 2009 10:13 pm
Yep yep. [biggrin]
Share |
Restricted Access Topic is Locked
Page
Previous Page
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

»