Page 1 of 2

Read how NWN palettes were born

Posted: Tue Nov 01, 2005 12:23 pm
by lord rosenkrantz
[FONT="Courier New"]Bioware's were busy developing the game, and then guy #1 must have said: "uhm, we'll be roughly using only 60 categories in our item palette, because we like -very messy- palettes, but we know there are people who won't like our -very messy- way to organize them, so what are we going to use as ID values?"
And their boss replied: "well, if they don't like the way we organize our categories because they are -very messy-, why don't we find a way to mess up their work too? I suggest using a 8-bit string, so that they can only use the values we spare of the 256 available. No fancy and well organized palettes for them"
Then guy #2 said: "but aren't we supposed to be working on a game that will focus on custom content developing? Shouldn't we be trying to give the developers out there a good engine with plenty of options?"
And the boss again: "Nah, I love to mess up with our customers. Oh, now that I think of it, can you guys think of a few flaws to throw in the scripting language too?"

----------------------------------------------------------

If any of you guys is planning to create a rational layout for the palettes of your module (as I did, so that builders' and DMs' work is waaaay easier), well, be careful, we don't have that many available ID's


[edit] I don't know what happened to guy #2. Probably never existed
[/FONT]

Posted: Wed Nov 02, 2005 4:06 pm
by Lord Sullivan
:lol: ... Well it's "255" actualy... when you reach and enter 256 as an ID you get the windows *CLUNK* sound and the ID is reset to "0". :thumbdown

Posted: Wed Nov 02, 2005 4:14 pm
by lord rosenkrantz
lol, 0-255 are in fact a total of 256 possible values :P
just like 0 and 1 are in fact a total of 2 possible values.
It's because they dedicated one byte to handle the ID entries















I agree, I hate binary code too ;)

Posted: Wed Nov 02, 2005 5:34 pm
by lord rosenkrantz
[FONT="Courier New"]Also: if anybody is creating or going to create new palette categories for their module, try to give them high ID numbers. I have started from 255, and going back from there.
Why? Because when CEP new release will be out, there is the chance (I don't have the means to ask, since their website is permanently "under construction" last I checked) that they'll expand their palette, using up new category ID's, likely just above 105 or so. If your module/server uses CEP, you might end up with their new content mixed to your own. And the worst part is, since hak'ed resources cannot be edited in the toolset (hence moved to other palette categories), it'd be a real pain.

I do like tidy palettes, because it's dead easy to keep your custom material under control (my server is very low-magic, hence bioware's or CEP premade items are illegal), but I don't know if anybody else shares with me the same worries[/FONT]

Posted: Thu Nov 03, 2005 1:21 am
by Lord Sullivan
Well yeah, I get what you're saying. In fact I was creating my own Treasure categories to better manage and retrieve them when I found out about the 0-255 issue. And CEP uses up to 155 but I'm not sure at what number they start exactly. But having looked at the categories that the CEP team created... there is a large portion we could have done without. If the CEP/CEP Team is over and done with, someone should recreate a skinnier one for the CEP so that the rest of us can have are own without colliding with CEP.

As for CTP well... each Tileset has to have it's own... so no problem there.

Posted: Thu Nov 03, 2005 7:55 am
by OldMansBeard
[QUOTE=Lord Sullivan]As for CTP well... each Tileset has to have it's own... so no problem there.[/QUOTE]

Are you intending to deliver items with the CTP tilesets? I didn't know that. Shouldn't they be tested?

Also, how can you have a different item palette for each tileset? You would only be able to use one tileset per module otherwise one of the palettes would overwrite all the others, depending on the order of attaching the hakpaks?

Posted: Thu Nov 03, 2005 8:11 am
by lord rosenkrantz
[FONT="Courier New"]I am afraid that what CEP has done cannot easily be undone. Even if I edit their palettes to reduce the IDs they use to a minimum, all objects they created using their palettes would either require editing as well (to change the ID stored in each object file) or would end up in our personal palette categories, mixing up and messing up with our material.

It's once again my main issue with CEP. They released it like it was the ultimate custom expansion pack. But it's in fact intrusive, and further restricts the narrow range of options that Bioware provided us with

Furthermore, it'd be nice if CEP let us know what plans they have for the future. I would hate to see all the massive work I am doing for my PW to be ruined by a late CEP release where they decide to further expand their claims of ownership on NWN
[/FONT]

Posted: Thu Nov 03, 2005 8:16 am
by lord rosenkrantz
[QUOTE=OldMansBeard]Are you intending to deliver items with the CTP tilesets? I didn't know that. Shouldn't they be tested?

Also, how can you have a different item palette for each tileset? You would only be able to use one tileset per module otherwise one of the palettes would overwrite all the others, depending on the order of attaching the hakpaks?[/QUOTE]

[FONT="Courier New"]I think he was referring to the tileset terrain palette.[/FONT]

Posted: Thu Nov 03, 2005 11:22 pm
by OldMansBeard
[QUOTE=lord_rosenkrantz][FONT="Courier New"]I think he was referring to the tileset terrain palette.[/FONT][/QUOTE]

Ah. That's okay then. I was hoping I'd misunderstood.

Incidentally, the 255 limit also applies to generic doors (but not, thankfully, to tileset-specific ones). I've "bagged" 151..255 for ctp generic doors and about three-quarters filled that space but that still leaves 11..150 for doors from outside the CTP, so I hope not too many people will feel aggrieved.

Posted: Fri Nov 04, 2005 5:41 pm
by Christopher
[quote=OldMansBeard]Are you intending to deliver items with the CTP tilesets? I didn't know that. Shouldn't they be tested?[/quote]

CEP is poised to release placeables from Chandigar's sets. The LOK dungeon placeables are already in the CEP with I imagine the ships wheel needed for some of UX's airships.

We will not be anywhere near the placeable's or items. :thumbdown