Raising/lowering a structure - building raising from the flo
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Raising/lowering a structure - building raising from the flo
Would it be possible to have a structure with walls and stairs raise/lower as a whole?
-
- Posts: 1556
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Raising/lowering a structure - building raising from the
Yes, completely possible. Maybe if you tell us more, we could help you better.
Re: Raising/lowering a structure - building raising from the
Well, I wonder if it would be possible to build a structure and have it come from the ground. Like an island coming out the water.
-
- Posts: 1556
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Raising/lowering a structure - building raising from the
Yes, it is possible. With the help of ACS.
-
-
- Posts: 26539
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: Raising/lowering a structure - building raising from the
As ramon.dexter says, it is possible to do what you want.
The thing is, without getting details of exactly the kind of structure you want to create and raise/lower, where is is before it raises, whether the structure can be walked over before the raising, how complicated the structure is and many, many more details, it's impossible to give you any more help than "yes you can do it and it will involve using ACS".
If you need more than that, you are going to have to help us to help you. Ideally, if you could provide a map with the structure that is going to be raised, then people could see exactly what you want to move.
The thing is, without getting details of exactly the kind of structure you want to create and raise/lower, where is is before it raises, whether the structure can be walked over before the raising, how complicated the structure is and many, many more details, it's impossible to give you any more help than "yes you can do it and it will involve using ACS".
If you need more than that, you are going to have to help us to help you. Ideally, if you could provide a map with the structure that is going to be raised, then people could see exactly what you want to move.
-
- Posts: 41
- Joined: Sat Mar 19, 2022 11:59 am
- Graphics Processor: Intel (Modern GZDoom)
Re: Raising/lowering a structure - building raising from the
This is still an idea.
A sector 512 x 512 with a one floor building about1/2 the size, with a 3d floor roof, and a couple of monster closets in it.
A sector 512 x 512 with a one floor building about1/2 the size, with a 3d floor roof, and a couple of monster closets in it.
-
-
- Posts: 26539
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: Raising/lowering a structure - building raising from the
Unfortunately, what you want to do simply can't be do...
OWAIT! Is this an example I see? Just load it in Doom2 and enjoy.
It's just a simple little map that I whipped up as a proof of concept. Obviously with more time, a lot more could be done. The building could be more complicated, the raising effect could have some Hexen-like debris thrown around as the building comes up, you could add sounds, explosions or whatever, but it works.
I've commented the ACS script in the map wad and I hope that it's clear enough.
The basic principle and process are reasonably simple:
It's worth noting that a building like this can't really have normal doors because doors can't have anything above them. That's why the door to my building lowers into the floor instead. With a bit of trickery, you could make a 3D floor door and even a sliding/rotating polyobject door using polyobject explicit lines. In most cases though, I reckon that a door like I have in the example will work well enough.
OWAIT! Is this an example I see? Just load it in Doom2 and enjoy.
It's just a simple little map that I whipped up as a proof of concept. Obviously with more time, a lot more could be done. The building could be more complicated, the raising effect could have some Hexen-like debris thrown around as the building comes up, you could add sounds, explosions or whatever, but it works.
I've commented the ACS script in the map wad and I hope that it's clear enough.
The basic principle and process are reasonably simple:
- Build your building normally at ground height - including any 3D floors etc. (and remember that you will have to put a 3D floor roof on it)
- Select the entire building and lower the floor heights so that they will be at or below ground level (in Ultimate Doom Builder, use minus minus and the height that you want to lower everything by (e.g. --168)
- do the same for the floor and the ceilings for the 3D floor control sectors.
- Write a script that does the opposite to what you just did - i.e. raise the floors of the building and raise the floors and ceilings of the 3D control sectors.
It's worth noting that a building like this can't really have normal doors because doors can't have anything above them. That's why the door to my building lowers into the floor instead. With a bit of trickery, you could make a 3D floor door and even a sliding/rotating polyobject door using polyobject explicit lines. In most cases though, I reckon that a door like I have in the example will work well enough.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 41
- Joined: Sat Mar 19, 2022 11:59 am
- Graphics Processor: Intel (Modern GZDoom)
Re: Raising/lowering a structure - building raising from the
Thanks a lot. This will keep me occupied for a while. XD