Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
kalinus

Timed event monster death by crusher.

Recommended Posts

Hey I really need this for a multiplayer map. I have a custom monster with health of 9000 under a crusher his monster death displays a message but only if I see him die which is undesired. I also want to link his death to a door opening.

Basicly his death Says "BFG room now open!" And the doors open. Since a crusher does 60 points of damage in around 2seconds I figured a monster with 9000hp would take 5 minutes to kill.

Edit: Check this post I never got it to work http://www.doomworld.com/vb/showthread.php?postid=1207212#post1207212

Share this post


Link to post

Can't you rig a script to play when the monster dies? Come to think of it, you could probably just have a script that waits for 5 minutes then activates. There's better people to talk to than me when it comes to this sort of stuff, but hopefully that should get you started.

Share this post


Link to post

The problem isn't that I can't rig a death script but it will not work if the monster hasn't been awakened. Thus the crusher does nothing. Unless I no clip first and awaken him. I am using zandronum doom in doom format if that matters.

Share this post


Link to post

Thanks for all the replys I have much to learn.

plums said:

Awaken him by damaging him with exploding barrels beneath a crusher, or something? Or make use of http://zdoom.org/wiki/Thing_Hate somehow?


Thats a good idea thanks. Edit: It didn't work :(

Wagi said:

Is there some good reason you can't just make a timed script?


I tried finding one and I am just learning scripting btw. If you could help or paste a link?

Share this post


Link to post

I had a minute so I made you a quick demo. I assume you're making a zdoom map. (or skulltag/zandronum/etc.)

http://www.mediafire.com/?oedjoeskkts2yeh

The script is in the wad, named SCRIPTS, but I wrote some of the comments wrong so here it is again. Also you should probably use printbold instead of print for displaying messages:

#include "zcommon.acs"

script 1 OPEN           // open makes the script start when the map starts
{
    // delay for 2 seconds, * 35 tics per second
    Delay(2 * 35);

    // print a message. to make sure it goes to everyone,
    // you should use printbold instead of print.
    print(s:"The BFG will be available in 5 seconds");

    // another delay for 5 seconds, * 35 tics per second
    Delay(5 * 35);

    // open door of sector tagged 1 with speed of 8 and no light change
    Door_Open (1, 8, 0) ;

    // let them know what time it is
    print(s:"The BFG door is open!");
}

I highly recommend you look over the ACS page at http://zdoom.org/wiki/ACS including reading through the Tutorial and typing out and running all the examples. It's boring but it really helps a lot more than just skimming through.

Share this post


Link to post
plums said:

I had a minute so I made you a quick demo. I assume you're making a zdoom map. (or skulltag/zandronum/etc.)

http://www.mediafire.com/?oedjoeskkts2yeh

The script is in the wad, named SCRIPTS, but I wrote some of the comments wrong so here it is again. Also you should probably use printbold instead of print for displaying messages:


Many thanks for making me a wad. I tested yours looked at it in slade and copied and pasted it in mine but to no avail I will upload it though its unfinished. I wanna do some more edits to it first though. I wanna write it myself so I will read the acs beginners guide. I will give you credit for the help too. ^_^

Share this post


Link to post

THIS IS PLAYABLE NOT FINISHED!

I gave up on the bfg room. I think the rocket launcher fits better I wanted to mainly use doom II textures and I did except for one modded one in red base. Its for capture the flag in zandronum with only this and the doom II IWAD. This is just a quick release to see if anyone likes it I will also put this on the wads and mods section where it belongs.

Its not a big deal just a copy pasted mirrored map01 with minor edits tell me what you think.

Here it is

http://www.mediafire.com/?twid6bcq7m0fiu4

I am going to make some changes to this

Edit: and skulltag.wad is needed lol

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×