Data Realms Fan Forums
http://45.55.195.193/

Base Parts?
http://45.55.195.193/viewtopic.php?f=1&t=30858
Page 1 of 1

Author:  Arcturus [ Sun Apr 15, 2012 12:24 am ]
Post subject:  Base Parts?

I don't have the slightest idea where to start.
You guys have a guide or can you make a short guide on where do I start?

Author:  CaveCricket48 [ Sun Apr 15, 2012 12:42 am ]
Post subject:  Re: Base Parts?

Your basic bunker piece code:
Code:
AddTerrainObject = TerrainObject
   PresetName = Closed Tomb
   AddToGroup = Bunker Modules
   GoldCost = 50
   FGColorFile = ContentFile
      Path = Base.rte/Scenes/Objects/BunkerModules/TombAFG.bmp
   MaterialFile = ContentFile
      Path = Base.rte/Scenes/Objects/BunkerModules/TombAMat.bmp
   BGColorFile = ContentFile
      Path = Base.rte/Scenes/Objects/BunkerModules/TombABG.bmp

The first FilePath directs the bunker piece to the BMP that overlays colors over the bunker material. The second FilePath directs to the BMP that is composed of the materials that make up the bunker, based on the RGB values in Base.rte/Materials.ini. Finally, the last FilePath is what directs what BMP to use for the background.

You can see examples in Base.rte\Scenes\Objects\BunkerModules.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/