Data Realms Fan Forums
http://45.55.195.193/

Module problems.
http://45.55.195.193/viewtopic.php?f=1&t=13426
Page 1 of 1

Author:  the4runner [ Sun Jan 11, 2009 4:52 pm ]
Post subject:  Module problems.

Basically, I'm making a bunker module, and all was well until I came to coding the equivalent of "BunkerBits.ini". Copy below:

Code:
AddTerrainObject = TerrainObject
   InstanceName = Supar Block
   AddToGroup = Bunker Bits
   GoldCost = 40
   FGColorFile = ContentFile
      Path = Supar.rte/Block/BlockFG.bmp
   MaterialFile = ContentFile
      Path = Supar.rte/Block/BlockMat.bmp
   BGColorFile = ContentFile
      Path = Supar.rte/Block/BlockBG.bmp
   BitmapOffset = Vector
      X=0
      Y=0


I'm always getting the error, "Could not match property in Supar.rte/Block.ini at line 1!", then the usual breakpoint error. From what I can see, it is only this file, but you will know better then me. Any ideas? ( I am C&Ping the code directly from BunkerBits, and changing the relevant areas.)

Author:  Roy-G-Biv [ Sun Jan 11, 2009 5:16 pm ]
Post subject:  Re: Module problems.

This is the whole ini?
If it is, then try to recode the ini.
If it's not, then upload the whole thing.

Author:  the4runner [ Sun Jan 11, 2009 5:39 pm ]
Post subject:  Re: Module problems.

Yep, the whole ini. I have all of the other files necessary, the Index, the Materials, the FG, MAT and BG. I've only coded this in so far, and already it will not work. I'm under the Assumption that this is all I need in the Block.ini file, being the equivalent to BunkerBits, and being the same size as the block(metal) i am copying from bunkerbits.

EDIT: Fixed it, but now onto yet another problem! I am creating an impenetrable block, and do not kow how to specify what material to use for the block. I know that BlockMat has something to do with it, however, whenever I put the same colour on both the material in the materials.ini and the BlockMat.bmp, it acts as the vanilla concrete. How do I fix this?

EDIT: Got it. Lock Please?

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