Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-03-2007, 09:10 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Question Tile set wont work...

so, i have tested my tile set it wont work but i can fix that later, i just want a tile set to work in the game and not just in the editor x.x

so right now i have this:
PHP Code:
if (created) {removetiledefs;
addtiledef darknations_tileset.png,#L,0;
//the darknations is just to see if a tile set wokrs...

so that makes the editors tile set chnge, but in-game the tile set is still pics1...
__________________
**FLIP OUT**
Reply With Quote
  #2  
Old 03-03-2007, 09:10 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by theHAWKER View Post
so, i have tested my tile set it wont work but i can fix that later, i just want a tile set to work in the game and not just in the editor x.x

so right now i have this:
PHP Code:
if (created) {removetiledefs;
addtiledef darknations_tileset.png,#L,0;
//the darknations is just to see if a tile set wokrs...

so that makes the editors tile set chnge, but in-game the tile set is still pics1...
add //#CLIENTSIDE to the top of your script.
__________________
Reply With Quote
  #3  
Old 03-03-2007, 09:13 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
now, the one level has that tile set but when i enter the other levels (like the one beside it) its back to pics1...
__________________
**FLIP OUT**
Reply With Quote
  #4  
Old 03-03-2007, 09:15 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by theHAWKER View Post
now, the one level has that tile set but when i enter the other levels (like the one beside it) its back to pics1...
see where you put #L? that makes it so you only defined the tileset for that level. in that spot is supposed to be what levels with that tiledef begin with.

Either you have to put the script in all the levels you want it, or name the levels like

whatever_level1.nw, whatever_cool.nw, etc

Then replace #L with whatever_
__________________
Reply With Quote
  #5  
Old 03-03-2007, 09:19 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
well how do i make it so it set the tile set for the whole gmap? or the whole surver?
__________________
**FLIP OUT**
Reply With Quote
  #6  
Old 03-03-2007, 09:24 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by theHAWKER View Post
well how do i make it so it set the tile set for the whole gmap? or the whole surver?
Replace #L with nothing ^-^ addtiledef whatever.png,,0;
__________________
Reply With Quote
  #7  
Old 03-03-2007, 09:38 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
oh, ok thank you
__________________
**FLIP OUT**
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 PM.


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