Hold RMB and drag to orbit view, single click on RMB still opens the context menu.
Autohotkey ahk:
;3dsmax hotkey remap
#IfWinActive, ahk_exe 3dsmax.exe
rbtDragThreshold:=1
RButton::
rbtDrag:=0
MouseGetPos, x, y
While (rbtDrag=0 AND GetKeyState("RButton", "P"))
{
MouseGetPos, new_x, new_y
;ToolTip, % "ahk[" . (new_x - x) . ":" . (y-new_y) . "]" . rbtDrag
if ((abs(new_x-x) > rbtDragThreshold) OR (abs(new_y-y) > rbtDragThreshold) ) {
rbtDrag:=1
}
}
;ToolTip,
if (rbtDrag=1) {
SendInput, {Alt Down}{MButton Down}
}
return
RButton Up::
if (rbtDrag=1) {
SendInput, {MButton Up}{Alt Up}
} else {
; original RButton function
SendInput, {RButton}
}
return
#IfWinActive
--
現在還在寫blog分享資訊的人越來越少,如果覺得文章對您有幫助,歡迎在底下留言,這樣我也比較有動力繼續寫下去,謝啦!
Hey Dabinn
I’m working on GTA IV’s .WFT format
just read your article and was interested in what you got.
Is there any way of contacting you?
I’m going through the same process to unlock those files but things are getting a bit complicated.
I would be really appreciated for just a small help to figure this out faster.
thanks in advance.
Never mind dude.
I finally figured it out.
never knew that SparkIV is opensource
may expand it’s features later in my free time.
Thanks a lot for the clue you gave me 😉
Hi M995,
I have modified the code base on SparkIV 0.7.0 Beta 1, which can display locked models. It may save your time. If you need the source code I’ll upload to Github.
Hey, Thanks a lot DABINN
Of course, it saved my time a lot, just figured it out based on your clue.
had to use IndexBuffer and VertexBuffer to recalculate the FaceCount, VertexCount, and IndexCount manually.
Now I’m interested in GTA V .yft format locks but don’t have the time to work on it, unfortunately.
anyways, just wanted to thank you for being kind on letting others know what you learned
Have a great day/night 🙏
M995,
I am glad you have figured it out 😀