Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-20-2011, 12:47 AM
Drakeero Drakeero is offline
Registered User
Join Date: Jan 2004
Posts: 507
Drakeero will become famous soon enough
Graal Editor fix specifically for GK

I see a few threads about the tileset issues with edtior but after browsing through them I haven't seen problems specifically about the editor not wanting to switch to the GK tilesets.

Seeing as how I've recently lost my fixed editor, I need to fix the new one. Can someone please remind me what data I need to copy/paste between files to make it work?
__________________
"Wait.... what?"
Reply With Quote
  #2  
Old 05-20-2011, 12:50 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
1. Delete FILENAMECACHE
2. Log on to GK
3. Use the appropriate addtiledefs script
Reply With Quote
  #3  
Old 05-20-2011, 12:55 AM
Drakeero Drakeero is offline
Registered User
Join Date: Jan 2004
Posts: 507
Drakeero will become famous soon enough
Quote:
Originally Posted by fowlplay4 View Post
1. Delete FILENAMECACHE
2. Log on to GK
3. Use the appropriate addtiledefs script

First two steps are done. Where's the script I need to use? And how do I use it?

^ Please don't tell me you're talking about adding some script to an NPC in every level I want to use. That's never worked for me and there is a better way to do it. I know, I've done it before. I've just forgotten what it was.
__________________
"Wait.... what?"
Reply With Quote
  #4  
Old 05-20-2011, 01:00 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
You could use this:

PHP Code:
//#CLIENTSIDE
if (created) {
  
addtiledef picso.png,gk_,5;

All levels that start with gk_ will use the picso.png terrain tileset in my example. I'm not sure what the tiledefs are for houses and what not though.
Reply With Quote
  #5  
Old 05-20-2011, 01:55 AM
Drakeero Drakeero is offline
Registered User
Join Date: Jan 2004
Posts: 507
Drakeero will become famous soon enough
Well, the original fix I found involved tracking down a particular file, deleting the information in it, and then copy/pasting a block of information into it from another file in a completely different folder and bam. Everything worked.

Didn't need to fiddle with any sort of script at all. Screw scripts. Once I did this I never had a tile-related editor problem again when working with GK maps outside and in. It even correctly identified the correct indoor tilesets for different kingdoms.
__________________
"Wait.... what?"
Reply With Quote
  #6  
Old 05-20-2011, 02:02 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Assuming:

1. Deleted FILENAMECACHE
2. Logged on to GK
3. Graal and the Graal Editor is closed.

Well there's that way too:

1. Go into your levels/tiledefs folder
2. Delete tiledefsOffline.txt
3. Copy tiledefsGraal%032Kingdoms.txt
3. Rename the copy to tiledefsOffline.txt
4. Start the editor.
Reply With Quote
  #7  
Old 05-20-2011, 09:11 AM
Drakeero Drakeero is offline
Registered User
Join Date: Jan 2004
Posts: 507
Drakeero will become famous soon enough
Problem solved.

Apparently the problem was I was missing a file named loadgmaps.txt in the Graal folder. Once I carried it over from a previous version of the game that had a working editor the new one began to work as well.
__________________
"Wait.... what?"

Last edited by Drakeero; 05-20-2011 at 10:16 AM.. Reason: Problem solved
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.