The Game Modding Community - Since 2001

Doom Elevator Script (ACS)

A Config Script for Doom II

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 Joined 8mo ago
Offline
205 points Ranked 18274th
6 medals 1 legendary 1 rare
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • Submitted 5 Maps Medal icon
  • 6 months a member Medal icon
Scripter

Submitter

Maisth avatar
Maisth Joined 8mo ago
Going Postal
205 points Ranked 18274th
6 medals 1 legendary 1 rare
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • Submitted 5 Maps Medal icon
  • 6 months a member Medal icon

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

Scores

  • Not yet rated
Sign up to access this!

Game

Sign up to access this!

Category

Attributes

Secondary Lenguage
Javascript
Primary Lenguage
ACS

Stats

Posts
1
Views
521
Date Added
6mo

Share

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

SEX! Ok, we got your attention. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Sound fun? Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel