elevator model..

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
ownager
CJ Wannabe
CJ Wannabe
Posts: 8
Joined: June 23rd, 2006, 5:51 pm

elevator model..

Post by ownager » June 26th, 2006, 1:38 pm

whats the moddel name of the elevator switch
or any switch
like the map made by luke:
ultra_gap_training
if its no model just tell me and how to make it

-----------------------------
found out why could not log in...
firefox did not let me log in so using internet explore again.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » June 26th, 2006, 5:13 pm

Must be your firefox settings, delete your cookies/cache

----

I'm not 100% sure but a guess is...
xmodel/switch_objective_incomplete (Handle is up)
xmodel/switch_objective_complete (Handle is down)

If you want to make a working switch, create a trigger use and give it a targetname of trigger (or whatever)
And use "Script_model" (not misc_model). give the script_model a targetname of switch.

Code: Select all

main()
{
precacheModel("xmodel/switch_objective_complete");
precacheModel("xmodel/switch_objective_incomplete");
thread switch();
}

switch()
{
trig = getent("trigger","targetname");
switch = getent("switch","targetname");

while(1)
{
trigger waittill("trigger");
switch setModel ("xmodel/switch_objective_complete");
// Elevator or whatever you want to do with switch being on.

trigger waittill("trigger");
switch setModel ("xmodel/switch_objective_incomplete");
// Script for what you want to happen when switch is off.
}
}
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

bigboobs
CJ Wannabe
CJ Wannabe
Posts: 5
Joined: June 25th, 2006, 11:35 am

Post by bigboobs » June 26th, 2006, 5:21 pm

well i am usless for Mapin i am just pro jumper :P

disciple1990
CJ Newbie
CJ Newbie
Posts: 75
Joined: May 22nd, 2006, 4:58 pm
Location: Brighton
Contact:

Post by disciple1990 » June 26th, 2006, 8:44 pm

I use this mate, tells you how to make a elevator from scratch :wink:

http://www.modsonline.com/Tutorials-read-169.html
-----> Coming Soon <-----

Guest

Post by Guest » June 26th, 2006, 10:03 pm

[quote="

----


If you want to make a working switch, create a trigger use and give it a targetname of trigger (or whatever)
And use "Script_model" (not misc_model). give the script_model a targetname of switch.

}
}
[/code][/quote]

u said make a trigger use and give it a targetname of trigger
and the script_model a targetname of switch
but what script_model?
the
xmodel/switch_objective_complete
xmodel/switch_objective_incomplete
?
or something else?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » June 26th, 2006, 11:23 pm

Up to you.

Probably best to have it set to incomplete.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest