Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/21/2010 12:03 EDT

Time remaining:
We Dontated to PixelEquity
"A total overhaul mod changes or redefines the gameplay style of the original game, while keeping it in the original game's universe or plot." 3
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
CoD2 MP Mapping.. Posts: (6) Views: (50) by PanZerReBorN
CoD4 Map + Mod R.. Posts: (30) Views: (205) by sam_fisher3000
CoD4 MP Mapping.. Posts: (24) Views: (468) by DeekCiti
CoD4 Scripting.. Posts: (3) Views: (16) by Samuel033
General.. Posts: (1) Views: (16) by Morphisnb
CoD4 SP Mapping.. Posts: (8) Views: (106) by voidsource
CoD2 MP Mapping.. Posts: (8) Views: (54) by Infern4ll
CoDUO Mapping.. Posts: (3) Views: (36) by Fawlty
CoDUO Mapping.. Posts: (4) Views: (30) by morgawr
CoD4 Map + Mod R.. Posts: (2) Views: (46) by Hajas
Back to Home Page
MODSCON 2010 L4D2 Contest
Register/Login to Add a Tutorial
Tutorials
CoD2 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
How to make a easy Elevator
Versions: You must be logged in to view history.
Here i show how to make a  easy elevator

Ok, Hello my name's ArTh4$ and i will show how to make an elevator for new mappers.

 

 -First you make your own elevator , when you have it just make in the 2d view script brush model click on N    targetname / elevator

 

-Then put in the elevator or near it, a trigger can be use touch if u want click on F and it moves , multiple when u come near it moves , damage when u shot it moves.. what ever

 

-And end click on N and put in the trigger entity  targetname/ trig_elevator

 

 

I give here the script save it as mp_elevator.gsc

 

main()
{
thread elevator();
}

elevator()
{
elevator=getent("elevator","targetname");
trig=getent("trig_elevator","targetname");
while(1)
{
trig waittill ("trigger");
elevator movez (-250,7,1.9,1.9);
elevator waittill ("movedone");
wait(1);
elevator movez (250,7,1.9,5);
elevator waittill ("movedone");
}
}

 

 

If you want it comes down just change the -  down like this:

main()
{
thread elevator();
}

elevator()
{
elevator=getent("elevator","targetname");
trig=getent("trig_elevator","targetname");
while(1)
{
trig waittill ("trigger");
elevator movez (250,7,1.9,1.9);
elevator waittill ("movedone");
wait(1);
elevator movez (-250,7,1.9,5);
elevator waittill ("movedone");
}
}

 

For load it in your mapname.gsc add this line

 

 

mapsmpmp_elevator::main();

 

 Have fun making your own elevator^^  if you have a question or whatever just ask me ^^