In this tutorial (I know, it's been a while!), I show you how to make a basic elevator for your Doom map!
Script Below:
#include "zcommon.acs"
//Initialize Floor Variable, duh.
int floor;
//This is our script which is activated
//via a nifty little 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;
}
In questa pagina del sito puoi guardare il video online Doom Builder Tutorials - Elevator della durata di ore minuti seconda in buona qualità , che l'utente ha caricato JaundiceJaun 20 giugno 2012, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,108 volte e gli è piaciuto 53 spettatori. Buona visione!