Doom Elevator Script (ACS)

A Config Script for Doom II: Hell on Earth

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Maisth points.
  • Post: Give Maisth your thoughts on this Script.
  • Vote: Help Maisth win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Sound fun?

Sign up

Already a Bananite? Login

Elevator Script

35 lines | 534 bytes | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Script:
#include "zcommon.acs"

//Initialize Floor Variable (Integer)
int floor;

//This is our main script
//Activated via Switch
script 1 (void)
{
if (floor==1)
{
Elevator_LowerToNearest (1, 16);
floor=0;
}
else
{
Elevator_RaiseToNearest (1, 16);
floor=1;
}
}

//This is the script we activate when we're in the lower sector
script 2 (void)
{
Elevator_MoveToFloor (1, 16);
floor=0;
}

//This is the script we activate from the upper sector
script 3 (void)
{
Elevator_MoveToFloor (1, 16);
floor=1;
}
This is a script for Doom which pretty much makes a Sector act like an Elevator (kinda like the ones from Duke3D)

It utilizes Integer

Lenguage is ACS which is similar to Javascript since they both manipulate objects that the player can see.

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Creator
Maisth
Maisth Offline
Member Joined 3mo
Scripter

Submitter

Maisth avatar
Maisth Going Postal
Member Joined 3mo

Maisth
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Attributes

Secondary Lenguage
Javascript
Primary Lenguage
ACS

Stats

Posts
1
Views
210
Date Added
1mo
bcp.crwdcntrl.net tracking pixel