Roja Report post Posted September 11, 2004 I was thinking about how to best make the thumbnail view thing better that was implemented(ctrl+, because right now it's obviously not finished..and I want to make map making as easy as possible for people. And with all the new objects being added, it's difficult to find things-or even know that some things are even there! So, here is my idea: make a config file for me so that I can name the categories, and also name the objects that go in those categories. So it can be editable easily, if I need another category, or have another object, or need to change what category an object is in because maybe we make more of it's kind..well it'd be simple. I was also thinking that, well top down view for the objects kinda sucks..so we need to see them against another axis of course. But some objects might not look good-or might be completely invisible if viewed from a certain angle. So would it be possible to also define the angle the object shows in that config file? Basically there'd be a default axis/angle, that each obj would have. From then on, you can manually edit it if need be. Ok that's it I guess Sorry to keep bugging you guys with this map editor..but I realy want to get it to a finished stage so making these maps will be easier for people, so that we can have more maps faster! Share this post Link to post Share on other sites
Sadez Report post Posted September 11, 2004 What do you prefer: - Simple text format Category Plants Big Tree,/path/to/object.e3d,xrot,yrot,zrot,size Big Tree2,/path/to/object.e3d,xrot,yrot,zrot,size Category Buildings House1,/path/to/object.e3d,xrot,yrot,zrot,size House2,/path/to/object.e3d,xrot,yrot,zrot,size House3,/path/to/object.e3d,xrot,yrot,zrot,size - XML Format <Category name="Plants"> <Object name="Big Tree" path="/path/to/object.e3d" xrot="40" yrot="40" zrot="40" size="2"/> <Object name="Big Tree2" path="/path/to/object.e3d" xrot="40" yrot="40" zrot="40" size="2"/> </Category> <Category name="Buildings"> <Object name="House" path="/path/to/object.e3d"/> <Object name="House2" path="/path/to/object.e3d"/> </Category> xrot yrot zrot size would be optional Share this post Link to post Share on other sites
Roja Report post Posted September 11, 2004 I prefer simple text...but if there is some advantages to XML then i'll use that instead..or if it's easier for you to implement or something. It's not a big deal either way... thanks a lot for working on this!! Share this post Link to post Share on other sites
Sadez Report post Posted September 12, 2004 It's done You'll need to set up your objects in the browser.lst file in EL folder. I was using this one to test: Category Plants Big Tree,/3dobjects/interiors/armoire1.e3d,0.5,0.5,0.5,0.5 Big Tree2,/3dobjects/interiors/armoire1.e3d,0.5,0.5,0.5,0.5 Category Buildings House1,/3dobjects/interiors/armoire1.e3d,0,260,90,1.5 House2,/3dobjects/interiors/armoire1.e3d,80,80,80,1.5 House3,/3dobjects/interiors/armoire1.e3d,20,20,20,0.5 House1,/3dobjects/interiors/armoire1.e3d,0,260,90,1.5 House2,/3dobjects/interiors/armoire1.e3d,80,80,80,1.5 House3,/3dobjects/interiors/armoire1.e3d,20,20,20,0.5 House1,/3dobjects/interiors/armoire1.e3d,0,260,90,1.5 House2,/3dobjects/interiors/armoire1.e3d,80,80,80,1.5 House3,/3dobjects/interiors/armoire1.e3d,20,20,20,0.5 Share this post Link to post Share on other sites
Roja Report post Posted September 12, 2004 You are the map editor god! Ok I tried it out..still some bugs it seems. I made that list, and when I clicked a thumbnail(which did show the obj correctly with the right rotation/size btw), it came up as the "bad object" model. The file name was incomplete, and had the category name as the last part of it: C:/Game/3dobjects/Plants Share this post Link to post Share on other sites
Sadez Report post Posted September 12, 2004 It's fixed...forgot to remove some strcat's Share this post Link to post Share on other sites
Roja Report post Posted September 12, 2004 yay!! it works now I've got a lot of typing work ahead of me though Share this post Link to post Share on other sites
Roja Report post Posted September 15, 2004 Got a problem..I started to play around with the coordinates, and the very first object in the category list always has the default rotations, I can never change it(the SIZE part works however). And the 2nd object in the list takes the coordinates of the first object, instead of using it's own. Also, the thumbnail view seems to take the pivot of the object and call that the center of the image. Can it take the center of the bounding box instead? Because, what happens is if i have a tall building, the pivot is at the bottom of the buliding, in the center. So now more than half the building is chopped off, and half of the thumbnail window is empty. Share this post Link to post Share on other sites
Sadez Report post Posted September 15, 2004 These things should be fixed now. I also added a replace window (you must add window_replace.c and window_replace.h to the makefile) that replaces 3d objects, but it could be extended to replace ground tiles and 2d objects too if it's needed. Ctrl+r to open the window. Share this post Link to post Share on other sites
Roja Report post Posted September 15, 2004 Hm..thumbnail view is still goofy. It still takes the coordinates of the object above the one you want. This time however, the objects were in different rotations than when I tried it yesterday using the same coords. The first house, in this list, is exactly how i want it to be ...all the other houses are tilted wrong, even though every house has the same coords. Here's my browser.lst file: Category Houses House1,/3dobjects/structures/house1.e3d,270,0,0,1.5 House2,/3dobjects/structures/house2.e3d,270,0,0,1.5 House3,/3dobjects/structures/house3.e3d,270,0,0,1.5 House4,/3dobjects/structures/house4.e3d,270,0,0,1.5 House5,/3dobjects/structures/house5.e3d,270,0,0,1.5 House6,/3dobjects/structures/house6.e3d,270,0,0,1.5 House7,/3dobjects/structures/house7.e3d,270,0,0,1.5 House8,/3dobjects/structures/house8.e3d,270,0,0,1.5 House9,/3dobjects/structures/house9.e3d,270,0,0,1.5 House10,/3dobjects/structures/house10.e3d,270,0,0,1.5 House11,/3dobjects/structures/house11.e3d,270,0,0,1.5 House12,/3dobjects/structures/house12.e3d,270,0,0,1.5 House13,/3dobjects/structures/house13.e3d,270,0,0,1.5 House14,/3dobjects/structures/house14.e3d,270,0,0,1.5 House15,/3dobjects/structures/house15.e3d,270,0,0,1.5 House16,/3dobjects/structures/house16.e3d,270,0,0,1.5 House17,/3dobjects/structures/house17.e3d,270,0,0,1.5 House18,/3dobjects/structures/house18.e3d,0,90,90,1.5 House19,/3dobjects/structures/house19.e3d,270,0,0,1.5 House20,/3dobjects/structures/house20.e3d,270,0,0,1.5 House21,/3dobjects/structures/house21.e3d,270,0,0,1.5 House22,/3dobjects/structures/house22.e3d,270,0,0,1.5 House23,/3dobjects/structures/house23.e3d,270,0,0,1.5 Share this post Link to post Share on other sites
Sadez Report post Posted September 15, 2004 Using your file: Category Houses House1,/3dobjects/structures/house1.e3d,270,0,0,1.5 House2,/3dobjects/structures/house2.e3d,270,0,0,1.5 House3,/3dobjects/structures/house3.e3d,270,0,0,1.5 House4,/3dobjects/structures/house4.e3d,270,0,0,1.5 I get this: And using this: Category Houses House1,/3dobjects/structures/house1.e3d,0,0,0,1.0 House2,/3dobjects/structures/house2.e3d,0,0,0,1.0 House3,/3dobjects/structures/house3.e3d,0,0,0,0.8 House4,/3dobjects/structures/house4.e3d,0,0,0,1.0 I get this which will probably be more like you want: Are you getting different results? Share this post Link to post Share on other sites
Roja Report post Posted September 15, 2004 Yes I am: The first house does not take the coordinates I give it, like I said before..if I change the coords of the 3rd house, instead of hte 3rd house moving the 4th house does. The 270 rotation i just put there for a test, because I didn't know how to rotate it to start. Before this new map editor compile, the houses were rotated differently than this-at 270 they faced completely to the front. Share this post Link to post Share on other sites
Sadez Report post Posted September 15, 2004 I'm not sure what could be the problem... I uploaded the map editor and my sample file so you can check if you have the same problems: You have to download that image and rename it to .rar (yes I know this is really crappy ) Share this post Link to post Share on other sites
Roja Report post Posted September 15, 2004 it's not showing any file/image.. only "user posted image" ..stupid forum Share this post Link to post Share on other sites
Sadez Report post Posted September 15, 2004 Yes you have to download the user posted image(http://img34.exs.cx/my.php?loc=img34&image=map12.jpg) which is not a valid image, just a renamed .rar Share this post Link to post Share on other sites
Roja Report post Posted September 15, 2004 oh ok..i got it, but still if i change any coordinates of the first house in the browser.lst... the SECOND house moves, and NOT the first... Category Houses House1,/3dobjects/structures/house1.e3d,270,0,0,1.0 House2,/3dobjects/structures/house2.e3d,0,0,0,1.0 House3,/3dobjects/structures/house3.e3d,0,0,0,0.8 (looks like the first 2 houses in the image i posted above) Share this post Link to post Share on other sites
Sadez Report post Posted September 15, 2004 Ok, that should be fixed now Share this post Link to post Share on other sites
MikeH Report post Posted September 16, 2004 just posting here to keep you guys updated, and to anyone else defining the objects contact me or tiras so we can make this a lil organized, and yes roja we are still going to PM you all the stuff =D heres what me and tiras have accomplished so far -all rocks -all ores (gems included) -all ruins -all weapons -all food -all books tiras is working on some other misc objects and im starting to do some flowers/plants Share this post Link to post Share on other sites
Hazor Report post Posted September 16, 2004 tiras is working on some other misc objects The misc_objects are done now. and now I'm tired, so I'm gunna go to bed. Share this post Link to post Share on other sites
Sadez Report post Posted September 16, 2004 Send me the file, or post it here when you finish, I'll put the file in CVS. Share this post Link to post Share on other sites
Roja Report post Posted September 16, 2004 I'll compile all the categories that people have done and send it to you sadez..maybe we'll be done today Share this post Link to post Share on other sites
Sadez Report post Posted September 16, 2004 Updated the replace window, now it can replace 2d objects and ground tiles. Share this post Link to post Share on other sites
MikeH Report post Posted September 16, 2004 someone post whats all been done, cuz i wanna pick up on another category Share this post Link to post Share on other sites
Roja Report post Posted September 16, 2004 Ok, well so far I only did the houses and house insides. You can do anything else in the structures folder. You know what tiras has done..and that is it besides you i guess Also post everything you did. Share this post Link to post Share on other sites