Right, all of you may or may not no about the water resource wad I'm making.
Well it includes monsters made specifically for water (the fish is one I've actually made, go to the announcement thread in Editing to see what it's all about)
I need a way to make it so that there is a script or sector-action item, that will stop any things with the right TID going beyond a certain Z-coordinate. This will stop the fish 'swimming' out of the water and into the air. And following you that way.
This is necassary, trust me!
Moderator: GZDoom Developers
-
- Posts: 5984
- Joined: Thu May 05, 2005 10:56 am
- Location: London
-
-
- Posts: 26817
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
-
- Posts: 5984
- Joined: Thu May 05, 2005 10:56 am
- Location: London
-
- Posts: 11349
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
-
- Posts: 5984
- Joined: Thu May 05, 2005 10:56 am
- Location: London
which would do what?
I want to limit the Z-height atainable for actors with same TID as object, with something like this.
(It's one of those sector_action things)
(TID,Z-height limit.)
or it could be so that it is placed at the Z-height you want it to have, and that stops them going that high.
Something like that, because it would be simple and easy to do for whatever enemies you like, just remember to tag appropriately, and it might take a bit of clever level editing with water at the same height on all (if there is more than one) entry areas, which would be realistic anyway.
I want to limit the Z-height atainable for actors with same TID as object, with something like this.
(It's one of those sector_action things)
(TID,Z-height limit.)
or it could be so that it is placed at the Z-height you want it to have, and that stops them going that high.
Something like that, because it would be simple and easy to do for whatever enemies you like, just remember to tag appropriately, and it might take a bit of clever level editing with water at the same height on all (if there is more than one) entry areas, which would be realistic anyway.
-
- Posts: 3463
- Joined: Sat Jul 19, 2003 8:39 am
-
- Posts: 5984
- Joined: Thu May 05, 2005 10:56 am
- Location: London
ok, if that would be easier, because the deep water goes in the control sector, and the control sector is the one that is coloured and has to have it's floor height as the surface of the water, but it acts as the underwater part, which might make it difficult. But whatever is easier, just as long as it gets done. Of course I'd have to put the flag on any monsters I make in the wad I'm making, but so far that's only one i'd have to change.
-
- Posts: 1113
- Joined: Wed Jul 16, 2003 8:53 am
- Location: Perth, Western Australia
-
- Posts: 5984
- Joined: Thu May 05, 2005 10:56 am
- Location: London
-
- Posts: 513
- Joined: Wed Jul 16, 2003 3:36 am
-
- Posts: 5984
- Joined: Thu May 05, 2005 10:56 am
- Location: London