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

Gravity Change

HOT
broken avatar :(
Created 11 years ago
by GerardS0406
0 Members and 1 Guest are viewing this topic.
7,970 views
broken avatar :(
×
broken avatar :(
Location: usMissouri
Date Registered: 6 August 2013
Last active: 10 months ago
Posts
513
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
My Contact & Social Links
More
Signature
Projects:
Unnamed Project: 5%
Mutliple Downloadable Items for Mappers: (Released after map releases)
×
GerardS0406's Groups
GerardS0406's Contact & Social LinksGerardS0406GerardS0406Gerard0406MrGerard0406
How to make gravity change in a certain part of a map.
broken avatar :(
×
broken avatar :(
JbirdHaX
Location: se
Date Registered: 12 March 2012
Last active: 3 years ago
Posts
1,043
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
(_̅(_̅м̅a̅я̅i̅j̅u̅a̅n̅a̅_̅0 ด้้้้้็็็็็้้้้้็็็็็้
Signature
▒█▀▄▀█ ░█▀▀█ ▒█▀▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀█  ▒█▀▀▀ ▒█░░ ▀█▀ ▀▀█▀▀ ▒█▀▀▀
▒█▒█▒█ ▒█▄▄█ ▒█▄▄█ ▒█▄▄█ ▒█▀▀▀ ▒█▄▄▀  ▒█▀▀▀ ▒█░░ ▒█░ ░▒█░░ ▒█▀▀▀
▒█░░▒█ ▒█░▒█ ▒█░░░ ▒█░░░ ▒█▄▄▄ ▒█░▒█  ▒█▄▄▄ ▒█▄▄ ▄█▄ ░▒█░░ ▒█▄▄▄
×
RadimaX's Groups
Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
you can only change gravity for Everybody or Nobody in cod WaW :P thats why the teleporter in "the bedroom" needs every person to be on it to get into the "space room" with perks otherwise 1 would go there and trigger the gravity command and 3 other people would suddenly go flying around the regular sections of the map lol
broken avatar :(
×
broken avatar :(
Location: usMissouri
Date Registered: 6 August 2013
Last active: 10 months ago
Posts
513
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
My Contact & Social Links
More
×
GerardS0406's Groups
GerardS0406's Contact & Social LinksGerardS0406GerardS0406Gerard0406MrGerard0406
you can only change gravity for Everybody or Nobody in cod WaW :P thats why the teleporter in "the bedroom" needs every person to be on it to get into the "space room" with perks otherwise 1 would go there and trigger the gravity command and 3 other people would suddenly go flying around the regular sections of the map lol
makes sense and that is what I wanted to do just don't know the way of doing that, I have a space ship type thing that when triggered everyone would be sent to the moon.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 1 January 2014
Last active: 5 years ago
Posts
397
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
×
vinnyz500's Groups
vinnyz500's Contact & Social LinksXxMrPotatoxXpsn_hackedlobbies4uvinnyz500
you can only change gravity for Everybody or Nobody in cod WaW :P thats why the teleporter in "the bedroom" needs every person to be on it to get into the "space room" with perks otherwise 1 would go there and trigger the gravity command and 3 other people would suddenly go flying around the regular sections of the map lol
But on leviathan there is low gravity when ur in the water but players are in different areas, i think that is what he is refering to. Some script like that
Last Edit: July 30, 2015, 07:30:46 am by vinnyz500
broken avatar :(
×
broken avatar :(
Location: au
Date Registered: 23 April 2015
Last active: 5 years ago
Posts
165
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
Signature
Money isn't everything but everything has a price
×
Eternal_Fire's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Eternal_Fire's Contact & Social Links
you can only change gravity for Everybody or Nobody in cod WaW :P thats why the teleporter in "the bedroom" needs every person to be on it to get into the "space room" with perks otherwise 1 would go there and trigger the gravity command and 3 other people would suddenly go flying around the regular sections of the map lol

Well if you want gravity changing to be simple then yeah, you are restricted to everyone having it or no one having it, but both project viking and leviathan had gravity that only affected certain players. Project viking with afterlife and leviathan with going out into the water and going inside.

EDIT: Actually you probably know this don't you xD considering you helped make leviathan, sorry, bad on my end.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Could you not, check for a player jumping, then use setVelocity when they are in the area you want to have low gravity.

Not too sure, but thought it may work  :poker:
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
Could you not, check for a player jumping, then use setVelocity when they are in the area you want to have low gravity.

Not too sure, but thought it may work  :poker:

Shh..., everyone tries to keep that a secret, lol. With some finesse it will work. By finesse I'm talking a while loop and some vector math.

Some of these functions may help if that is what you want to do:

Vector related
Player velocity Related
Last Edit: July 30, 2015, 04:30:19 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: usMissouri
Date Registered: 6 August 2013
Last active: 10 months ago
Posts
513
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
My Contact & Social Links
More
×
GerardS0406's Groups
GerardS0406's Contact & Social LinksGerardS0406GerardS0406Gerard0406MrGerard0406
couldn't you do
Code Snippet
Plaintext
setDvar(jump_height, <value>)
setDvar(g_gravity, <value>)
and change it back when the players come back?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
couldn't you do
Code Snippet
Plaintext
setDvar(jump_height, <value>)
setDvar(g_gravity, <value>)
and change it back when the players come back?

Well you said setDvar, not setclientDvar. Wouldn't a dvar affect everyone?
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
couldn't you do
Code Snippet
Plaintext
setDvar(jump_height, <value>)
setDvar(g_gravity, <value>)
and change it back when the players come back?

Yes you could, but it Always affects all-players at the same time. You cant have player-1 have low-gravity and player-2 have normal gravity.


The way mc mentioned will allow you to do it for each player seperate, but it's more just high-jumping then low-gravity obv..


EDIT:

Well you said setDvar, not setclientDvar. Wouldn't a dvar affect everyone?

g_gravity is not a clientdvar, so using setclientdvar will not work ( or at least have the same outcome as setdvar )
Last Edit: July 30, 2015, 05:19:00 pm by BluntStuffy
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
but it's more just high-jumping then low-gravity obv..


agreed on this one...



g_gravity is not a clientdvar, so using setclientdvar will not work ( or at least have the same outcome as setdvar )

That was my point I was going to walk them through...

Sorry for any confusion on that... I was trying baby steps since radi kind of said that.
Last Edit: July 30, 2015, 05:30:12 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: usMissouri
Date Registered: 6 August 2013
Last active: 10 months ago
Posts
513
Respect
Forum Rank
Zombie Enslaver
Primary Group
Member
My Contact & Social Links
More
×
GerardS0406's Groups
GerardS0406's Contact & Social LinksGerardS0406GerardS0406Gerard0406MrGerard0406
okay thanks for the help.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 2 years ago
Posts
1,186
Respect
1,332Add +1
Forum Rank
Zombie Colossus
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntStuffyBluntstuffy@BluntZombieStuffyZombie
That was my point I was going to walk them through...

Sorry for any confusion on that... I was trying baby steps since radi kind of said that.

 :D my bad, i missed the point there..
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods 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
:D my bad, i missed the point there..

Lol, no my bad. You prob were not alone, lol. Why can't every one see my thoughts?  :D
broken avatar :(
×
broken avatar :(
JbirdHaX
Location: se
Date Registered: 12 March 2012
Last active: 3 years ago
Posts
1,043
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
(_̅(_̅м̅a̅я̅i̅j̅u̅a̅n̅a̅_̅0 ด้้้้้็็็็็้้้้้็็็็็้
×
RadimaX's Groups
Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
as i said: you can change gravity for EVERYBODY or NOBODY in cod WaW
topic is called GRAVITY CHANGE, some people fail to see that...
Last Edit: August 01, 2015, 03:22:24 pm by RadimaX

 
Loading ...