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 04-20-2002, 10:47 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
graal pics1.png reading

not sure where to put this but doesn anyone know how graal reads the pics1.png file
i mean i made the thing bigger, and the level editor saw the changes i made, but when u play it messed up
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #2  
Old 04-22-2002, 06:37 AM
zallus-k zallus-k is offline
Registered User
Join Date: Sep 2001
Location: AC0265, Zaroke
Posts: 122
zallus-k is on a distinguished road
Yes, the level editor can see it, but the real way it reads it is via a 12 bit array. You see, the variable for a tile, defined in any tiles[] call, is really a hex value along the method of 0xABC.

A = A 16 peice division of the current tileset, along these lines:


For B & C:


B=The vertical plane.
C=The horizontal plane.

Also, all prefixed zeros may be trunicated. So, using this principle, the first plain grass tile would be located on the first section, in the last column, and on the last row, giving the value of 0x1ff.

[/jargon]

So, your appendage of extra tiles onto the level array simply would not work, because it exceeds the range of the variable.
__________________

Solemn Destiny - Owner
Reply With Quote
  #3  
Old 04-25-2002, 07:34 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
How did you get that? That is so neat. But what makes me mad is there are 3 plain grass tiles that I could really use for some nice tiledefs but as it turns out each one is incorporated with a tree.. like the plain tree has some of each of the 3 tiles in it. It is crazy
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #4  
Old 04-28-2002, 03:03 AM
zallus-k zallus-k is offline
Registered User
Join Date: Sep 2001
Location: AC0265, Zaroke
Posts: 122
zallus-k is on a distinguished road
Just replace those tiles with the first grass tile in the server when theey're placed, or possibly just change the predefined object. But, if you think that the other LATs will screw up the tree thing, or if you already have those other tree tiles on a bunch of levels, than... oh well.
__________________

Solemn Destiny - Owner
Reply With Quote
  #5  
Old 04-30-2002, 03:24 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
screw the lats. my lats will only do inside levels if I ever get any. What the issue I have is the trees from the levelgenerater.. 49 levels of horror.. x.x
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:32 PM.


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