PlaneShift

Development => Development Deliberation => Topic started by: Ralleyon on September 14, 2006, 12:08:41 pm

Title: Questions about: Adding a house, modifying textures and bookcase
Post by: Ralleyon on September 14, 2006, 12:08:41 pm
Now for the questions in detail:

1. I would like to add a house to the NPCroom for testing. I looked inside the DB, but this is not a thing which can be solved with it. The textures are loaded from the zip files in the world directory so my best guess is that I'd have to modify something there.... but how? A few pointers in that direction would be grand.

2. Related to 1. very much, I guess that by answering that you may be solving this one as well. The question is, how to modify the textures of a thing, like a window for example. No, I don't really mean modifying the actual texture with an editor of some sort (like GIMP or Blender), but actually putting it into the "world" after it has been created. Is there a PS tool for that, or Blender all the way?

3. This one is not so much related to the other two questions, but here goes. I'd like to add to Jayose's collection of books, but in order to do that I have to make the bookcases to act as containers. Sounds simple right? It would be if I had a bookcase texture. I'd simply add that to the common_strings table and then link it to an object in the item_stats table. But alas, that is not so easy, because there is no bookcase texture. The ones in Jayose's library are part of the world files, jayose.zip to be exact. How to link that to an actual item is a bit unclear to me right now.

And this is it for today folks. So, any ideas please?
Title: Re: Questions about: Adding a house, modifying textures and bookcase
Post by: Wired_Crawler on September 14, 2006, 03:19:07 pm
Re1:
docconv -outds=tinyxml world

<library>house.lib</library>
Re2:
I'm sure You will figure it out yourself by looking into world file :). You just add a image to zip and define custom textue and material in "world" (or modify existng texture/material definition).

Re3:
I haven't experimented with this, I guess it needs only server side (database) changes. I guess you must associate meshobj name (not texture name) with certain actions by modyfying proper tables.