Editing - Actor hits top of swimmable 3D floor?

Moderator: Graf Zahl

Locked
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

Editing - Actor hits top of swimmable 3D floor?

Post by MartinHowe »

I have a pool of liquid currently using BOOM style fake floors so that the player and other actors can fall into or hide in the pool. I need to run a script when an actor hits the liquid surface. With a fake floor, it's simple - use an ACTOR HITS FAKE FLOOR thing (9989).

Now, when I convert the map to use true 3D swimmable floors (type 2) the entire pool looks much better; the problem is that there's no event trigger thing to start the script; i.e., there is no such "thing" as ACTOR HITS TOP OF SWIMMABLE 3D FLOOR.

As it happens, I have a hack for it in this particular circumstance; however, is there a "proper" way to do it, so that it will work in all cases? If not, will there ever be? (For example an ACTOR IN SECTOR CROSSES THROUGH Z-HEIGHT OF THING thing).
smg m7
Posts: 81
Joined: Mon Sep 26, 2005 17:48
Location: Here, I hope.
Contact:

Post by smg m7 »

Wouldn't "actor hits ceiling" or "eyes above sector," or something of that nature work?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Editing - Actor hits top of swimmable 3D floor?

Post by Graf Zahl »

MartinHowe wrote: (For example an ACTOR IN SECTOR CROSSES THROUGH Z-HEIGHT OF THING thing).

Actually, that's an interesting idea. I found the sector action stuff quite limiting from time to time. I'll see that I can add that for the next version.
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

Re: Editing - Actor hits top of swimmable 3D floor?

Post by MartinHowe »

Graf Zahl wrote:
MartinHowe wrote: (For example an ACTOR IN SECTOR CROSSES THROUGH Z-HEIGHT OF THING thing).
Actually, that's an interesting idea. I found the sector action stuff quite limiting from time to time. I'll see that I can add that for the next version.
8) :love:
User avatar
chopkinsca
Posts: 183
Joined: Thu Dec 29, 2005 8:09

Post by chopkinsca »

I apologize for bumping this, but I'm wondering what has been made of this? Currently a problem I have would easily be solved if the player (edit: actor) enters/exits a sector things transfered to 3d floors. If nothing can be done, I'll work something out, just thought I'd ask without making another topic when this one asked the same thing (except 2 months ago).
User avatar
Phobus
Posts: 227
Joined: Sat Sep 03, 2005 11:48
Location: Orpington, Kent, England
Contact:

Post by Phobus »

Wouldn't putting the enters/leaves sector in the control sector be enough?
User avatar
chopkinsca
Posts: 183
Joined: Thu Dec 29, 2005 8:09

Post by chopkinsca »

I tried it before I bumped the topic, just to be sure and it didn't work. It worked when I clipped into the control sector though, so I knew I set it up right.
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Re: Editing - Actor hits top of swimmable 3D floor?

Post by Cutmanmike »

MartinHowe wrote: (For example an ACTOR IN SECTOR CROSSES THROUGH Z-HEIGHT OF THING thing).
That would make my platform maps alot easier (for when you fall at least).
User avatar
chopkinsca
Posts: 183
Joined: Thu Dec 29, 2005 8:09

Post by chopkinsca »

I realized that if I did what I needed to do this way, I would run into other problems, so I don't need this as much as I used to. It would be nice to be able to give splashes to swimmable 3d floors though.
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

Post by MartinHowe »

chopkinsca wrote:It would be nice to be able to give splashes to swimmable 3d floors though.
Exactly. The actor in my case is a drop of blood into a pool of blood, one falls about every second or so. There are monsters hiding in the pool of course :)
User avatar
Cutmanmike
Posts: 482
Joined: Sat Sep 03, 2005 23:34

Post by Cutmanmike »

I believe this REALLY needs to be added as a feature suggestion.
User avatar
ellmo
DRD Team Admin (Inactive)
Posts: 237
Joined: Thu Jun 30, 2005 13:30
Location: Poland, Poznan

Post by ellmo »

But it can be done with a script that contionusly gets the player's Z position...
...and a script that does something when Z hits the requested value or range of values.

I have two maps that use this.
Locked

Return to “Closed Feature Suggestions”