.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > TO&Es
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old April 9th, 2007, 02:10 PM
Marcello's Avatar

Marcello Marcello is offline
Captain
 
Join Date: Sep 2005
Location: Italy
Posts: 902
Thanks: 0
Thanked 55 Times in 51 Posts
Marcello is on a distinguished road
Default Middle eastern buildings

It has occurred to me that while there are a few excellent mosques and such there is nothing in the game which looks like a typical iraqi or arab home. All the stone houses buildings are basically western style. There are only a couple of wooden houses which might pass themselves as arab but they are far from optimal.Would it be possible to do something about this in some future update?
Reply With Quote
  #2  
Old April 9th, 2007, 03:16 PM
Epoletov_SPR's Avatar

Epoletov_SPR Epoletov_SPR is offline
Corporal
 
Join Date: Jan 2007
Location: Saint-Petersburg -- Russia
Posts: 149
Thanks: 0
Thanked 2 Times in 2 Posts
Epoletov_SPR is on a distinguished road
Default Re: Middle eastern buildings

Then still straw huts (Africa, Vietnam).

Whether probably to reduce their protective ?
Reply With Quote
  #3  
Old April 9th, 2007, 03:57 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,495
Thanks: 3,966
Thanked 5,704 Times in 2,815 Posts
DRG will become famous soon enough
Default Re: Middle eastern buildings

Quote:
Marcello said:
It has occurred to me that while there are a few excellent mosques and such there is nothing in the game which looks like a typical iraqi or arab home. All the stone houses buildings are basically western style. There are only a couple of wooden houses which might pass themselves as arab but they are far from optimal.Would it be possible to do something about this in some future update?
No plans to. The game does not place houses by geography and the ones I put in there were meant to cover the majortity of cases

Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #4  
Old April 10th, 2007, 05:43 PM
RecruitMonty's Avatar

RecruitMonty RecruitMonty is offline
Captain
 
Join Date: Jul 2005
Location: London (Great Britain)
Posts: 838
Thanks: 200
Thanked 144 Times in 87 Posts
RecruitMonty is on a distinguished road
Default Re: Middle eastern buildings

I suppose someone will have to make some houses then. How would one go about adding them in? Would they appear at all?
__________________
"Wir Deutschen sollten die Wahrheit auch dann ertragen lernen, wenn sie für uns günstig ist."
Reply With Quote
  #5  
Old April 10th, 2007, 06:07 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,495
Thanks: 3,966
Thanked 5,704 Times in 2,815 Posts
DRG will become famous soon enough
Default Re: Middle eastern buildings


The short answer is no.

Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #6  
Old April 11th, 2007, 12:59 AM
Listy's Avatar

Listy Listy is offline
Sergeant
 
Join Date: Jun 2005
Posts: 358
Thanks: 0
Thanked 0 Times in 0 Posts
Listy is on a distinguished road
Default Re: Middle eastern buildings

Quote:
RecruitMonty said:
I suppose someone will have to make some houses then. How would one go about adding them in? Would they appear at all?
I did try this once. This is even more of a black art than SHP editing.

As far as I can tell there's a selection of SHP's that have houses for all levels of Zoom (sounds easy so far). However when I altered these houses they either didn't appear as the altered ones, just as the normal houses, Or the graphic was overly huge and covered half the map.
Reply With Quote
  #7  
Old April 11th, 2007, 11:17 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,495
Thanks: 3,966
Thanked 5,704 Times in 2,815 Posts
DRG will become famous soon enough
Default Re: Middle eastern buildings

Houses/ buildings are hard coded. When the game wants a "wooden" house it goes to a set series of images representing wooden houses and selects one. When it needs a "stone" house it goes to another set series of images representing stone type buildings and picks one from the existing list of stone buildings.

That's for single hex buildings only. Large, multihex buildings have the exact "footprint" of the building recorded in the code. If the building is "L" shaped the exact sequence of hexes that the building sits on is recorded so the game knows when you go around the corner of that building whether your on clear space or crashing into a wall. Needless to say the placement of the buildings in the SHP file itself is critical.

As well, buildings are "terrain" and unlike vehicles that are reduced or enlarged by the code as the different zoom levels are changed the terrain types need each tile in ever terrain set pre-reduced for use when players zoom in or out( or pre-enlarged . Both WinSPWW2 and WinSPMBT are unique in the SP series for having an additional "zoom in" set of SHP files giving both games 6 different tile sizes ) So every time you zoom in or out the game accesses an entirely new set of terrain SHP files and each and every one of them has to work together not just at the "standard" size but the reduced sizes as well. That is true for all terrain types and houses are a terrain type

So that's the long answer. NO, you cannot simply add more houses onto the end of a file and expect the game to use them because the game only knows about the ones that are there already. And if that doesn't discourage "fiddling about" with those terrain files consider this ( and this is the "black art" part ) the game is designed to take the "standard" terrain set ( the "z4" sets ) and automatically create the correct zoom in ( and out ) sets if it finds them missing. If it finds those files the routine to create the missing levels will not initiate. However, the windows version of the game creates an imperfect set. Not only will it create lines and other weirdness in the SHP file that will appear in the game it will create a SHP file that SHPEDIT cannot read. The only way to create the sets is with a special DOS copy of the game that was built to produce all six zoom levels and that's staying in my HD.

Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #8  
Old April 12th, 2007, 03:16 PM
RecruitMonty's Avatar

RecruitMonty RecruitMonty is offline
Captain
 
Join Date: Jul 2005
Location: London (Great Britain)
Posts: 838
Thanks: 200
Thanked 144 Times in 87 Posts
RecruitMonty is on a distinguished road
Default Re: Middle eastern buildings

WOW. That is one complicated system for buildings. There is no way in hell I am touching that project, not even with a fifty foot barge pole. Thanks for the elaboration though, I can honestly say I didn't know that.
__________________
"Wir Deutschen sollten die Wahrheit auch dann ertragen lernen, wenn sie für uns günstig ist."
Reply With Quote
  #9  
Old April 17th, 2007, 02:15 AM

Randy Randy is offline
Corporal
 
Join Date: Jun 2005
Location: Torrance, Calif.
Posts: 120
Thanks: 0
Thanked 6 Times in 2 Posts
Randy is on a distinguished road
Default Re: Middle eastern buildings

As far as Middle Eastern buildings go, there are a couple of temple/domed buildings which I use for this purpose.
__________________
United States Marine Corps-America's 911 Force, The Tip of the Spear
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.