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 11mo ago
Online
?
644 points Ranked 7574th
8 medals 1 legendary 3 rare
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • Became a Game Pioneer Medal icon
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
Scripter

Submitter

Maisth avatar
Maisth Joined 11mo ago
Loadin the Guns
?
644 points Ranked 7574th
8 medals 1 legendary 3 rare
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • Became a Game Pioneer Medal icon
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon

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

Game

Sign up to access this!

Category

Attributes

Secondary Lenguage
Javascript
Primary Lenguage
ACS

Share

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

Stats

  • 673 Views
  • 1 Posts
  • 10mo Submitted

Scores

  • Not yet rated
Sign up to access this!

Hey, you! 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

bcp.crwdcntrl.net tracking pixel