Modme

New Modme platform coming soon!
Move model
Viewed 144 time(s)
Topic created on 1526300928
Original post
Modme User
0 wins

Im trying to move a model like the "clockwise", i need use "RotateTo" ? 

 

 

Script_model/Origin: "1583750, -800.250, 573.250"

 

 

Reply #1 on 1526302292
Modme User
132 wins

eDeK

Im trying to move a model like the "clockwise", i need use "RotateTo" ?      Script_model/Origin: "1583750, -800.250, 573.250"    

 what


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
HarryBo21's WAW Perks v5.2.0
LINK TO MODME POST
Black Ops 3 Gun Pack v2.3.0
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #2 on 1526308518
Modme User
37 wins
x RotateYaw(<yaw angle>,<time>,[acceleration time],[deceleration time]);
x RotatePitch(<pitch angle>,<time>,[acceleration time],[deceleration time]);
x RotateRoll(<roll angle>,<time>,[acceleration time],[deceleration time]);

Don't PM me about stuff that should be on the forum.
My creations:
DE gate trap
Debug (on/off)
Jukebox
Gum Anti-cheat
Kino box locator
Elemental Bows

Test search engine for this site via Google
Reply #3 on 1526314487
Modme User
0 wins

I have the movement working perfect now, the model is linked with a script_origin, but in Radiant the scale of the model is "44" and the scale of the model is "1" inside the game, wtf?

 

function relojprincipal()
{
	segundos = getEnt( "segundos", "targetname" );
    segundos enableLinkTo();
       
    movimientosegundos = getEnt( "movimientosegundos", "targetname" );
    movimientosegundos enableLinkTo();
    
    segundos linkTo( movimientosegundos );
	
	
	
	while(1)
	{

		movimientosegundos RotatePitch(-360,60); 

        wait(1);  
	}
}
Reply #4 on 1526316385
Modme User
132 wins
e_model setScale( scale_amount );

 

 

because its a script_model


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
HarryBo21's WAW Perks v5.2.0
LINK TO MODME POST
Black Ops 3 Gun Pack v2.3.0
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #5 on 1526343572
Modme User
0 wins

I write "setscale" inside the function, inside the loop, and the model still very small, the model size is little more big, but still very small, looks like the model have a limit size, i dont know why, and i cant increase it.

 

function relojprincipalsegundos()
{    

    segundos = getEnt( "segundos", "targetname" );
    segundos enableLinkTo(); 
       
    movimientosegundos = getEnt( "movimientosegundos", "targetname" );
    movimientosegundos enableLinkTo();
    
    segundos linkTo( movimientosegundos );	   
			
	while(1)
	{
            segundos SetScale( 40 );

            movimientosegundos RotatePitch(-360,60); 

        wait 1;  
	}
}
Reply #6 on 1526348102
Modme User
132 wins

limit is 10 so your code is doing nothing


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
HarryBo21's WAW Perks v5.2.0
LINK TO MODME POST
Black Ops 3 Gun Pack v2.3.0
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST