You are here

OK I made a map (sort of) imported easily from C2 (for a start)

Pages

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
OK I made a map (sort of) imported easily from C2 (for a start)
#1 Submitted: Fri, 10/07/2015 - 06:54

For the new news in the title Start reading t "OK Really good news." on page 6.

The other 5 pages are mostly for Trent, Errol and I.

(old stuff below.)

Working on C1 maps to make them CR ready hopefully.

Ran them thru Flummery with TIFF files in the proper folders.

Using Minge to Zad up the files properly SO FAR they at least show up in Minge.

Update >I tested using the AcidReign map. I got the race to show up in the Game list as something like "Acidreign_u" or something

But when I load it I sort of get a ton of blank spots and black buildings.

This was with hardly any physical labor at all. Just opening the map "AcidReign" from C2 and saving it to CR format . Copying over some files from a CR map (Bleak Cit in this case). Changing the name from Bleak City to AcidReign in some text files. Running it thru Minge and selecting it in the CarModgeddon game.

I will say this. CR did not crash .

Here is a link to the ZAD I created . It will at least run somewhat in CarModGeddon. You can try playing with the TXT files and see if you can get anywhere.

http://s000.tinyupload.com/index.php?file_id=25140570019223394906

I cannot figure out why it is throwing me in what looks like Bleak City though maybe there is a typo I am not seeing.

Oh and in Flummery it looks like the powerups are under the center of the map as well like they were in PT2.

PS I am real sleepy but I feel like Sheldon when he is close to a major breakthru :)

Edited by: starbuck on 13/01/2016 - 22:16

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

Errol's picture
Piledriver
Community VIPKickstarter BackerModerator
Posts: 962
Submitted: Fri, 10/07/2015 - 09:58

Hey starbuck. I'll write/film a little tutorial for porting C2 maps to C:R using Flummery as soon as I get the next public release out the door.

:: You wanna build a snowman mod C:R? Get Flummery, the Carmageddon modders tool. ::
Making C:R mods happen since '14!

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Fri, 10/07/2015 - 15:07

Errol wrote:
Hey starbuck. I'll write/film a little tutorial for porting C2 maps to C:R using Flummery as soon as I get the next public release out the door.

Thats cool.

I think I realized when I was sleeping that one level.CNT file is actually from the Bleak City map. I didnt see yet how to make that one.

Track it down later.

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Sat, 11/07/2015 - 00:57

http://www.carmageddon.com/forum/topic/26886

OK Weird.

Downloaded the file of Errols Testes track and stuck all the files into one directory called Testmap. Zadded it up and THAT map works fine.

Guess tomorrow I will start dissecting it.

Damn you Errol :) Seriously tho, thanks for giving that sample.

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

Trent's picture
I was in the War!
Community VIPKickstarter BackerCompetition Winner
Posts: 2996
Submitted: Sat, 11/07/2015 - 15:50

The level has a number of issues. For a start most of the MDL files have weird names which don't match up to the references in the CNT and it's still scaled to C2 size and not C:R size so it's tiny, but that's all related to how you export from Flummery and Errol will cover that in his tutorial. The other stuff is a lot more general: Nothing is rendering properly because there isn't any materials (MT2 files) or textures* (TDX/IMG files) with the level (* For some reason the textures and UI assets from my port of C1's Annihilator are in there) and the game is loading all the accessories from Bleak City because you are using Bleak City's script files which reference all Bleak City's accessories.

Basically there's a lot more to setting up a level than just the level's model. Here's a break down of what all the different files do:

  • MT2 Files: These are the materials which tell the game how to render a piece of a model, they need to have the same name as the materials assigned to the model.
  • TDX/IMG Files: These are the textures which the materials use, they need to be named the same as the texture definitions in the MT2 files.
  • MDL Files: These are the actual mesh objects which make up a model
  • Level.CNT: This tells the game how all the various MDLs are positioned, orientated and scaled in a level
  • Setup.LOL: This sets up all the various environment settings such as sun light, post process profile, ambient lighting, fog, shadows, clipping planes, etc.
  • Level.LOL: This tells the game which accessories to place in the level and where to place them. You are using Bleak City's Level.LOL file so it is loading all Bleak City's accessories. The minimum you need for a level is this: http://pastebin.com/wpZGvHnd Just change the 4th vector in the transform group to the location of where you want the starting grid.
  • Powerups.LOL: Exactly the same as type of file as Level.LOL except it references powerup Pickups and not Accessories. You use the names from the Pickups folder, not the names of the Powerups themselves.
  • Minimap_Definition.LOL: This defines how the map is displayed, setting what the min and max area of the minimap is and the min bounds and max bounds of the level in regards to the minimap image.
  • Audio.LOL: Tells the game what audio scripts to load, most entries point to generic audio scripts the game uses but you can have an audio script in your level's folder to define audio specific to your level, such as ambient sounds
  • Environment.LOL: Tells the game what name to use for the environment group
  • Environment.TXT: don't know if it's even needed, has nothing of any value but every level has it
  • Routes.TXT: The navigation paths for the AI racers
  • Level.TXT: Sets the event names, flavour text, images & backgrounds; the environment group; the race layers; any additional ped files for each event.
  • PedFile.xml: The global PedFile.xml which is used to define placement of pedestrians in the level
  • PedFile_*****.XML: Additional PedFiles which are used on a per event basis, as defined in the Level.TXT

There's also an Accessories folder for the level's accessories to be placed in, any reused object in a level should be an accessory even if they are not physics objects. E.g. the cranes in the level should be accessories and so should the stick barriers. Setting up accessories is an entirely different subject, though.

I haven't had time to fix up my ports of the C1 levels for the full version of the game yet, but I've just quickly packed up the Acid Reign map for you to take a look at and see how it's done. It's not entirely working, there are issues with paths not being set up right and accessories not having correct collisions and checkpoints not working, minimap not perfect, etc. hence why I haven't released the whole pack publicly yet, but it's a fair example: http://trent.incarnated.co.uk/downloads/mods/C1Industrial_B.zad

And if you want a further example, here is a small map I made to test car damage: http://trent.incarnated.co.uk/downloads/mods/TrentTestMap.zad

Hope this all helps.

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Sat, 11/07/2015 - 16:21

I will read all that later :) Sort of glimpsed thru it.

I was able yesterday to make a level what looks like complete files actually designed for that level yesterday. I was able to name on part "level" and that little square showed up. MT2 and IMG files were there this time. But it still showed up blank except for that little square that showed up and it did have IMG files and MT2 files.. But I blame that on myself for working when I was tired.

I made sure but I deleted so many trials of it that I lost track of what was what.

I figured out what most of the files are on my own (I THINK) but I will read your post when I can get it to assimilate deeper.

I also may try later actually importing the "un processed" caramgeddon track to as well as just make a flat plane myself and see how that goes. Depending on what you typed. My tracks were named something like "0 0" when opened up in Flummery.

The weird names in the files you mentioned actually got changed when making a ZAD from Minge. They arent like that originally. I will retest it again to confirm and get back to you on that..

I am trying to get the bare bones setup in there then work one thing at a time. Thanks for the basic files.

I will be starting from scratch today and matching them up to your files and see where I do wrong. Thanks again.

Edited by: starbuck on Sat, 11/07/2015 - 16:26

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Sat, 11/07/2015 - 16:48

Trent. Have not done anything yet except for doing a ZAD test with Minge

Here is the folder I Zadded

http://s000.tinyupload.com/index.php?file_id=81465441466486665121

Here is the Zad aft using "LeveL" in Minge with the default settings

http://s000.tinyupload.com/index.php?file_id=05740986853766764150

I am using Windows 10 preview 10162 if that matters.

Which could be the whole problem.I am having (one of them anyway). I could possibly rename the files within Winrar by hand but I have no idea which file is which.

Can you tell if its something I am doing ? I have tried zipping the folders up in Winrar and changing the extension but then Minge or CR will not start with that RARed file in the CR folder

PS I know that there is not enough here to get a map into the game. Just a sample of Zadding.

Edited by: starbuck on Sat, 11/07/2015 - 17:05

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

Errol's picture
Piledriver
Community VIPKickstarter BackerModerator
Posts: 962
Submitted: Sat, 11/07/2015 - 17:04

starbuck, a zad is a renamed zip, not a renamed rar. Try manually creating a zip with winrar and renaming that.

:: You wanna build a snowman mod C:R? Get Flummery, the Carmageddon modders tool. ::
Making C:R mods happen since '14!

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Sat, 11/07/2015 - 17:06

Errol wrote:
starbuck, a zad is a renamed zip, not a renamed rar. Try manually creating a zip with winrar and renaming that.

Cool forgot that. Will try my next map that way. Havent used the zip function since Carama2 :)

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Sat, 11/07/2015 - 18:10

DISREGARD This whole post !

Errol you can delete it if you want . I just dont know if there are any relative parts in this post here.

http://s000.tinyupload.com/index.php?file_id=80379505498617018930

OK Here is sort of an update. This is using the same format I was using at the beginning of my posts but of course these are all with clean files.

Using ZIP for the folders and renaming it to ZAD did not get it to show up in Minge or in the game. I will figure that out later.

This file is one that was ZADded using Minge and the names got changed on the MDL files.

I used Minge to make the ZAD and the same exact folder DID show up in Minge and CR.

I unzipped the ZAD then I changed SOME of the MDL files names back to the original names like for example "3 0" using a renaming program and Zipped them back up and renamed the file to ZAD.

Now if you were to run this file in CR you will notice that a very many polygons show up in the game if you use the Replay Cam modes.

So I THINK that Minge might be messing up the files.

I only did the things I mentioned above. I have not been able to check if the testures are fine and I did not rescale the map or nothing yet. I just did a very short test of a little modification without going all the way.

Edited by: starbuck on Sat, 11/07/2015 - 18:29

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

starbuck's picture
Velociraptor Fister
PayPal Backer
Posts: 1410
Submitted: Sat, 11/07/2015 - 18:28

OK Found it !

http://s000.tinyupload.com/index.php?file_id=00432276003752934175

The above has texture issues I know. But the map does show up in the game now. Same "procedure I followed for a couple days now.

What the problem was is when I was ZADding the files. The Minge program was taking " " (blank space) and adding "%20" into that space. "1 0" was becoming "1%200".

I tried ZIPping but that didnt work. Will be finding out why in a second. EDIT ZIPping DOES work, the error was on my part.

So a minor bug Trent that could be in Windows 10. I will try to figure out how you avoided that issue later.

Edited by: starbuck on Sat, 11/07/2015 - 18:51

Why is it that when you are a child at the dinner table you can get punished asking for someone to please pass you the fork and knife ?

Pages