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

Model up and down

broken avatar :(
Created 7 years ago
by soul-toktzt
0 Members and 1 Guest are viewing this topic.
1,595 views
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 11 April 2016
Last active: 7 years ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
soul-toktzt's Groups
soul-toktzt's Contact & Social Links
Hey everyone!

Anyone knows if it's possible (and how?) to make an model go up like... 125 distance and go back down after 3 seconds?

Thanks in advance!
Marked as best answer by soul-toktzt 7 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
In radiant you would make it a script_model and give it a targetname kvp

In script you would thread a function from main or something, that would use either movez or moveto functions in it with waits. In the docs you can find these functions and what is needed to make them work.

MoveZ
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveZ(<point>,<time>,[acceleration time],[deceleration time])

[MANDATORY] <point> The z value to move the entity to, as a floating point number
[MANDATORY] <time> The time to move the entity in seconds
[OPTIONAL] [acceleration time] The time spent accelerating in seconds
[OPTIONAL] [deceleration time] The time spent decelerating in seconds
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Move this entity to the given world z value
MoveTo
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveTo(<point>,<time>,[acceleration time],[deceleration time])

[MANDATORY] <point> The point to move the entity to
[MANDATORY] <time> The time to move the entity in seconds
[OPTIONAL] [acceleration time] The time spent accelerating
[OPTIONAL] [deceleration time] The time spent decelerating
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Move this entity to the given point.
EXAMPLE: dummy MoveTo( dest_org, .5, .05, .05 )

use getent, or getentarray if you have more than one, and then thread on each a function to move and wait in a while loop.
Last Edit: April 12, 2017, 12:22:03 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 11 April 2016
Last active: 7 years ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
soul-toktzt's Groups
soul-toktzt's Contact & Social Links
In radiant you would make it a script_model and give it a targetname kvp

In script you would thread a function from main or something, that would use either movez or moveto functions in it with waits. In the docs you can find these functions and what is needed to make them work.

MoveZ
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveZ(<point>,<time>,[acceleration time],[deceleration time])

[MANDATORY] <point> The z value to move the entity to, as a floating point number
[MANDATORY] <time> The time to move the entity in seconds
[OPTIONAL] [acceleration time] The time spent accelerating in seconds
[OPTIONAL] [deceleration time] The time spent decelerating in seconds
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Move this entity to the given world z value
MoveTo
Code Snippet
Plaintext
void <script\_model, script\_origin or script\_brushmodel> MoveTo(<point>,<time>,[acceleration time],[deceleration time])

[MANDATORY] <point> The point to move the entity to
[MANDATORY] <time> The time to move the entity in seconds
[OPTIONAL] [acceleration time] The time spent accelerating
[OPTIONAL] [deceleration time] The time spent decelerating
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Move this entity to the given point.
EXAMPLE: dummy MoveTo( dest_org, .5, .05, .05 )

use getent, or getentarray if you have more than one, and then thread on each a function to move and wait in a while loop.



Thank you very much :)

 
Loading ...