[MOD] Door on floor placement
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [WIP] Door on floor placement : Beta
Door on floor placement: http://grimrock.nexusmods.com/mods/120
Re: [WIP] Door on floor placement : Beta
Don't know if this is the issue or not but the code
Destroys all entities in that tile (except doors), which might include projectiles or others I don't know of. (Not sure of this, just guessing).
I would also do the comparison on name instead of id, so that it would keep working after a rename.
Code: Select all
for i in entitiesAt(door_level,door_x,door_y) do
entity_destroy = findEntity(i.id)
if entity_destroy.id ~= "blockage_door_"..door_number then
entity_destroy:destroy()
end
end
I would also do the comparison on name instead of id, so that it would keep working after a rename.
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [WIP] Door on floor placement : Beta
Yes, I think the same way, I corrcted this in the v.0.5.Xanathar wrote:Don't know if this is the issue or not but the code
Destroys all entities in that tile (except doors), which might include projectiles or others I don't know of. (Not sure of this, just guessing).Code: Select all
for i in entitiesAt(door_level,door_x,door_y) do entity_destroy = findEntity(i.id) if entity_destroy.id ~= "blockage_door_"..door_number then entity_destroy:destroy() end end
I would also do the comparison on name instead of id, so that it would keep working after a rename.
I rename all entities and my new code is
Code: Select all
for i in entitiesAt(dm_door_level,dm_door_x,dm_door_y) do
entity_destroy = findEntity(i.id)
if entity_destroy.id ~= "blockage_dm_door_"..door_number and entity_destroy.id:sub(-9,-1) == "dm_door_"..door_number then
entity_destroy:destroy()
end
end
Door on floor placement: http://grimrock.nexusmods.com/mods/120
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [WIP] Door on floor placement : Beta
version 0.6
--add pullchain (modify in class button)
--add all doors (display bug with iron door, all doors and archs are not completely compatible)
--add block door metal
--only wooden door are breakable
--all doors name finish by dm_door
download v.0.6.zip in dropbox
--add pullchain (modify in class button)
--add all doors (display bug with iron door, all doors and archs are not completely compatible)
--add block door metal
--only wooden door are breakable
--all doors name finish by dm_door
download v.0.6.zip in dropbox
Door on floor placement: http://grimrock.nexusmods.com/mods/120
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [MOD] Door on floor placement
version 1.0
--modify prison arch for all door display ok
--debug iron door
--add all floor and modify ceiling for doors
--add giant spider web breakable and all ivy breakable (ivy is visible on one face only)
download v.1.0.zip in dropbox
download v.1.0.zip in nexusmod
--modify prison arch for all door display ok
--debug iron door
--add all floor and modify ceiling for doors
--add giant spider web breakable and all ivy breakable (ivy is visible on one face only)
download v.1.0.zip in dropbox
download v.1.0.zip in nexusmod
Door on floor placement: http://grimrock.nexusmods.com/mods/120
Re: [MOD] Door on floor placement
The web looks great!
The ivy looks good too, but its maybe a little too sparse. I noticed in the main game that they often put both ivy 1 and 2 together to be more dense - any way to do that in this situation?
The ivy looks good too, but its maybe a little too sparse. I noticed in the main game that they often put both ivy 1 and 2 together to be more dense - any way to do that in this situation?
Finished Dungeons - complete mods to play
Re: [MOD] Door on floor placement
Wow the web! thanks that's awesome !
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [MOD] Door on floor placement
You can put the two ivy block with less health, you will feel cut it gradually.Komag wrote:The web looks great!
The ivy looks good too, but its maybe a little too sparse. I noticed in the main game that they often put both ivy 1 and 2 together to be more dense - any way to do that in this situation?
The web is in the web set, I have just isolate it.
Door on floor placement: http://grimrock.nexusmods.com/mods/120
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [MOD] Door on floor placement
version 1.1
--modify giant spider web
--modify and debug all script
Script initiate and script toggle id must be contain the door id at the end.
Easy to adapt the script for all door, at the beginning script initiate indicate the door id and choose the button type and the blockage type, and at the beginning script toggle indicate the door id.
download v.1.1.zip in dropbox
download v.1.1.zip in nexusmod
--modify giant spider web
--modify and debug all script
Script initiate and script toggle id must be contain the door id at the end.
Easy to adapt the script for all door, at the beginning script initiate indicate the door id and choose the button type and the blockage type, and at the beginning script toggle indicate the door id.
download v.1.1.zip in dropbox
download v.1.1.zip in nexusmod
Door on floor placement: http://grimrock.nexusmods.com/mods/120
- montagneyaya
- Posts: 103
- Joined: Tue May 01, 2012 11:08 pm
Re: [MOD] Door on floor placement
version 1.2
--add door with horizontal open (no portcullis)
download v.1.2.zip in dropbox
download v.1.2.zip in nexusmod
--add door with horizontal open (no portcullis)
download v.1.2.zip in dropbox
download v.1.2.zip in nexusmod
Door on floor placement: http://grimrock.nexusmods.com/mods/120