Posts
1,322
Respect
497Add +1
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
i beg for for distance2dsquared( arg, arg ) the same way they did it in bo2
all the different theorems i tried seemed t obe all wrong, im sure youll know better
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Isn't it just
(x1-x2)^2 + (y1-y2)^2 ?
distance doesn't work that way. u cannot just add the two differences, there is some complicated math problem u need to do to find it manually which is why we just prefer an engine func.
but I guess it's worth a try, anyone who wants to test it out:
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
(float)((float)(v1.y - v0.y) * (float)(v1.y - v0.y)) + (float)((float)(v1.x - v0.x) * (float)(v1.x - v0.x))
have fun with that
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Updated with console command support.
Still working on defining all the functionalities for script.
Got some of the important ones done but I need some more time to get clients and such.
Also @Ray1235 got the Distance2DSquared function right XD surprised you guys didn't attempt it.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
can you do client stuff?
like the setClientField?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
client fields can actually be made in WaW's current state.
all you need to be able to do is define the zombie, ent, or player on the client side and give it information.
there is a callback that is called every time a zombie spawns, which you can then make a script that adds the zombie to an overall array and removes the zombie from the array when it dies or is undefined. GetEntArray also works in coop, along with GetPlayers being GetLocalPlayers in csc.
you just need to specify the entity number and type in the client system, and you can then define the entity. i found it most effective to send multiple sets of information with only one client system set using a delimiter, then i made a custom strtok in csc ( since strtok is unknown func in csc ) to split up all the information seperately.
so yeah with a bit of effort, client fields or client flags are very much possible in WaW using the resources provided by default.
Looking for script & console functions to add into T4M
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Im aware, however the question is