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

Looking for script & console functions to add into T4M

HOT
broken avatar :(
Created 10 years ago
by DidUknowiPwn
0 Members and 1 Guest are viewing this topic.
8,914 views
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
How bout a function to check if a player is sprinting? I know many people have done this but it would be nice to add it to T4M :3 So

IsSprinting()
Checks if the player is sprinting.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
How bout a function to check if a player is sprinting? I know many people have done this but it would be nice to add it to T4M :3 So

IsSprinting()
Checks if the player is sprinting.
actually yea this would be really useful their current speed in one number ( or a seperate function like getCurrentSprintSpeed() or something ) - would be lovely doing this without having to mess around with calculations :)


Im curious to know if you are able to create "trigger_radius_use" also like in black ops 2

I realise we can make our own, but would be another nice addition if possible?
Last Edit: October 13, 2015, 06:33:02 am by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Also @Ray1235 got the Distance2DSquared function right XD surprised you guys didn't attempt it.

I just noticed this part, are yo usure its the same calculation as was used for BO2 tho? Coz i already tried that and the results werent matching up when I was porting a BO2 script

I only needed to fill in the missing function, ended up dropping to just ditancesquared, but it doesnt seem as accurate
Last Edit: October 13, 2015, 09:39:39 am by Harry Bo21
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
×
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
Another script function which i would like to use with some destiny stuff...

Type: Script

ThirdPersonMode()
Function: Makes player go in third person mode. Vice versa when false.
Last Edit: October 14, 2015, 06:44:57 am by Eternal_Fire
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 1 year ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Another script function which i would like to use with some destiny stuff...

Type: Script

ThirdPersonMode()
Function: Makes player go in third person mode. Vice versa when false.

There is a way to set third person in script, but WaW doesnt support it really, since player shoots in only one direction, which is the direction you were looking at before going to third person.
Code Snippet
Plaintext
cg_thirdperson 1
Try setting that DVAR to player, if you still want it
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
×
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
There is a way to set third person in script, but WaW doesnt support it really, since player shoots in only one direction, which is the direction you were looking at before going to third person.
Code Snippet
Plaintext
cg_thirdperson 1
Try setting that DVAR to player, if you still want it

Ah i thought this dvar wouldnt work... For whatever reason, but nah, i just want it so when you activate the weapon, it goes 3rd person and does what gravity spikes does in bo3.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Ah i thought this dvar wouldnt work... For whatever reason, but nah, i just want it so when you activate the weapon, it goes 3rd person and does what gravity spikes does in bo3.
you just gave me an idea for something else...
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
×
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 just gave me an idea for something else...

what :lol:
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 2 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn'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.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I just noticed this part, are yo usure its the same calculation as was used for BO2 tho? Coz i already tried that and the results werent matching up when I was porting a BO2 script

I only needed to fill in the missing function, ended up dropping to just ditancesquared, but it doesnt seem as accurate
It's the GSCr code, so yes it is "real".

Double Post Merge: October 14, 2015, 03:06:31 pm
Ah i thought this dvar wouldnt work... For whatever reason, but nah, i just want it so when you activate the weapon, it goes 3rd person and does what gravity spikes does in bo3.
Code Snippet
Plaintext
self waittill("weapon_fired");
if(self getCurrentWeapon() == "spikes")
 self doSpikes();
Last Edit: October 14, 2015, 03:06:31 pm by DidUknowiPwn
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
×
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
Code Snippet
Plaintext
self waittill("weapon_fired");
if(self getCurrentWeapon() == "spikes")
 self doSpikes();

Nah i was talking about 3rd person view not that, ive already got that :/

Double Post Merge: October 15, 2015, 10:42:29 am
halo style executions

Ah that would make sense, considering that the company that made halo also made destiny.
Last Edit: October 15, 2015, 10:42:29 am by Eternal_Fire
broken avatar :(
×
broken avatar :(
Senpai
Location: us
Date Registered: 28 September 2013
Last active: 12 months ago
Posts
605
Respect
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
arceus's Groups
Box Mappers Elite
Box Mappers Elite
arceus's Contact & Social LinksarceusNT
how about a function to change a grenades time till explosion :P
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 2 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn'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.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
how about a function to change a grenades time till explosion :P
More than likely impossible.

So I spent a bit of time adding a certain feature from BO1/2 into WaW.


Basically prints a list of loaded assets from the game.

Works on all asset types.
Still need to fix the zone name (it'll tell you what FF it's from).
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
×
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
What about a function that makes bullets lock onto the closest zombie?
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 2 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn'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.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
What about a function that makes bullets lock onto the closest zombie?
That can be done via Gsc

 
Loading ...