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

How to open a door when two archviles die?

Recommended Posts

I have a room with two archviles guarding a key. When the player enters the room the door closes behind him, but now i want that the door opens when the two archviles are death.
An interesting plus would be, how to change music with ACS? ;)
To explain, i have LEVELMUS, PREBATTLE and BATTLEMUS.
When the player enters the room PREBATTLE starts, when the Archviles "wake up" BATTLEMUS starts and when both are death the LEVELMUS runs again. If that sounds a bit like Super Metroid, you know where i have this idea from ;)

Share this post


Link to post

Thanks for the link! ^.^
Here is my code, both archviles execute number 1.
Any suggestions for performance?

// Wenn die Archviles tod sind dann Tür öffnen
script 1 (void)
{
	if (ThingCount(T_VILE, 1) == 0)
	{
	  Door_Open(6,30);
	  SetMusic("MUSMAP02",0,0);
	}
}

// Spieler betritt Archvile-raum, Musik ändern
script 2 (void)
{
	SetMusic("PREBATTLE",0,0);
}

// Spieler will sich Schlüssel nehmen, das Spiel beginnt!
script 3 (void)
{
	SetMusic("BATTLEMUS",0,0);
	Door_Open(7,30);
	Door_Close(6,60);
}

Share this post


Link to post
VinceDSS said:

make sure it opens when the player dies too, so that coop players dont get stuck

The map is a singleplayer only mission.
Hmm, how huge should the room be if you have to battle 2 archviles with just a SSG? ;)
(On != UV it will only be one.)

EDIT: Can it be that the email notification is broken again? :-(

Share this post


Link to post

It doesn't matter. But if you don't provide any cover some potential player may want to kill you. Fighting multiple Arch Viles is no fun at all !

Share this post


Link to post
Graf Zahl said:

It doesn't matter. But if you don't provide any cover some potential player may want to kill you. Fighting multiple Arch Viles is no fun at all !

Ok, then i have a question.
If i do something like this, does the walls go up simultanious?
Or does the engine wait betwhen the raises?

script 123 (void)
{
  int a;
  for(a=10;a<17;a++)
    Ceiling_RaiseToNearest (a, 60);
}
And just BTW, i have put an autosave tagged line before the battle, so i wont get that many flames ;)

Share this post


Link to post
Graf Zahl said:

Fighting multiple Arch Viles is no fun at all !

According to you :) Provided the weapons are right and there's enough cover, fighting multiple archies can be very fun.

Share this post


Link to post
DooMBoy said:

According to you :) Provided the weapons are right and there's enough cover, fighting multiple archies can be very fun.

I had made a test with the current room and it is doneable. If anyone wants to test it for himself:
Download bloodmine.zip (~75 kByte)
Either run trough map01 for my testintermission or "map map02" yourself to the map.
Tell me what you think of the overall mapping and the selected music.
(Crono Trigger, Metroid 3 and Might & Magic 4)

Share this post


Link to post
DooMBoy said:

Provided the weapons are right and there's enough cover,



But it's most definitely not fun when it takes place in a room without cover and only a SSG.

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
×