Members Online»
0 Active | 74 Guests
Online:
|
LATEST FORUM THREADS»
by supersword
Posts: 2 / 101 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 486 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2557 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3076 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 984 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
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»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware