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

Members Online

»
0 Active | 10 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: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: [Tutorial] HowTo: Compile your UO Map and Test It!
JD_2020
Preferred PLUS Member
Since: Jun 30, 2004
Posts: 189
Last: Nov 19, 2007
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Monday, Oct. 4, 2004 07:46 pm
I gathered this information from many posts struned about this forum, and decided to put it in one place. Thanks Stryder, most of this is from him!

First off, you have to copy your uo folder. So go to your Call of Duty folder, and inside it you will find a folder called uo. It might be at the bottom of the page, but it's there. So for instance:
C:\Program Files\Call of Duty\uo

So copy the folder I just bolded above. Now go into your Program Files folder, and make a folder called game. Inside that new folder you just made, paste the uo folder I had you copy. It will take a while, and yes, it will take a LOT of disk space.

Done? Okay, now open up your map in Graydiant. Now you need to go to File - Export and .map (you need to put the thing in .map format so it can be compiled). Not sure why Gray MAtter didn't just cut the middle man and have you save the files as .map in the first place, but oh well. So you exported it as a .map. Now it will save it to a place that may vary from user to user, but find out where that place is. Copy your .map file and paste it into your Call of Duty\uo\maps\mp folder.
ex. C:\Program Files\Call of Duty\uo\maps\mp\

Now make a new text document. Doesn't matter where, so for now, just minimize and go to your desktop and right click - and hit New - text document. Name the document: yourmap.txt (where yourmap is the name of your map lol). Now open it up, and copy and paste the following lines into it:

Code:
"C:Program FilesCall of DutyuoToolsbinq3map" -game uo "C:Program FilesCall of Dutyuomapsmpyourmap" 

pause

"C:Program FilesCall of DutyuoToolsbinq3map" -vis -fast -game uo "C:Program FilesCall of Dutyuomapsmpyourmap"

copy /Y "C:Program FilesCall of Dutyuomapsmpyourmap.bsp" "C:Program Filesgameuomapsmpyourmap.bsp"
copy /Y "C:Program FilesCall of Dutyuomapsmpyourmap.prt" "C:Program Filesgameuomapsmpyourmap.prt"

"C:Program FilesCall of DutyuoToolsbinflare" -fast -game uo "C:Program Filesgameuomapsmpyourmap"

copy /Y "C:Program Filesgameuomapsmpyourmap.bsp" "C:Program FilesCall of Dutyuomapsmpyourmap.bsp"
copy /Y "C:Program Filesgameuomapsmpyourmap.prt" "C:Program FilesCall of Dutyuomapsmpyourmap.prt"

pause



Now even I am not sure why we had to copy that uo folder into the game folder back towards the beginning, but just do everything I told you and so far you are good.

Now, save that file, and copy and paste it into your Call of Duty\uo\maps\mp folder - the same folder I had you copy your .map file to.
ex. C:\Program Files\Call of Duty\uo\maps\mp\

Okay, now you need to rename it to yourmap.bat but first you need to know how to edit its file extensions. If all you see is the name, and no .txt, then you need to go up to Tools - Folder Options in your menu bar. Go to the View tab, and UN-CHECK the box that says "Hide extensions for known file types." Apply it, hit OK, and now you should see the .txt. So now when you right click and rename the text file, you name it to yourmap.bat and when you hit enter it will ask you if you are sure you want to change the file extension. Say yes, and now you have an executable command line that will run.

So, you are ready. Just double click the bat file we just made, and it should run without flaw. It might give you a map leaked error, but that means it is a map flaw and not a compile flaw. You have to read though, because it will occasionally say "Press any key to continue" and you have to hit a button for it to keep going. When its done, you will have 4 new files in the Call of Duty\uo\maps\mp directory, including the .bsp that is required to test the map.

Fortunately, they are all in the right place, so you don't have to do any more copying. Just run the game, go to Start New Server, turn Pure to "NO" and bring down the console with the ~ key, and type /map yourmap and hit enter and it will load.

TIP: If you are going to re-compile your map (lets say you made some changes) and you need to run the bat file again, delete all the files pretaining to that particular map from your Call of Duty\uo\maps\mp folder EXCEPT FOR the .bat file we had you make. So long as you do not rename your map, that particular bat file will still work for it. However, delete the .map, the .bsp, the .prt, etc. You will have to export a new version of the .map and put it in that folder again, and then when you run the .bat file it will create all the other files I had you delete. I only say this because sometimes the process does not overwrite files completely, which can make for some serious headaches when your map isn't working right.

Hope this helps - again, do what I say and it will work. Even I do not know why it works, but it does, and that's all that counts :).

Hopefully a CoDPiler 2.0 will be released that works for UO :).

Regards,
Jdawgg
Share |
foyleman
Preferred PLUS Member
Since: Nov 7, 2001
Posts: 95762
Last: Apr 13, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoDUO Mapping
Posted: Monday, Oct. 4, 2004 08:31 pm
Can I have permission to post this in the tutorials section?
Go ahead... You Play I Mod : Support Modsonline by becoming a PREFERRED MEMBER today!
Have you heard the MODSonair Podcast?:
MODSonair is a weekly podcast bringing you the news from a modders perspective.
Tune in every Sunday at 12pm EST to listen LIVE.
Quake 4 Mods for Dummies - Half-Life 2 Mods for Dummies
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoDUO Mapping
Posted: Tuesday, Oct. 5, 2004 12:07 am
i don't mind....but this is only a workaround until grey matter re-releases the flare (i assume they are going to - it looks for the wrong install path)

if my post is confusing i apologise...
if wanted i can type it up as a tutorial...a little more step by step-ish

let me know

[angryalien]
Share |
JD_2020
Preferred PLUS Member
Since: Jun 30, 2004
Posts: 189
Last: Nov 19, 2007
[view latest posts]
Level 4
Category: CoDUO Mapping
Posted: Tuesday, Oct. 5, 2004 12:34 am
Well it wasn't so much as confusing as it was a requirement for people to do a little more critical thinking than most want to do lol. You didn't clarify a few things, but I managed to work through it. However, I could easily see other mappers just giving up because of it and so I re-wrote it.

Your help is amazing Stryder :P, don't take what I said the wrong way :)
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoDUO Mapping
Posted: Tuesday, Oct. 5, 2004 12:14 pm
i will get a compiling tutorial posted up for codUO - look for it tomorrow

the biggest issue thusfar is that it appears that IW and Grey Matter both had a different mapping/development environment than most users are seeing or using

the ideal way to re-create the mapping environment that they used is to create a folder called game and move all of the resources (everything in the call of duty folder) into it

then install radiant and graydiant into that folder

this is another way to ensure that you arent using any non-stock textures or files, as you will not be getting them from your custom map/play-game pk3's

perhaps a setting up the editor one is required as well

cheers
[angryalien]
Share |
Engineer
General Member
Since: Feb 6, 2004
Posts: 78
Last: Oct 7, 2004
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Wednesday, Oct. 6, 2004 10:16 pm
I noticed flare having the wrong path setup too.

You can fix it like this...

flare -game callof~1/uo -sundiffusesamples 3 ../../uo/maps/mp/yourmapname

Where callof~1 is the compressed dos name for the call of duty directory

This works for me
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoDUO Mapping
Posted: Wednesday, Oct. 6, 2004 10:48 pm
nice - i will test this out...and modify the tutorial if it works [angryalien]
Share |
Engineer
General Member
Since: Feb 6, 2004
Posts: 78
Last: Oct 7, 2004
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Wednesday, Oct. 6, 2004 10:52 pm
Here's the full batch file...

Code:
  

cd ......uotoolsbin

q3map -game uo -samplesize 32 ../../uo/maps/mp/yourmapname
q3map -vis -fast -game uo ../../uo/maps/mp/yourmapname
flare -game callof~1/uo -sundiffusesamples 3 ../../uo/maps/mp/yourmapname

pause




I've installed COD and UO in a games subdirectory (c:\games\call of duty, etc.) So if this works for me, it should be no problem for other people.
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoDUO Mapping
Posted: Wednesday, Oct. 6, 2004 11:14 pm
no...errors out with the "filesystem call made without initialization"

[angryalien]
Share |
Engineer
General Member
Since: Feb 6, 2004
Posts: 78
Last: Oct 7, 2004
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Wednesday, Oct. 6, 2004 11:26 pm
Ah, I just saw something with my previous post...

This bulletin board system didn't like my backslashes in the "cd" part when I was copying and pasting, and so it omitted them.

The line at the top of the batch file should be...

cd ..\..\..\uotools\bin

Take a look at the picture, top portion...



Try that.
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty : CoDUO 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

»