i wanted the level minibosses activate special actions like FLOOR_LOWERTOHIGHEST etc... i had the floor tagged as 666, but it still wont lower on miniboss death, i even had
SpecialAction = "<Skeleton>", "Floor_LowerToLowest" in the map info.
in the Decorate i put
BOSS M 0 A_bossdeath
The Wiki says it should look like this.
SpecialAction = "<monstertype>", "<action special>"
also i tried removing brackets on "Skeleton" loading it, as well.. still didnt work.
Alternatively i tried a different approach, i added
BOSS M 0 A_CallSpecial (21, 17, 64)
That also didnt work... any suggestions?
Mapinfo's Action Special help
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 566
- Joined: Mon Oct 09, 2017 8:11 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Mister Rogers Neighborhood, Pennsylvania
-
- Lead GZDoom+Raze Developer
- Posts: 49118
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Mapinfo's Action Special help
First, the brackets need to go.irontusk341 wrote:i wanted the level minibosses activate special actions like FLOOR_LOWERTOHIGHEST etc... i had the floor tagged as 666, but it still wont lower on miniboss death, i even had
SpecialAction = "<Skeleton>", "Floor_LowerToLowest" in the map info.
Second, the naked special won't do anything. You also need to provide the relevant parameters so that it can actually do something. Floor_LowerToLowest needs a tag and a speed value to work. It does NOT pick tag 666 by itself and it does NOT pick a default speed. It finds a tag 0, which normally means to activate the backside of a line, which does not exist by a thing-activated special, and even if it was there, the speed is 0, which wouldn't do any movement at all.
-
- Posts: 566
- Joined: Mon Oct 09, 2017 8:11 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Mister Rogers Neighborhood, Pennsylvania
Re: Mapinfo's Action Special help
So a A_Callspecial (21,17,64) would be referring to what parameters? (21,17,64) Do you know what proper sequence is needed to make A_Callspecial work as intended?Graf Zahl wrote: First, the brackets need to go.
Second, the naked special won't do anything. You also need to provide the relevant parameters so that it can actually do something. Floor_LowerToLowest needs a tag and a speed value to work. It does NOT pick tag 666 by itself and it does NOT pick a default speed. It finds a tag 0, which normally means to activate the backside of a line, which does not exist by a thing-activated special, and even if it was there, the speed is 0, which wouldn't do any movement at all.
*For instance after a unique skeleton dies in a level, the blocking floor by the exit lowers from 128 to 0 revealing the exit switch*
-
- Lead GZDoom+Raze Developer
- Posts: 49118
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Mapinfo's Action Special help
Don't use A_CallSpecial directly. It's really just a backing function for using line specials in DECORATE but for that needs to be exported.
Regarding the action you want to trigger, the precise numbers depend on the map and the effect you want to perform. There is no universal answer here.
Regarding the action you want to trigger, the precise numbers depend on the map and the effect you want to perform. There is no universal answer here.
-
- Posts: 566
- Joined: Mon Oct 09, 2017 8:11 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Mister Rogers Neighborhood, Pennsylvania
Re: Mapinfo's Action Special help
hopefully this will help... I wanted to make a map where killing a custom sprite boss (andy) in E2M8 and her boss death would allow the floor to lower from 128 to 0 revealing the exit portal. i had her tagged as +BOSS, and +BOSSDEATH, and put A_BOSSDEATH in her Death script.Graf Zahl wrote:Don't use A_CallSpecial directly. It's really just a backing function for using line specials in DECORATE but for that needs to be exported.
Regarding the action you want to trigger, the precise numbers depend on the map and the effect you want to perform. There is no universal answer here.
DIAB J 5 A_BOSSDEATH
DIAB K 5 A_FaceTarget
DIAB L 5 A_Scream
DIAB MNOPQ 5
DIAB R 10
The added the tags 666 in the two floor sectors that are set as floor height 128 Ceiling height 128 (the room ceiling height is at 128).
In the map info i have as follows.
noinfighting
FallingDamage
AllowJump
next = "E3M1"
secretnext = "E2M9"
sky1 = "SKY2"
cluster = 2
nointermission
SpecialAction = "Andy", "Floor_LowerToLowest"
music = "MUS_E2M8"
am i missing anything? what should be changed?
-
- Lead GZDoom+Raze Developer
- Posts: 49118
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Mapinfo's Action Special help
Yes, you missed something. Like I said a few posts above, the SpecialAction requires some parameters to work. It does not pick tag 666 by default and it doesn't have any speed by default. So you have to add something likeirontusk341 wrote:
noinfighting
FallingDamage
AllowJump
next = "E3M1"
secretnext = "E2M9"
sky1 = "SKY2"
cluster = 2
nointermission
SpecialAction = "Andy", "Floor_LowerToLowest"
music = "MUS_E2M8"
am i missing anything? what should be changed?
SpecialAction = "Andy", "Floor_LowerToLowest", 666, 150 //(change the 150 to a speed value that suits you.)
-
- Posts: 566
- Joined: Mon Oct 09, 2017 8:11 pm
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Mister Rogers Neighborhood, Pennsylvania
Re: Mapinfo's Action Special help
I will check it out and get back to you. Thanks!Graf Zahl wrote:Yes, you missed something. Like I said a few posts above, the SpecialAction requires some parameters to work. It does not pick tag 666 by default and it doesn't have any speed by default. So you have to add something likeirontusk341 wrote:
noinfighting
FallingDamage
AllowJump
next = "E3M1"
secretnext = "E2M9"
sky1 = "SKY2"
cluster = 2
nointermission
SpecialAction = "Andy", "Floor_LowerToLowest"
music = "MUS_E2M8"
am i missing anything? what should be changed?
SpecialAction = "Andy", "Floor_LowerToLowest", 666, 150 //(change the 150 to a speed value that suits you.)