Ryandor.com
https://ryandor.com/forum/

Leading 0 Makes Foliage Lava
https://ryandor.com/forum/viewtopic.php?f=2&t=1854
Page 1 of 1

Author:  SnowCarve [ Mon Jul 12, 2004 4:14 pm ]
Post subject:  Leading 0 Makes Foliage Lava

Here is a line from my forest.scp:
Code:
0022 3289 0000 0000 0000 0000 3288 0000 0000 0000 0000

That should create a Cedar tree with foliage. Instead, it creates a lava tile on top of another one. Specifically, it creates 03289 and 03288. Apparently those leading 0's change what tile is created. I have always known this to be true with certain newer versions of Sphere, but why would this happen with DragonSP?

Here's what I have tried already: My Statics/forest.scp file defined each item as [WORLDITEM 0____] where the "_" are various numbers. I used a program to remove the leading 0 so that I only had four digits, thinking that would work. I still have the same problem.

I can only think that there must be a way to define what I see as four-digit item ID's as 5-digit item ID's? The number will apparently differ more than just by a leading 0.

I'll be working on this all day, and if I find a solution I'll head back here and post it. In the meantime, any help is appreciated.

Author:  Stormcrow [ Mon Jul 12, 2004 5:09 pm ]
Post subject: 

The id's need to be in hex.
Example:
// Cedar tree + needles
0032 0cd6 0000 0000 0000 0000 0cd7 0000 0000 0000 0000
// Cedar tree + needles
0032 0cd8 0000 0000 0000 0000 0cd9 0000 0000 0000 0000

Author:  SnowCarve [ Mon Jul 12, 2004 8:11 pm ]
Post subject: 

Wow, I should have seen that. I blame my emulator :) I thought it was smart enough to give me the item ID in hex. Hopefully this thread will help out anyone else having the same problem.

Author:  Stormcrow [ Wed Jul 14, 2004 11:57 am ]
Post subject: 

Yah, it's always been a problem with Sphere. I had a lot of trouble trying to do jungle trees when I used it.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/