UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Elevator Scripts Needed

broken avatar :(
Created 7 years ago
by agog27
0 Members and 1 Guest are viewing this topic.
2,896 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 17 March 2017
Last active: 7 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
agog27's Groups
agog27's Contact & Social Links
I am making a map which features elevators. They are essential to the gameplay and will be part of what makes the map unique.

Basically, I need two types of elevators scripted:

Type 1 - Intro elevator:
When the game loads and the black screen fades away, players notice they have been spawned in an elevator car traveling down... Similar to how players started on the lunar lander in Ascension (from Black Ops 1). When the elevator reaches the floor, it cannot be ridden again until the power is turned on, at which point it becomes a type 2 elevator.

Type 2 - Every other elevator:
Standard elevator, containing inner and outer doors, where players can call the elevator to their floor and ride it up or down.

I am open to learning how to script these, because after all, if you teach a man to fish, he eats for life. However, I have no idea where to start or how to code it... Some advice, guidance, and suggestions would be appreciated! I AM familiar with Java and C++, so it's not completely foreign to me.

Or perhaps I can sway one of you generous scripters out there to make a decent, working elevator script. I've spent a long time looking at other elevator scripts (Zombie Kid's, Woo's, etc), but none seem to work correctly. Of course, I know it takes a lot of time and effort to make a script, but doing so would make me (and probably other mappers) jump for joy!

- agog27 (aka Avidus)

broken avatar :(
×
broken avatar :(
Location: caCanada, Eh
Date Registered: 24 November 2016
Last active: 5 years ago
Posts
85
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
×
MegaMech43's Groups
MegaMech43's Contact & Social Linksmegamechmegamech.net
Code it yourself and ask for help when you get stuck. There's different techniques to building elevators and probably pathing issues too.
You'll need getent function maybe teleport. Maybe moveto or edit mesh.origin
And buttons to activate it.
Search through the code from the shared folder to find how the developers do things.
If you know c++ you'll catch onto gsc easily. If you're a noob you might struggle a bit. But should catch on eventually if you understand the basics

GSC is based on c++
Last Edit: March 29, 2017, 04:23:06 pm by MegaMech43
broken avatar :(
×
broken avatar :(
Location: at
Date Registered: 26 November 2016
Last active: 6 years ago
Posts
45
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Signature
12 year old music critic, quadrasexual Minecrafter, Linkin Park fan, Hentai enthusiast, intelligent atheist and vegan.
×
Cxwh's Groups
Cxwh's Contact & Social LinksCxwhModsGodAspire
Code it yourself and ask for help when you get stuck. There's different techniques to building elevators and probably pathing issues too.
You'll need getent function maybe teleport. Maybe moveto or edit mesh.origin
And buttons to activate it.
Search through the code from the shared folder to find how the developers do things.
If you know c++ you'll catch onto gsc easily. If you're a noob you might struggle a bit. But should catch on eventually if you understand the basics

GSC is based on c++
gsc is based on basic c not c++
broken avatar :(
×
broken avatar :(
Location: caCanada, Eh
Date Registered: 24 November 2016
Last active: 5 years ago
Posts
85
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
×
MegaMech43's Groups
MegaMech43's Contact & Social Linksmegamechmegamech.net
Black ops 3 was made using C++. GSC is a derivative of the language that black ops 3 was created with. GSC is a derivative of C++. C and C++ are such a similar language it's not worth arguing about. Game developers use many different languages when they develop their games and I wouldn't be surprised if a slew of C and C++ were used. C++ is the base for black ops 3 though.
Last Edit: March 30, 2017, 01:58:16 am by MegaMech43
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 5 months ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Please post answers regarding the question of agog27.
He probably doesn't care if GSC is C++ or C  :please:

Lukkie1998
broken avatar :(
×
broken avatar :(
Location: caCanada, Eh
Date Registered: 24 November 2016
Last active: 5 years ago
Posts
85
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
×
MegaMech43's Groups
MegaMech43's Contact & Social Linksmegamechmegamech.net
I want to also mention that I'm all for sharing code so that others can implement features easier into their maps. If it helps you get started I'll give you code that I use for my doors and you can edit it to do what you want. I have a chunk of floor that goes down when you buy it. That could be edited for use as an elevator. I'm not going to make the code for you though. If I had elevator code I'd share it. If someone else wants to make it for you though, great!

 
Loading ...