.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPWW2 (http://forum.shrapnelgames.com/forumdisplay.php?f=139)
-   -   Building Question (http://forum.shrapnelgames.com/showthread.php?t=29678)

groszdix July 29th, 2006 02:24 AM

Building Question
 
Is there a set number of slots that SPWW2 is programed to use in selecting building icons in the map generator? I ask because I added a few of the old building icons from the earlier version that I thought still looked good onto the end of the shp file for buildings, but I could not get them to show up in the editor.

BTW, whoever worked on the new building icons for SPWW2 and SPMBT did a great job, thanks! It really makes the maps look a lot better. Will any new additions be forthcoming?

Mobhack July 29th, 2006 10:29 AM

Re: Building Question
 
There is a fixed number. So adding new ones, unless you replace/overwrite some of the defaults is pointless.

Cheers
Andy

DRG July 29th, 2006 01:04 PM

Re: Building Question
 
The building numbers work from a fixed number set for the various building types and are hard coded. There are no "spare" unused slots otherwise the code would be placing invisible buildings on the map because all it knows is we've told it to look between point A and Point B for a building and if we left in blanks it would place that "blank" on the map and call it a stone or wooden house and people complain when they crash into invisible buildings. The number of houses available increased when I redid them. I think there are at least twice as many ( or more ) as there were before but it's been a couple of years since that was done.


Don


All times are GMT -4. The time now is 09:42 PM.

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