| Diavolakos |
05/16/2018 22:52 |
Quote:
Originally Posted by Paraly
(Post 36886317)
There you go :)
Code:
#IF=%FirstTime,;
#SmoothBackground
#EXECUTE=SetResolution;
Delay=500;
#NeedResolution=816,638;
Delay=500;
#NeedResolution=816,638;
Delay=500;
#UseGravity
#UseCollision
_SetVar1=0; start point
_SetVar2=0; counter
#SetVar4=How much screenshots you want to take?/n/n50-100 recommended;
_Calc3=360/%Var4; step
_Calc5=%Var4*4;
WaitForResponse=Be sure you stay in Sanctum/n/nBe sure hide UI is binded to F12 (should be by default)/n/nEstimated time for the 360 scan: %Var5 seconds;
#ENDIF
_MemPtrReadVar=%PlayerBase,%OffsetPosX,FLOAT,6;
_MemPtrReadVar=%PlayerBase,%OffsetPosY,FLOAT,7;
_MemPtrReadVar=%PlayerBase,%OffsetPosZ,FLOAT,8;
MemPtrWrite=%PlayerBase,%OffsetPosX,10000,FLOAT;
MemPtrWrite=%PlayerBase,%OffsetPosY,10000,FLOAT;
MemPtrWrite=%PlayerBase,%OffsetPosZ,100,FLOAT;
MoveTo=10000,10000,100,True,False;
FrameAction=459,State,SHOW;
FrameAction=459,XPOS,0;
FrameAction=459,YPOS,0;
Delay=500;
Mouse=282,26;
WaitForResponse=Select an Animation you like/nOnce you found one set the "Speed" to 0 and click again on the animation to stop the playback/n/nYou can resize the window to fullscreen again to take higher quality screenshots;
TrayInfo=Press "Delete" to start taking the screenshots from different angles;
WaitForKey=2E,1;
SendKey=0x7B; Hide UI
#DO=9999000;
MemWrite=%AddrCamX,%Var1,FLOAT;
MemWrite=%AddrCamY,0,FLOAT;
MemPtrWrite=%AddrThirdPerson,%OffsetThirdPerson,3.7,FLOAT;
_Calc1=%Var1+%Var3;
_Calc2=%Var2+1;
Console=\r_GetScreenShot 1;
MemWrite=%AddrFreeMem8,%Var2,DWORD;
_IFMemRead=%AddrFreeMem8,DWORD,=%Var4;
SendKey=0x7B; Show UI
MoveTo=%Var6,%Var7,%Var8,False,False;
WaitForResponse=Finished;
#EndScript
#ENDIF
_UNTILMemPtrRead=%AddrChat,0x510/0x370/0x0,WCHAR[32],=stop screen;
MoveTo=%Var6,%Var7,%Var8,False,False;
SendKey=0x7B; Show UI
start_SetResolution; <-- resizes client without using real mouse
Console=\r_Height 600;
Console=\r_Width 800;
end_SetResolution;
Seems to work great just tested it
[IMG=expandable: 1]https://media.giphy.com/media/vNXnw8UHIFfnZrQUFC/giphy.gif[/IMG]
|
I think I need to delete those lines since I am not an elyos and it only crashes my client.
Code:
_MemPtrReadVar=%PlayerBase,%OffsetPosX,FLOAT,6;
_MemPtrReadVar=%PlayerBase,%OffsetPosY,FLOAT,7;
_MemPtrReadVar=%PlayerBase,%OffsetPosZ,FLOAT,8;
MemPtrWrite=%PlayerBase,%OffsetPosX,10000,FLOAT;
MemPtrWrite=%PlayerBase,%OffsetPosY,10000,FLOAT;
MemPtrWrite=%PlayerBase,%OffsetPosZ,100,FLOAT;
MoveTo=10000,10000,100,True,False;
Why did you make it mandatory to have it in a specific city? I will make my version for my char, I will only use the camera change commands and the Console=\r_GetScreenShot 1; to get the screenshots automatically. I made it work and I changed the z range third person distance, you can remove the line if you want so it only keep sthe distance to the char you already set manually
This line can go:
Code:
MemPtrWrite=%AddrThirdPerson,%OffsetThirdPerson,3.7,FLOAT;
Also that motion, does it keep the character in a specific position? Because mine was moving.
|