Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-31-2006, 09:05 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
Tileset Scripting

Hi,
How does the
NPC Code:
addtiledef image,levelstart,type;	specifys the tiles images for all levels that start with 'levelstart' (0-standard type,1-new order)


command work?
What I mean is, in '1-new order', how does it know which tiles are block and which tiles are non block, etc. if it is not in the same order as pcis1.png?
Reply With Quote
  #2  
Old 12-31-2006, 09:12 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
It's the picso.png (+ Era) which is 1, 0 is pics1.png.
__________________
V$:CONFL16T
Reply With Quote
  #3  
Old 12-31-2006, 11:21 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
Where does the bush that you can pick up go on the new order tiles?
Reply With Quote
  #4  
Old 01-01-2007, 05:48 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
This might help you

http://wiki.graal.net/index.php/Creation/Dev/Tileset
Reply With Quote
  #5  
Old 01-01-2007, 01:59 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
Ahh thanks, I tried to use the new order tiles, but I still cannot seem to pick up bushes, is there something wrong with the new order tiles?
Reply With Quote
  #6  
Old 01-01-2007, 08:30 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
Okay I tried to use the one that came with that wiki dev, but it did not work, so I deleted all the colors and made it all black except the lower left pick up items, that worked, I did the addtiledef command and set it to new order, the tiles respond as they should but the bushes do not pick up.
Is there something I am missing? Do I need to use custom code in order to get it to work?
Reply With Quote
  #7  
Old 01-02-2007, 07:21 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
From the wiki
PHP Code:
addtiledef image,levelstart,type
specifys the tiles images for all levels that start 
with 
'levelstart' (0-standard type,1-new order
Since you're using the new type of tileset, make sure you use type 1 instead of 0.

Type 0 is for classic tilesets like pics1.png or the N-Pulse tileset.
Type 1 is used for the new layout.

If this doesn't help, you may just have to experiment to find the correct placing for bushes and similar manipulatable (is that a word?) objects.
Reply With Quote
  #8  
Old 01-02-2007, 10:03 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
I have done that, everything else works, but the bush does not.
Is there anyone who knows whats wrong? I think it would take forever to put a bush in every 4 slot area and try them out, there must be someone who actually knows whats wrong?
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 07:30 PM.


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