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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2 > Campaigns, Scenarios & Maps
Notices


Closed Thread
 
Thread Tools Display Modes
  #1  
Old July 19th, 2019, 05:42 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,672
Thanks: 4,104
Thanked 5,881 Times in 2,901 Posts
DRG will become famous soon enough
Exclamation Re: Questions re Map editor

In game data / design there is a terrain Terrain Tile Index

The game "knows" it is looking for Green grass in TER00. If you swap TER00 for TER10 - Snow you will see snow where there was flat green grass but for one that will only change the flats....hills are another shp file and that is only clear grass terrain but the game looks for the SHP file it does not save that SHP file data in the map save....just that it needs to use that particular shp file so you could go through the lengthy process of swapping the Terrain SHP's around but if anyone else tried to that map in their game it would be green because their grass is still the correct TER00.

You could experiment with a simple flat map.

FIRST MAKE A DUPLICATE INSTALL OF THE GAME

.build that map with standard ground level 0 clear green grass (generate a map and then press the CLR button and then save )then rename TER00 to XTER00 and rename TER10 - (Snow) to TER00 then run that map in the game...should see that green grass as snow. but you will also see about 20% as black voids ( see below).....save that version of the map then put everything back to normal... change your altered Ter00 back to Ter10 and remove the X from your Ter00 and load that map and it will be back to green grass

However, none of that will work exactly as green grass has more basic tiles in its SHP file than snow does so what you propose is impossible even when just displayed in your own game as there will be a lot of black voids
__________________


"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

Last edited by DRG; July 19th, 2019 at 06:09 AM..
  #2  
Old July 19th, 2019, 02:10 PM

76mm 76mm is offline
Private
 
Join Date: Jul 2014
Posts: 23
Thanks: 5
Thanked 1 Time in 1 Post
76mm is on a distinguished road
Default Re: Questions re Map editor

Quote:
Originally Posted by DRG View Post
However, none of that will work exactly as green grass has more basic tiles in its SHP file than snow does so what you propose is impossible even when just displayed in your own game as there will be a lot of black voids
Thanks much for the detailed explanation...but one last question!

What if I start with a winter map, and swap in the grass tiles for the snow? In that case it sounds like the black gaps that you mention would not occur? I understand that the grass tiles might then look a little funny with less variation, but I could experiment with that.
Closed Thread

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 11:58 AM.


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