View unanswered posts | View active topics It is currently Sat Dec 28, 2024 4:14 pm



Reply to topic  [ 2 posts ] 
 Base Parts? 
Author Message

Joined: Sun Mar 25, 2012 9:35 pm
Posts: 10
Reply with quote
Post 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?


Sun Apr 15, 2012 12:24 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Sun Apr 15, 2012 12:42 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 15 Queries | GZIP : Off ]