View Issue Details

IDProjectCategoryView StatusLast Update
0000455Gameplay + OpenGL[All Projects] Featurepublic2017-03-29 12:25
ReporterRockstarRaccoon 
Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
Status resolvedResolutionfixed 
Summary0000455: Ceiling_MoveCrush and Floor_MoveCrush
DescriptionI'm having an issue with making crushers inside of 3D floor like areas: there's no way to make a ceiling or floor be a crusher while still having it move the way you want.

I'd like an action-special (UDMF, obviously) which allows me to make the ceiling or floor move as a crusher from any height.

I'm especially wondering if such code would be able to make a 3D floor a crusher, because you would move the floor down and crush with that. I don't need that though.
Steps To ReproduceThe engine has nothing for this, as far as I can tell.
TagsNo tags attached.

Relationships

Activities

Graf Zahl

Graf Zahl

2017-03-19 06:09

administrator   ~0001057

Move to where? Be a bit more specific about what you need.
RockstarRaccoon

RockstarRaccoon

2017-03-20 04:52

reporter   ~0001064

Last edited: 2017-03-20 04:53

View 3 revisions

There are functions (Floor_MoveToValue and Ceiling_MoveToValue) which let you move the ceiling and floor to whatever points you want. I'd like a version which does the same thing, but implements the crushing code.

For example
Floor_MoveToValueAndCrush (tag, speed, height, neg)
would be the same as
Floor_MoveToValue (tag, speed, height, neg)
except it would crush anything that got in the way.

This would give greater control over crusher operation.

Graf Zahl

Graf Zahl

2017-03-28 18:19

administrator   ~0001154

Floor_MoveToValueAndCrush (tag, speed, height, crush, crushmode)
Ceiling_MoveToValueAndCrush (tag, speed, height, crush, crushmode)

added
Blue Shadow

Blue Shadow

2017-03-29 03:35

reporter   ~0001160

Ceiling_MoveToValueAndCrush is given special number 290 instead of 280 here:
https://github.com/coelckers/gzdoom/blob/master/src/actionspecials.h#L268
RockstarRaccoon

RockstarRaccoon

2017-03-29 05:41

reporter   ~0001162

Good catch!

Issue History

Date Modified Username Field Change
2017-03-19 05:16 RockstarRaccoon New Issue
2017-03-19 06:09 Graf Zahl Status new => feedback
2017-03-19 06:09 Graf Zahl Note Added: 0001057
2017-03-20 04:52 RockstarRaccoon Note Added: 0001064
2017-03-20 04:52 RockstarRaccoon Status feedback => new
2017-03-20 04:53 RockstarRaccoon Note Edited: 0001064 View Revisions
2017-03-20 04:53 RockstarRaccoon Note Edited: 0001064 View Revisions
2017-03-28 18:19 Graf Zahl Status new => resolved
2017-03-28 18:19 Graf Zahl Resolution open => fixed
2017-03-28 18:19 Graf Zahl Note Added: 0001154
2017-03-29 03:35 Blue Shadow Note Added: 0001160
2017-03-29 03:39 _mental_ Status resolved => needs review
2017-03-29 05:41 RockstarRaccoon Note Added: 0001162
2017-03-29 12:25 Graf Zahl Status needs review => resolved