Jump to content

Hal's Prefab Editor


HAL9000

Recommended Posts

Thanks Hal, I can see everything now. :) But I did find something weird going on. ( or maybe it's me ) Entity placement: I placed 4 cars, 2 at 90 x, and 2 at 270 x, they showed up just where I wanted them in game... however when I go back to the editor ( after already placing entities ) the last entity I placed, turns into a Supply Crate Random. Not sure what is going on. Thanks again.
Link to comment
Share on other sites

[QUOTE=leadingzero;60537] using the newest editor (circa 7.8) w/ a 7.7 world/prefab results in the exception. using the previous editor (circa 7.7) w/ a 7.8 world/7.7 prefab results in a blank edit area.[/QUOTE] Good spot LeadingZero. Can you send me a 7.7 prefab as an example? I didn't back my game up before the update. I doubt I'll support migration but I can at least notify you if there's a block in a prefab that doesn't have a texture anymore. [QUOTE=Peppino;60605]today I have used your prefab builder for a new project and it's pretty awesome! Fast usage, great overview and some new brilliant options like the import prefab function. This enables to create whole new towns very easily. Thank you for your work Hal![/QUOTE] Thanks Peppino, glad you're finding it useful! Yeah the original idea for the importer was my way of trying to create dynamic towns based on a few house prefabs. Swap the placements around a bit so you don't go through the same generic town every time. [QUOTE=Wsiegel;60654]Thanks Hal, I can see everything now. :) But I did find something weird going on. ( or maybe it's me ) Entity placement: I placed 4 cars, 2 at 90 x, and 2 at 270 x, they showed up just where I wanted them in game... however when I go back to the editor ( after already placing entities ) the last entity I placed, turns into a Supply Crate Random. Not sure what is going on. Thanks again.[/QUOTE] I'll check this out Wsiegel, that's very odd. Does it happen on every one you've tried? Hal
Link to comment
Share on other sites

This may be related to cars. I can not replicate it. Although I've tried using 7.7 b7 and converting to 7.8 and created a new 7.8 prefab. Neither had an issue. I'll make a prefab with a car and test this real quick like. Back in a jiffy. EDIT: Threw together a 50 cube deep 20x20 grid area. On every floor I threw cars of differing types. Loaded it into the world, shows up correctly. Does not revert to any other block type. Maybe its possible to had a bad block come in during the upgrade? I did not copy my previous editor or its settings, prior to extracting the new editor. Give it a shot straight out of the zip file and resetting up your config settings from scratch (shouldn't take but a minute to do so Wsiegel). [note: there are dupes in the prefab to test "same entity" type issue, still nothing] You could always compress the prefab and I'll give it a shot to see if it does it to me. Your call. Sorry I'm only able to help that much bro.
Link to comment
Share on other sites

The other block type only appeared when I reloaded the prefab back into the editor. I noticed it happened on the cars once I changed the rotation and updated the entity. it shows in game okay ( rotated )... then I reload into the editor and I see a supply crate and the info displays this also. To test I play one car at 0x one at 90x one at 180x and one at 270 x save then reload... One has changed during reload. sent my .tts to Hal to test. Thanks for the test.
Link to comment
Share on other sites

[QUOTE=DarkNightsComing;60754]No worries, just trying to help out. :0)[/QUOTE] Thanks.. I just repeated the problem... Create a new file 10x10x10, 1st level all grass blocks. hit "+" to next level. Added one of each car ( gray, yellow, red, blue ) one space diagonal in from each corner block. Switched to Info and left clicked on each block. Changed the X to 90 and update, 180 and update, and 270 and update on three of the cars. switched back to block mode and saved the file. Closed the program. restarted the program and reloaded... now a supply crate in one of the car spots.
Link to comment
Share on other sites

Found the problem for the random supply crate. My bad - I'd left some debugging code in there. The coding gods are not pleased with me. I may have to sacrifice a mouse to appease them. Usual [URL="http://bit.ly/OMgN82"]link[/URL] for the updated version Cheers, Hal
Link to comment
Share on other sites

The left column add with "air" will overwrite all left side first columns, not "add" a new column. Just so I word this correctly. ;0) The other error with the clicking. You have to click it to death in the white area of the: 1. big box on the left side, 2. big box on the right side, or 3. in the middle of just loading up the prefab editor without creating a new prefab / not loading a prefab.
Link to comment
Share on other sites

Thanks guys, Next round of bug stomping is done. Fixed: Error message when clicking the listboxes when they have nothing selected. Fixed: Removing bottom layer would wipe all blocks in the first column. Fixed: Click mashing the main area would cause the prefab to stop drawing. Added: Program should warn you if you load a layer with un-recognised blocks and paint the area black. (untested) Usual [URL="http://bit.ly/OMgN82"]link[/URL] Cheers, Hal
Link to comment
Share on other sites

Hi Hal, Just tried your new build and because of some of the blocks in my previous prefabs have been removed in 7.8, an infinite loop of error messages pop up when trying to open said prefab. One of the errors mention that the block was removed and will show up black, however, because of the constant stream of error messages, I am unable to replace the old blocks with new ones. You should be able to replicate this problem by loading up my school prefab. I am eager to go back to all of my released prefabs to update them. Thanks.
Link to comment
Share on other sites

Hey Laz Man, Thanks for that. I didn't know I had one to test with. It's updated now (usual [URL="http://bit.ly/OMgN82"]link [/URL]) It will now just show one message box when you change the layer to let you know there's unknown blocks. Cheers, Danny [QUOTE=Laz Man;61642]Hi Hal, Just tried your new build and because of some of the blocks in my previous prefabs have been removed in 7.8, an infinite loop of error messages pop up when trying to open said prefab. One of the errors mention that the block was removed and will show up black, however, because of the constant stream of error messages, I am unable to replace the old blocks with new ones. You should be able to replicate this problem by loading up my school prefab. I am eager to go back to all of my released prefabs to update them. Thanks.[/QUOTE]
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...