Ceiling deleteing itself
-
- Posts: 146
- Joined: Wed Jun 11, 2014 1:31 am
Ceiling deleteing itself
So when you place in a fake ceiling item it seems to delete any existing ceiling above it, to which I tried to fix it by putting in another fake ceiling above the already existing fake ceiling. This causes 1 of 2 things to happen.
1. The first fake ceiling ends up being destroyed.
or
2. The editor completely crashes.
Anyone know why this is happening, and if there is a way to fix it? At the moment I just have the start of my tunnel without a fake ceiling so that the real ceiling above it doesn't break and cause a black spot in my map.
*Edited in hopes to make more sense xD, was in a public space listening to people argue the first time around.
1. The first fake ceiling ends up being destroyed.
or
2. The editor completely crashes.
Anyone know why this is happening, and if there is a way to fix it? At the moment I just have the start of my tunnel without a fake ceiling so that the real ceiling above it doesn't break and cause a black spot in my map.
*Edited in hopes to make more sense xD, was in a public space listening to people argue the first time around.
Last edited by Emera Nova on Wed Nov 05, 2014 6:35 am, edited 1 time in total.
Re: Ceiling deleteing itself
Any chance of a full restructuring of this statement from the ground up? (pun intended)Emera Nova wrote:I'm working on a tunnel where I place one ceiling item in to give the roof of the and then the one above it which is a set roof disappears.
Re: Ceiling deleteing itself
The same problem I ran into, Nutjob, sheesh. You even replied!
SpoilerShow
Jackard wrote:Now see, this is two ceilings on the same tile at two different elevations, so overlapping is more difficult:NutJob wrote:Because you can't see through the first?Jackard wrote:Why can I not use two ceilings on the same tile at different elevations? This includes both terrain and object ceilings - only one will show up ingame.
Elevation 2
Elevation 0
Jackard wrote:i have added some pictures
I've had to go with a temporary solution of no Ele-0 ceiling and an Ele-2 bridge instead, but this issue keeps coming up as I build, so if anyone has a real solution I would appreciate it.
Elevation 2
Elevation 0
Re: Ceiling deleteing itself
This happens because the ceiling objects are defined to automatically replace other ceilings (just like an alcove object will replace the wall object). The original assets have simply not been made for cases like these so you probably can work around the issue by defining your own ceilings for these special cases. Here's an untested object definition that you could try out:Emera Nova wrote:So when you place in a fake ceiling item it seems to delete any existing ceiling above it, to which I tried to fix it by putting in another fake ceiling above the already existing fake ceiling. This causes 1 of 2 things to happen.
1. The first fake ceiling ends up being destroyed.
or
2. The editor completely crashes.
Anyone know why this is happening, and if there is a way to fix it? At the moment I just have the start of my tunnel without a fake ceiling so that the real ceiling above it doesn't break and cause a black spot in my map.
*Edited in hopes to make more sense xD, was in a public space listening to people argue the first time around.
Code: Select all
defineObject{
name = "dungeon_ceiling_overlap",
baseObject = "dungeon_ceiling",
replacesCeiling = false,
}
Steven Seagal of gaming industry
Re: Ceiling deleteing itself
See, what seems to be a harsh initial reply, has got the reworked question two helpful responses.Jackard wrote:The same problem I ran into, Nutjob, sheesh. You even replied!
Re: Ceiling deleteing itself
What do I need to watch/read to use this?antti wrote:Code: Select all
defineObject{ name = "dungeon_ceiling_overlap", baseObject = "dungeon_ceiling", replacesCeiling = false, }
Re: Ceiling deleteing itself
You can add this definition to your objects.lua (for example). You can find the file in your mod's "mod_assets\scripts\" folder.Jackard wrote:What do I need to watch/read to use this?antti wrote:Code: Select all
defineObject{ name = "dungeon_ceiling_overlap", baseObject = "dungeon_ceiling", replacesCeiling = false, }
Steven Seagal of gaming industry
-
- Posts: 146
- Joined: Wed Jun 11, 2014 1:31 am
Re: Ceiling deleteing itself
Thanks for the feedback on my question guys, for the code below if I wanted to switch it from a Dungeon Ceiling to a Castle's Ceiling would I just need to change the base Object to a Castle Ceiling or is it called something other than castle_ceiling?
Original
defineObject{
name = "dungeon_ceiling_overlap",
baseObject = "dungeon_ceiling",
replacesCeiling = false,
}
Replacement
defineObject{
name = "castle_ceiling_overlap",
baseObject = "castle_ceiling",
replacesCeiling = false,
}
Original
defineObject{
name = "dungeon_ceiling_overlap",
baseObject = "dungeon_ceiling",
replacesCeiling = false,
}
Replacement
defineObject{
name = "castle_ceiling_overlap",
baseObject = "castle_ceiling",
replacesCeiling = false,
}
Re: Ceiling deleteing itself
Thanks very much, works great!antti wrote:You can add this definition to your objects.lua (for example). You can find the file in your mod's "mod_assets\scripts\" folder.
Re: Ceiling deleteing itself
Oh my god I have discovered something amazingantti wrote:This happens because the ceiling objects are defined to automatically replace other ceilings (just like an alcove object will replace the wall object). The original assets have simply not been made for cases like these so you probably can work around the issue by defining your own ceilings for these special cases. Here's an untested object definition that you could try out:
Code: Select all
defineObject{ name = "dungeon_ceiling_overlap", baseObject = "dungeon_ceiling", replacesCeiling = false, }
Code: Select all
defineObject{
name = "remove_ceiling",
baseObject = "invisible_platform",
replacesCeiling = true,
}
Jackard wrote: