Username:

Password:

Pages: [1]
  Print  
Author Topic: A new town  (Read 6108 times)
TX-Kingsnake
WHITE 3
TX-Member
Hero Member
*****
Offline Offline

Posts: 1588


View Profile WWW
« on: September 02, 2004, 08:37:38 pm »

We all enjoy the large maps with terrain and cities. Unfortunately the large maps take up system resources. My idea is to use a blank boring flat online map and add one town. In theory we could have a city to destroy, with less system resources than say, Berlin. Here is a screen so far.



 


TX-Kingsnake
Black 6

Logged

TX-Kingsnake





TX-CUDA
BLACK 8
TX-Member
Hero Member
*****
Offline Offline

Posts: 1730



View Profile
« Reply #1 on: September 03, 2004, 11:16:33 am »

.....Kingsnake, how were the buildings shown in the pic placed on the map? It seems that if they are placed individually it would still entail one heck of a load time or is there some other way to do this? TX-Cuda
Logged

TX-Cuda
Minister of Information
<img src="http://miniprofile.xfire.com/bg/bg/type/2/txcuda340.png" border=0>
Monguse
Former Member
Sr. Member
****
Offline Offline

Posts: 449


View Profile WWW
« Reply #2 on: September 03, 2004, 11:34:09 am »

Two wordsLAND PLANNINGLooks like parts of Miami before zoning boards.S~TX-MonguseWhite 1War Room General
Logged

Monguse
TX-Kingsnake
WHITE 3
TX-Member
Hero Member
*****
Offline Offline

Posts: 1588


View Profile WWW
« Reply #3 on: September 03, 2004, 06:07:11 pm »

The urban plan process is extensive. I could explain it on comms.TX-KingsnakeBlack 6
Logged

TX-Kingsnake





TX-Kingsnake
WHITE 3
TX-Member
Hero Member
*****
Offline Offline

Posts: 1588


View Profile WWW
« Reply #4 on: September 03, 2004, 09:49:50 pm »

TX-Kingsnake's Land planning tutorial. This is long and boring. Anyone watching you do this (especialy females) will think you are a dork. It is not a step by step tutorial. You need working knowledge of an image editor and mission building. You should also have made atleast one successful  pass at the fire writer. I am using generic terms so don't expect  step by step.Create a 100 x 100 pixel layered image. Create a new layer of random noise with about ten colors. Select one of the colors in the image and cut it into a new layer named 01. Repeat this untill all ten colors have a layer. Save the image as your main color map. Take each of the layers one by one and create a 1 bit black and white file. You will have ten 1 bit bitmap files named 01.bmp through 10.bmp. Each will look something like this.Create yourmission in FMB and place an object, I chose a train car, and open the yourmission.mis in note pad. Go to the fire writer site (not always availalbe) http://firew.3utilities.com/ and read the instructions and subsection called problems. Go to the fire writer generator, http://firew.3utilities.com/fw_input.html  Browse for the 1 bit bitmap file you made called 01.bmp. Look at your mission file in note pad and copy the x and y coordinates of the traincar into the fire writer generator. For example X=24636.41  Y=26833.26[NStationary]  0_Static vehicles.stationary.Stationary$Wagon1 1 24636.41 26833.26 360.00 0.0 Meters per pixel I used 20. ADD to object number: I used 1001. Hit send and save the zip file called objects. Extract the Zip file and rename the text file 01.txt. Open 01.txt and copy all the text and paste it to your mission file under the traincar (traincars are called wagons). Make sure no blank lines or incorrect spacing occurs. For example it looks partialy like this. [NStationary]  0_Static vehicles.stationary.Stationary$Wagon1 1 24636.41 26833.26 360.00 0.0  1002_Static vehicles.stationary.Campfire$CampfireAirfield 0 25176.4 26833.3 0 0 1003_Static vehicles.stationary.Campfire$CampfireAirfield 0 26056.4 26833.3 0 0 1004_Static vehicles.stationary.Campfire$CampfireAirfield 0 25036.4 26853.3 0 0 1005_Static vehicles.stationary.Campfire$CampfireAirfield 0 25496.4 26853.3 0 0 1006_Static vehicles.stationary.Campfire$CampfireAirfield 0 25616.4 26853.3 0 0 Save the mission file and open it in FMB to ensure proper placement. If it is o.k. open the file in notepad and erase the all the camp fires  that look simmilar to 1002_Static vehicles.stationary.Campfire$CampfireAirfield 0 25176.4 26833.3 0 0. Now save. Open your mission in FMB and see that all the fires you placed are gone and your mission works. That was the test to make sure you did everything before going on. Now go back to http://firew.3utilities.com/fw_input.html  Browse for the 1 bit bitmap file you made called 01.bmp. Look at your mission file in note pad and again copy the x and y coordinates of the traincar into the fire writer generator. Meters per pixel I used 20. ADD to object number: I used 1001. Hit send and save the zip file called objects (leave browser open you'll come back to this). Extract the Zip file and rename the text file objects.txt to 01.txt. Erase the objects.zip file. Hit back button in internet browser. Browse for the 1 bit bitmap file you made called 02.bmp. The x and y coordinates are the same. Meters per pixel are the same. Open 01.txt and note the highest numbered campfire. In the example above it is 1006 enter one number higher 1007 in ADD to object number:. Hit send and save the zip file called objects (leave browser open you'll come back to this). Extract the Zip file and rename the text file objects.txt to 02.txt. Erase the objects.zip file. (Repeat begin) Hit back button in internet browser. Browse for the 1 bit bitmap file you made called 03.bmp. The x and y coordinates are the same. Meters per pixel are the same. Open 02.txt and note the highest numbered campfire and enter one number higher in ADD to object number:. Hit send and save the zip file called objects (leave browser open you'll come back to this). Extract the Zip file and rename the text file objects.txt to 03.txt. Erase the objects.zip file. (Repeat for all 10) Now create a new mission in FMB call it  houselist. Place a few buildings from the objects list that you want in the city. Open houselist.mis in notepad. For example:[NStationary][Buildings]  0_bld House$Reichstag 1 24600.82 25913.47 360.00  1_bld House$BerlinGates 1 24574.69 25547.76 360.00Copy bld House$Reichstag 1Open 01.txtSave as (paste name) bld House$Reichstag 1Edit Replace Find what:Static vehicles.stationary.Campfire$CampfireAirfield 0Replace with:bld House$Reichstag 1Replace alledit select allcopyOpen yourmission.mis and type [Buildings] under [NStationary] it looks like[NStationary] 0_Static vehicles.stationary.Stationary$Wagon1 1 24636.41 26833.26 360.00 0.0 [Buildings]  Paste under [Buildings] Looks like this [NStationary]  0_Static vehicles.stationary.Stationary$Wagon1 1 24636.41 26833.26 360.00 0.0[Buildings] 1002_bld House$Reichstag 1 25176.4 26833.3 0 0 1003_bld House$Reichstag 1 26056.4 26833.3 0 0 1004_bld House$Reichstag 1 25036.4 26853.3 0 0(repeat begin)Open houselist.mis in notepad. For example:[NStationary][Buildings]  0_bld House$Reichstag 1 24600.82 25913.47 360.00  1_bld House$BerlinGates 1 24574.69 25547.76 360.00Copy bld House$BerlinGates 1Open 01.txtSave as (paste name) bld House$BerlinGates 1Edit Replace Find what:Static vehicles.stationary.Campfire$CampfireAirfield 0Replace with:bld House$BerlinGates 1Replace alledit select allcopyOpen yourmission.mis   Paste under last object under [Buildings] (Repeat for all 10)Open FMB and see if you like it. I don't expect you to get it right the first time, it took me a while to figure it out so don't get grumpy.     TX-KingsnakeBlack 6
Logged

TX-Kingsnake





TX-Kingsnake
WHITE 3
TX-Member
Hero Member
*****
Offline Offline

Posts: 1588


View Profile WWW
« Reply #5 on: September 03, 2004, 09:57:39 pm »

Load time is not too bad. Remember that Stalingrad, Berlin, Normandy and other maps have exponentially more objects.TX-KingsnakeBlack 6
Logged

TX-Kingsnake





TX-CUDA
BLACK 8
TX-Member
Hero Member
*****
Offline Offline

Posts: 1730



View Profile
« Reply #6 on: September 03, 2004, 10:42:02 pm »

,...Many THANKS for the tutorial Kingsnake.Using the method described above I can see where it is now possible to make a map..say "East L.A." and place some bigger FB buildings within the city...and then go blow the heck out of the city!..Good work Kingsnake once again!TX-Cuda
Logged

TX-Cuda
Minister of Information
<img src="http://miniprofile.xfire.com/bg/bg/type/2/txcuda340.png" border=0>
Monguse
Former Member
Sr. Member
****
Offline Offline

Posts: 449


View Profile WWW
« Reply #7 on: September 04, 2004, 07:34:14 am »

Excellent!!!!Can't wait to have fixticious match:Huston vs LAOn another note....Hum... fire writer is a bit map reader... Kingsnake .... 1 pixel = 20 meters .....Layers.....King, I bet you we could use AutoCAD to place the buildings (and all objects) excactly were we want without having to use Firewriter or the FB Mission Builder.   All I would have to do is write a small application to work within AutoCAD (VBA or LISP).Let's talk!!!S~TX-MonguseWhite 1War Room General
Logged

Monguse
TX-Kingsnake
WHITE 3
TX-Member
Hero Member
*****
Offline Offline

Posts: 1588


View Profile WWW
« Reply #8 on: September 04, 2004, 07:41:02 pm »

Word!TX-KingsnakeBlack 6
Logged

TX-Kingsnake





Pages: [1]
  Print  
 
Jump to: