Call of Duty: Black Ops 3 => Tutorial Desk => Scripting => Topic started by: ZombieKid164 on December 06, 2016, 08:10:04 pm
Title: [Tutorial] How to add a buyable elevator
Post by: ZombieKid164 on December 06, 2016, 08:10:04 pm
(Note: I originally posted this on modme, but I decided to post it here in case any ugx-only users needed it :alone:)
Preview Video:
Hello fellow modders! A lot of people have been asking for an elevator script, and I needed one, so I created one. In this script (which you see in the video) you must turn on the power, then buy the elevator, and it has sliding doors that close while the elevator is moving! All the things you will need are in the download. The instructions are also in the download.
If you find any problems, please comment them and I will try to fix them.
Thanks, -ZombieKid164
Title: Re: [Tutorial] How to add a buyable elevator
Post by: OMGitsMinime on January 08, 2017, 06:33:00 pm
Hey great work been waiting on a script like this for ages! Any chance you can add a call elevator trigger. That way if the elevator is up it can be called back down, or vice versa! Thanks!
Title: Re: [Tutorial] How to add a buyable elevator
Post by: h00dedsn1per on January 25, 2017, 05:07:58 pm
is there anway to modify the script so it is an elevator that starts off at the top?
Title: Re: [Tutorial] How to add a buyable elevator
Post by: wiilliam76 on January 30, 2017, 02:02:31 pm
is there anway to modify the script so it is an elevator that starts off at the top?
Yes, but you would need to move quite a bit of the script around.
Title: Re: [Tutorial] How to add a buyable elevator
Post by: qbm1 on February 03, 2017, 12:18:29 am
That's as close as i got to having the lift go top to bottom :'( Any advancements on this please
Title: Re: [Tutorial] How to add a buyable elevator
Post by: IceGrenade on February 03, 2017, 02:00:35 pm
Dude don't you just need to set some values to negative... then boom it works XD
Title: Re: [Tutorial] How to add a buyable elevator
Post by: qbm1 on February 03, 2017, 03:07:56 pm
I don't think it's that easy tbh mate. Give it a play see if you can figure it out, if you have time :)
Title: Re: [Tutorial] How to add a buyable elevator
Post by: JAVO2332 on February 03, 2017, 03:54:07 pm
in "level.elevate_height" you need to add a - to go down and the trigger_down you have to put it up and the up in the down floor.
//Things you can edit below \/ level.elevator_cost = 500; // Change this to change the cost of the elevator. Leave it undefined to make it free. level.elevate_height = -364; //This is how far the elevator will travel up. level.elevator_transition_time = 5; //How long it will take for the elevator travel. level.elevator_cooldown_time = 30; // Cooldown time of the elevator. //Things you can edit above /\
Title: Re: [Tutorial] How to add a buyable elevator
Post by: qbm1 on February 03, 2017, 10:03:50 pm
Thanks that some what works. Except the elevator still starts at the bottom and goes down under the map but the doors work right now ;)
Title: Re: [Tutorial] How to add a buyable elevator
Post by: ZombieKid164 on February 15, 2017, 09:46:02 pm
What happened when you tried it? (You're going to be a little more specific than "It didn't work." As I said, I can not test at the moment due to computer issues.)
Title: Re: [Tutorial] How to add a buyable elevator
Post by: ect0 on March 16, 2017, 10:48:21 pm
can we please make it able to have multiple? i cba going round copying and making separate files
Title: Re: [Tutorial] How to add a buyable elevator
Post by: ZombieKid164 on May 18, 2017, 09:56:05 pm