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

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: how to make a elevator in cod2
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Tuesday, Jul. 22, 2008 06:09 pm
Hi i would like to know hot to make an elevator in cod2, with the "hand" sign, i know thats "script -> use" but i don't have any scripting to go with it.

Sp bascily it has to have 1 basket not 14 with an patanosta and has to move by the "script -> use" button i have seen this on a few cod2 maps but i don't know how its done can someone plase help me.

I have a patanosta but the some of the basket go flying everywere i would just like to know how you make an elevator not patanosta. thanks a lot =)[thumbs_up] even more thanks to the people that help me get it done.[thumbs_up]and a dead one to those who don't.[sniper]
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Tuesday, Jul. 22, 2008 06:28 pm
P.S i forgot to add. If anyone has a map with a elevator on then send me the .iwd WITH the .map please. and for those who still don't know what i'm on about it should be simular to this "http://www.youtube.com/watch?v=afDjdVORFr8" But it doesn't have to have opening doors.
Be nice though....very nice

edited on Jul. 22, 2008 02:29 pm by ukdjaj
Share |
kalieck
General Member
Since: Aug 9, 2006
Posts: 161
Last: Feb 14, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Tuesday, Jul. 22, 2008 06:41 pm
hey there! [wave]

Here is a code i´ve wrote years ago ... maybe it will work [cool]

Code:
main()
{
maps\mp\_load::main();
thread elevator();
}

elevator()
{
elevator = getent("elevator","targetname");
// thats your elevator; make your brushes for the elevator
// and select them all, right click on 2d view and say
// script-brushmodel. Then press n and give in as key
// "targetname" and as value "elevator"
start = getent("start","targetname");
// thats your trigger; make him trigger-use-touch or
// what you want

while(1)
{
start waittill ("trigger");
elevator moveZ (512,10,1,1);
//512=total-height, 10=total-time, 1=time to start/end
elevator waittill ("movedone");
}
}


for move down just make the same but use instead of 512, -512.

hope that helps!
cya kAlieck
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Thursday, Jul. 24, 2008 03:53 pm
umm...yeah....it dose work. But it only goes up. press the button again up even more. So.... how to i get it to go to top, stop then press it again and go down.
Share |
Nemo06c
General Member
Since: Jul 23, 2006
Posts: 303
Last: Feb 9, 2010
[view latest posts]
Level 5
Category: CoD2 MP Mapping
Posted: Thursday, Jul. 24, 2008 04:14 pm
kalieck writes...
Quote:
...
for move down just make the same but use instead of 512, -512.

hope that helps!
cya kAlieck


You can also check this tutorial Here there's more informations....

edited on Jul. 24, 2008 12:20 pm by Nemo06c
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 MP Mapping
Posted: Thursday, Jul. 24, 2008 05:50 pm
ummm...yeah good advice but for some reason i go down and down and down more everytime i pull the lever.
Share |
kalieck
General Member
Since: Aug 9, 2006
Posts: 161
Last: Feb 14, 2009
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Saturday, Jul. 26, 2008 09:55 am
try this:

make a trigger at the first floor and a trigger at the second floor ...

Code:
main()
{
maps\mp\_load::main();
thread elevator_up();
thread elevator_down();
}

elevator_up()
{
elevator = getent("elevator","targetname");
up = getent("up","targetname");

while(1)
{
up waittill ("trigger");
wait 2;
elevator moveZ (120,5,1,1);
elevator waittill ("movedone");
}
}

elevator_down()
{
elevator = getent("elevator","targetname");
down = getent("down", "targetname");

while(1)
{
down waittill ("trigger");
wait 2;
elevator moveZ (-120,5,1,1);
elevator waittill ("movedone");
}
}
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

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

»