Data Realms Fan Forums
http://868000.nnhp.asia/

Coding problem
http://868000.nnhp.asia/viewtopic.php?f=8&t=17234
Page 1 of 1

Author:  Bluerex [ Sat Nov 28, 2009 7:32 am ]
Post subject:  Coding problem

Referring to an instance ('Coalition HQ.rte/Coalition HQ Terrain') to copy from that hasn't been defined! in Coalition HQ.rte/scenes/Coalition HQ.ini at line 8!

here is the code:
Quote:
AddScene = Scene
PresetName = Coalition HQ
Description = Coalition HQ - The current commander at the base has to report to Main HQ. We believe an invasion could start soon. Please relieve him, make sure he gets out safely, and dispatch any trouble you might have.
LocationOnPlanet = Vector
X = 250
Y = -120
Terrain = SLTerrain
CopyOf = Coalition HQ.rte/Coalition HQ Terrain

Anyways, I have a bmp of my terrain named Coalition HQ Terrain in Coalition HQ.rte. I didn't have this trouble earlier, and I don't know how to fix it. All I can discern is that it can't find the terrain map. All I did was rename the scene because it wasn't the right name by accident. Please help. :???:

Attachments:
File comment: the full file
Coalition HQ.zip [27.86 KiB]
Downloaded 292 times

Author:  411570N3 [ Sat Nov 28, 2009 7:53 am ]
Post subject:  Re: Coding problem

Assuming "Coalition HQ Terrain" is defined, try removing the Coalition HQ.rte/ bit.

Author:  Bluerex [ Sat Nov 28, 2009 5:53 pm ]
Post subject:  Re: Coding problem

Turns out I had the Index backwards so it was opening Terrains.ini after the scene. :oops: Now though it says it can't match the property on line 1. The only thing there is AddScene = Scene. This is confusing because there isn't anything special with that! I am going to proceed to the nearest concrete wall and slam my face repeatedly on it! :x :cry:

Author:  Abdul Alhazred [ Sun Nov 29, 2009 5:38 pm ]
Post subject:  Re: Coding problem

Backup your original and try this. Then copy the building blocks and areas from the original 'Coalition HQ.ini' to the new 'Coalition HQ.ini'.

Attachments:
Coalition HQ fix.zip [21.86 KiB]
Downloaded 296 times

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