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

Embed

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

Credits

Creator
Maisth
Maisth Offline
Member Joined 4mo
Scripter

Submitter

Maisth avatar
Maisth Going Postal
Member Joined 4mo

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
380
Date Added
3mo

Scores

  • Not yet rated
Sign up to access this!

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel