View unanswered posts | View active topics It is currently Tue Apr 16, 2024 8:59 pm



Reply to topic  [ 4 posts ] 
 Coding problem 
Author Message

Joined: Wed Nov 04, 2009 3:43 am
Posts: 9
Reply with quote
Post 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 268 times
Sat Nov 28, 2009 7:32 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Coding problem
Assuming "Coalition HQ Terrain" is defined, try removing the Coalition HQ.rte/ bit.


Sat Nov 28, 2009 7:53 am
Profile WWW

Joined: Wed Nov 04, 2009 3:43 am
Posts: 9
Reply with quote
Post 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:


Sat Nov 28, 2009 5:53 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post 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 268 times
Sun Nov 29, 2009 5:38 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.113s | 16 Queries | GZIP : Off ]