Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 74 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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

 

 

maps\mp\mp_elevator::main();

 

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

 

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»