Ryandor.com https://ryandor.com/forum/ |
|
Another Tool Coming your way. https://ryandor.com/forum/viewtopic.php?f=2&t=91 |
Page 1 of 1 |
Author: | KnightD [ Thu Jul 04, 2002 5:18 pm ] |
Post subject: | Another Tool Coming your way. |
This is a screen shot of a tool that I am creating to assist us in creating caves for our shards. The tool will not be fancy, but should help cut down the amount of time used in creating caves. The release date for the tool will be Monday. ![]() KnightD |
Author: | gmMerlin [ Sat Jul 06, 2002 7:01 pm ] |
Post subject: | OMG SOOOO SWEET!!!!!!!!! |
That will be great proggy and will save spots on the color table for me and ryandors mods |
Author: | KnightD [ Tue Jul 09, 2002 7:26 am ] |
Post subject: | Will need to wait for a bit longer. |
Ok, I ran into a snag last night. I am using the codes that you find in Inside UO for the cave structures, etc. But when I inport them into the statics using DragonSP. I get some strange results. Because of this, I have delayed release until I can figure out the code array that is needed. On that note, if someone knows what the code translation between sphere and InsideUO is. I would love to know. I will be adding the UOX code array tonight. So that it can be used with Worldforge and such. KnightD |
Author: | gmMerlin [ Tue Jul 09, 2002 12:54 pm ] |
Post subject: | can you give me your site so when you do release it i can do |
can you give me your site so when you do release it i can do |
Author: | Sydius [ Tue Jul 09, 2002 2:29 pm ] |
Post subject: | |
Just import the statics directly into the static files, they don't have that complex of a format. |
Author: | KnightD [ Tue Jul 09, 2002 2:50 pm ] |
Post subject: | Importing Directing into Static files. |
This program draws the cave images, it does not edit the files. Thus it would be difficult to import. Also, I dont have a VB6 module for inserting static data into the static file. Maybe in the future, but not at this moment. |
Author: | Sydius [ Tue Jul 09, 2002 4:37 pm ] |
Post subject: | |
Module? What? Images? Why do you need a module to edit the static data? Write it yourself, here's the format: staidx0.mul: 393216 * 12 bytes info: 4 bytes = Offset 4 bytes = length 4 bytes = no one knows statics0.mul: number_of_items_in_map * 7 bytes: 2 bytes = item 1 byte = x 1 byte = y 1 byte = z 2 bytes = color Just get the map block the item is in, times the block number by 12, get the offset and length from the staidx0.mul file, jump to that location in the statics0.mul file, read in the number of items, and viola. I could be slightly off on the formats, but they are very simular to that. It's VERY easy to just edit them. |
Author: | KnightD [ Wed Jul 10, 2002 7:28 am ] |
Post subject: | This sounds more like an editor. |
I am tring to keep it simple. Also, I have found that most people want to use two steps when creating there statics. Take a look at dragon, the first pass creates a a directory filled with all the static items, but they are in sphere.scp format. Then you use dragonsp to freeze the scripts into the static file. ok as for the module; when inserting static info into a static file. You have to create a link list ( or a collection in VB ). After which you load the static info into. The reason for this that each block can have anywhere from 0 to 1024 items. You will need to be able change the the array structure for each block as it is being loaded. Now I could set the array to a fix size. But I do remember a comment in the worldforge code, where they had to increase thier array size. Now I do plan to create a module that will do this. But I am had not planned to do it for this product. Which was to be a simple and quick program. KnightD |
Author: | Sydius [ Wed Jul 10, 2002 9:16 am ] |
Post subject: | |
There is ABSOLUTELY NO REASON you need to use a linked list to work with the static files. staidx0.mul tells you how big to make your arrays. No linked lists required. I've made plenty of programs that edit the statics directly and it's so simple a retarted chimp could figure it out. You definately don't need linked lists for anything. Don't confuse dynamic data sizes with linked lists. Just allocate the apropriate amount of memory for the array, and increase it when needed. No modules or anything else needed. Just open the files, get the needed info, append your crap on the end, write the new data back, and viola. Maybe 50 lines tops, and that's if you complex the hell out of it needlessly. |
Author: | KnightD [ Wed Jul 10, 2002 1:00 pm ] |
Post subject: | hmmm |
I think I will stop this topic before it goes any further. I asked a simple question. What I was looking for, is a translation between insideUO ID's and Sphere ID's. That simple. KnightD |
Author: | Sydius [ Wed Jul 10, 2002 1:10 pm ] |
Post subject: | |
Well I just gave you an alternative (and in my opinion, just as simple) method. ![]() |
Author: | gmMerlin [ Wed Jul 10, 2002 7:24 pm ] |
Post subject: | Well just wondering when it will be out for download |
plz as soon as you get that fine gem of a program out tell everyone it will be one of the best |
Page 1 of 1 | All times are UTC - 7 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |