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

Making only one area have lower gravity?

broken avatar :(
Created 8 years ago
by Mineturtle
0 Members and 1 Guest are viewing this topic.
3,365 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 December 2014
Last active: 5 years ago
Posts
9
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Mineturtle's Groups
Mineturtle's Contact & Social Links
There is a spot in my map where I need to have low gravity, since the game limits how long I can wall run for. I found a post here https://ugx-mods.com/forum/index.php/topic,7767.15.html , but the code does not work anymore. :(
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 19 December 2015
Last active: 2 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Noobforlunch's Groups
Noobforlunch's Contact & Social Links
What do you mean the code does not work anymore? What is the issue with the code exactly?
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 4 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
Donate to me if you enjoy my work. https://www.paypal.me/thezombiekilla6
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social LinksMrZ0mbiesFanaticdust103194MrZ0mbiesFanatic
That tutorial is for World at War, not Black Ops 3. You would have to change a lot of the code functions since many of them is not available(or has different names) in black ops 3.

There is a gravity KVP already available in Radiant on the worldspawn, but I don't know how to make it for only 1 area, or if it even works.
Marked as best answer by Mineturtle 8 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I haven't tried yet, but there is a function for this in bo3:

In the docs you will see it like this:
Code Snippet
Plaintext
void <player> SetPlayerGravity(<gravity>)

[MANDATORY] <gravity> The gravity to set
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Sets the gravity override value for the player.
EXAMPLE: player SetPlayerGravity( 600 )


It means to call this function on the player you want to change the gravity on and returns nothing. It also states that it is server (gsc).

There are several functions related to it. I've also had some difficulty realizing the grand differences between waw and bo3, as it is hard to unlearn the limitations, but a lot of things can be done now, and are done completely differently. Check out the functions, and maybe use an autocomplete tool when script to see the available functions, then research them to see if they are what you want, then try them and see if they worked!
Last Edit: October 03, 2016, 02:43:22 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 December 2014
Last active: 5 years ago
Posts
9
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Mineturtle's Groups
Mineturtle's Contact & Social Links
Thanks mate, this is really appreciated!

 
Loading ...