Guild Wars 2 FPS Scenery Mode

Homepage Forums Game Hints and Settings Guild Wars 2 FPS Scenery Mode

Viewing 15 posts - 1 through 15 (of 52 total)
  • Author
    Posts
  • #105134
    Sphere
    Participant

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press this key a few times at the start of your VR experience to calibrate screen. Designed to be run at 1080p. Press numpad + for use.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3
    [code]
    #include <Misc.au3>
    $dll = DllOpen(“user32.dll”)
    Opt(“TrayIconHide”, 1)
    ToolTip(“FPS mode”, 1, 1)

    $esc = 0
    $combat = 0
    $right = 0
    $right_on = 0
    $cnt = 0
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out

    Do
    If _IsPressed(“2D”, $dll) and _IsPressed(“2E”, $dll) Then ; escape [Insert + Delete]
    MouseUp(“right”)
    DllClose($dll)
    Exit
    EndIf

    $mouse = MouseGetPos()
    ; if the mouse strays out of the main monitor resolution on horizontal
    If($mouse[0] > [MENTION=408378]desktop[/MENTION]Width) and ($right_on = 1) Then
    MouseClick(“right”)
    $right_on = 0
    $right = 0
    $combat = 0
    $combat_on = 0
    EndIf
    If _IsPressed(“6B”, $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    If($zoom = 0) Then
    $zoom = 1
    Send(“{shiftdown}”)
    Sleep(100)
    MouseWheel(“down”,20)
    Sleep(400)
    Send(“{shiftup}”)
    Else
    $zoom = 0
    Send(“{shiftdown}”)
    Sleep(100)
    MouseWheel(“up”,5)
    Sleep(400)
    Send(“{shiftup}”)
    Sleep(100)
    MouseWheel(“up”,20)
    EndIf
    EndIf
    If($mouse[0] < [MENTION=408378]desktop[/MENTION]Width) Then
    $cnt = $cnt + 1 ; 1 second code handler
    If($cnt >= 100) Then
    $cnt = 0
    If($combat > 0) Then
    $combat = $combat + 1
    EndIf
    If($right >= 40) and ($combat = 0) Then
    If($right_on = 0) Then
    $right_on = 1
    Sleep(100)
    Else
    $right_on = 0
    $right = 0
    EndIf
    Else
    $right = 0
    EndIf
    EndIf

    If($right_on = 1) and ($right >= 40) and _IsPressed(“02”, $dll) = False Then ; activate free camera here
    Sleep(100)
    MouseDown(“right”)
    $right = 0
    EndIf
    If($right_on = 1) and ($right < 40) and _IsPressed(“02”, $dll) = False Then ; cancel free camera mode
    $right_on = 0
    $right = 0
    EndIf

    ; start skill detection
    If _IsPressed(“30”, $dll) or _IsPressed(“31”, $dll) or _IsPressed(“32”, $dll) or _IsPressed(“33”, $dll) or _IsPressed(“34”, $dll) or _IsPressed(“35”, $dll) or _IsPressed(“36”, $dll) or _IsPressed(“37”, $dll) or _IsPressed(“38”, $dll) or _IsPressed(“39”, $dll) Then
    $combat = 1
    EndIf
    If _IsPressed(“02”, $dll) and ($combat = 0) and ($right_on = 0) Then
    $right = $right + 1
    EndIf
    Sleep(5)

    ; zooming
    If($combat = 1) and ($combat_on = 0) Then
    $right_on = 0
    $right = 0
    MouseClick(“right”)
    MouseWheel(“down”,20)
    $combat_on = 1
    EndIf
    If($combat = 6) Then
    $combat = 0
    $combat_on = 0
    MouseWheel(“up”,20)
    EndIf
    Else
    Sleep(500)
    EndIf
    Until $esc = 1
    [/code]

    #105141
    Sphere
    Participant

    I am currently in the process of updating this app to support more features. However the app is being designed for a resolution of 1080p. A shame this forum does not let users edit their posts.

    #105143
    Sphere
    Participant

    Updated.

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Designed to be run at 1080p. Press numpad + for use.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    $esc = 0
    $combat = 0
    $right = 0
    $right_on = 0
    $cnt = 0
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt = $cnt + 1 ; 1 second code handler
    	If($cnt >= 100) Then
    		$cnt = 0
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(100)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(5)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		MouseWheel("down",20)
    		$combat_on = 1
    	EndIf
    	If($combat = 6) Then
    		$combat = 0
    		$combat_on = 0
    		MouseWheel("up",20)
    	EndIf
    	
    Until $esc = 1
    #105177
    Sphere
    Participant

    VorpX allows another method to zoom in and out. It is activated by the scroll click button on your mouse. This is not a complete replacement of the zoom that this app provides. In fact the zoom feature can be used to calibrate the screen to allow for viewing skill icons, boons, etc, while in VR mode.

    #105369
    Sphere
    Participant

    I now made the code more responsive by a little bit.
    I also now made it so that when the combat mode disables, it also checks to see if you are using the right mouse button at the time of combat mode ending, and if it does see this, it assumes you want to have free camera mode enabled. Just wait for the combat mode to end and your screen to zoom into your character, and then let go of the right mouse button. Easy right?

    Before it would wait until combat mode ended, and then wait for 1 second of the right mouse button being held down before registering free camera mode. Now it’s a lot better I think. Enjoy~

    And here is the new code below:

    ==============================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 09/08/2016 dmy, 2:34 PM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    $esc = 0
    $combat = 0
    $right = 0
    $right_on = 0
    $cnt = 0
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt = $cnt + 1 ; 1 second code handler
    	If($cnt >= 100) Then
    		$cnt = 0
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		MouseWheel("down",20)
    		$combat_on = 1
    	EndIf
    	If($combat = 6) Then
    		$combat = 0
    		$combat_on = 0
    		MouseWheel("up",20)
    		If _IsPressed("02") Then
    			$right = 40
    		EndIf
    	EndIf
    	
    Until $esc = 1
    
    #107089
    Sphere
    Participant

    Updated. I made the code run faster with free camera mode.

    =========================================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 10/08/2016 dmy, 11:26 AM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    $esc = 0
    $combat = 0
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    	If($combat = 6) Then
    		$combat = 0
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    #111741
    Sphere
    Participant

    Looks like I got another update. Please feel free to give feedback. :)

    ==================================================================’

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.
    * [NEW] The wait time before re-entry into FPS is now variable, depending on the amount of attack commands you use. There is a limit to how far extended the timer can go to, but the change should mean that boss battles should be more doable with this application.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 07/10/2016 dmy, 09:50 PM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    $esc = 0
    $combat = 0
    $combat_plus = 3
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat = 1) and ($combat_plus < 15) Then
    			$combat_plus = $combat_plus + 1
    		EndIf
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    
    	If($combat = $combat_plus) Then
    		$combat = 0
    		$combat_plus = 3
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    #111751
    SpynalTom
    Participant

    Thank you for taking the time to get this working. It works very well. I really like it. My only wish would be that after battle, when it zooms back in, that you wouldn’t need to re-enable the freecam by holding the right mouse again. Thanks again :D

    #111780
    Sphere
    Participant

    Yeah I know, but the problem was, when you played with characters that use target skills on the ground and such. I didn’t want the zoom in to impact on battle. But I suppose I could make a toggle feature to enable/disable auto freecam after zoom.

    #111784
    Sphere
    Participant

    Think I will make a script variable to change what the script starts with, and then a button you can press while in the game to change the mode. Think I will use a sound indication to show which mode you are changing into. But what button combo or single button press should I use to change between modes?

    #111799
    Sphere
    Participant

    Updated script to include the Free Camera Auto Exit Battle mode.

    =================================================================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Insert + Delete key closes the application.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad + key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad + for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.
    * The wait time before re-entry into FPS is variable, depending on the amount of attack commands you use. There is a limit to how far extended the timer can go to, but the change should mean that boss battles should be more doable with this application.
    * [NEW] You now have the option to choose if the free camera mode auto enables after combat. This can be toggled with the numpad minus key. You also can choose to default set it in the script itself.

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 10/10/2016 dmy, 12:36 AM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    ;==[Free Camera Auto Exit Battle]========
    $freecam_exitbattle = 0 ; 0 = off, 1 = on
    ; Toggle this to change the default.
    ;========================================
    
    $esc = 0
    $combat = 0
    $combat_plus = 3
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6D", $dll) Then ; num- on number pad to toggle Free Camera Exit Battle
    		If($freecam_exitbattle = 0) Then
    			$freecam_exitbattle = 1
    			Beep(200,110)
    			Beep(400,90)
    			Beep(600,70)
    			Beep(800,50)
    		Else
    			$freecam_exitbattle = 0
    			Beep(800,50)
    			Beep(600,70)
    			Beep(400,90)
    			Beep(200,110)
    		EndIf
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat = 1) and ($combat_plus < 15) Then
    			$combat_plus = $combat_plus + 1
    		EndIf
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    
    	If($combat = $combat_plus) Then
    		$combat = 0
    		$combat_plus = 3
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") or ($freecam_exitbattle = 1) Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    #111826
    SpynalTom
    Participant

    Works great! Thank you very much for adding that feature. I also really like the sound effect when it enables. That was a nice touch.

    #111852
    Sphere
    Participant

    The code is the same as the last post, but the description and usage text is now updated. Hope it helps everybody.

    ===============================================================

    As the title says.

    The intent of this app is for the use of FPS mode, which you can activate normally in the game’s options. When you run this app along side the game, you play in FPS, until you do combat, where the game will zoom out, and after combat, zoom back in.

    This app also supports free camera mode, where you don’t need to hold down the right mouse button to move the camera. It works where you hold down the right mouse button for one second, and then it registers that you wish to free camera mode. Clicking the right mouse button again will free you from this mode. Free camera mode will deactivate while in combat, allowing you to use ground select skills. It will however not reactivate after combat, unless you are holding down the right mouse button, or you toggle on auto free camera mode on battle exit. The numpad minus key will toggle this auto mode on/off. Keep in mind that some classes or skill sets may or may not benefit from auto mode.

    This app is very useful for virtual reality Guild Wars 2. You will need to have installed vorpX to play Guild Wars 2 in VR. Remember while playing this game with virtual reality, for best effect, set in the options of the game the Field of View to maximum, the slider all the way to the right.

    Features:
    * Zoom out for combat, FPS in non-combat.
    * Can use the regular zoom feature of the mouse wheel at anytime.
    * Free camera mode available to use. No need to hold down right mouse click.
    * Added support for vorpX virtual reality. Zoom in and out of the VR experience. Must press the numpad plus key at the start of your VR experience to calibrate screen. Calibration will allow you to more easily see the skill icons, boons, etc… This feature was designed to be run at 1080p. Press numpad plus for use. VorpX also has their own type of zoom feature as well. To use the vorpX zoom feature, press the scroll click on your mouse for effect. Both zooms work in a different way.
    * The wait time before re-entry into FPS is variable, depending on the amount of attack commands you use. There is a limit to how far extended the timer can go to. This feature should help with big battle scenes and boss fights.
    * [NEW] You now have the option to choose if the free camera mode auto enables after combat. This can be toggled with the numpad minus key. You also can choose to default set it in the script itself.

    Key Commands:
    * Insert + Delete = Closes application FPS Scenery Mode
    * Numpad plus = Calibration Zoom
    * Numpad minus = Toggles the Free Camera Auto on Exit Battle

    You will now notice that I include the time it was last updated in the code. I hope that helps.

    Say hello to some mediocre code that runs as advertised.
    You will need AutoIt3

    
    ; Updated Last: 10/10/2016 dmy, 12:36 AM AEST
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    Opt("TrayIconHide", 1)
    ToolTip("FPS Scenery", 268, 0)
    
    ;==[Free Camera Auto Exit Battle]========
    $freecam_exitbattle = 0 ; 0 = off, 1 = on
    ; Toggle this to change the default.
    ;========================================
    
    $esc = 0
    $combat = 0
    $combat_plus = 3
    $right = 0
    $right_on = 0
    Dim $cnt[2]
    $combat_on = 0
    $zoom = 0 ; 0 is zoomed in, 1 is zoomed out
    
    Do
    	If _IsPressed("2D", $dll) and _IsPressed("2E", $dll) Then ; escape [Insert + Delete]
    		MouseUp("right")
    		DllClose($dll)
    		Exit
    	EndIf
    	
    	If _IsPressed("6D", $dll) Then ; num- on number pad to toggle Free Camera Exit Battle
    		If($freecam_exitbattle = 0) Then
    			$freecam_exitbattle = 1
    			Beep(200,110)
    			Beep(400,90)
    			Beep(600,70)
    			Beep(800,50)
    		Else
    			$freecam_exitbattle = 0
    			Beep(800,50)
    			Beep(600,70)
    			Beep(400,90)
    			Beep(200,110)
    		EndIf
    	EndIf
    	
    	If _IsPressed("6B", $dll) Then ; num+ on number pad to zoom in and out of VR [vorpX supported]
    		If($zoom = 0) Then
    			$zoom = 1
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("down",30)
    			Sleep(400)
    			Send("{shiftup}")
    		Else
    			$zoom = 0
    			Send("{shiftdown}")
    			Sleep(100)
    			MouseWheel("up",5)
    			Sleep(400)
    			Send("{shiftup}")
    			Sleep(100)
    			MouseWheel("up",20)
    		EndIf
    	EndIf
    	$cnt[0] = $cnt[0] + 1 ; 1 second code handler
    	If($cnt[0] >= 100) Then
    		$cnt[0] = 0
    		If($combat = 1) and ($combat_plus < 15) Then
    			$combat_plus = $combat_plus + 1
    		EndIf
    		If($combat > 0) Then
    			$combat = $combat + 1
    		EndIf
    		If($right >= 40) and ($combat = 0) Then
    			If($right_on = 0) Then
    				$right_on = 1
    				Sleep(100)
    			Else
    				$right_on = 0
    				$right = 0
    			EndIf
    		Else
    			$right = 0
    		EndIf
    	EndIf
    	
    	If($right_on = 1) and ($right >= 40) and _IsPressed("02", $dll) = False Then ; activate free camera here
    		Sleep(25)
    		MouseDown("right")
    		$right = 0
    	EndIf
    	If($right_on = 1) and ($right < 40) and _IsPressed("02", $dll) = False Then ; cancel free camera mode
    		$right_on = 0
    		$right = 0
    	EndIf
    	
    	; start skill detection
    	If _IsPressed("30", $dll) or _IsPressed("31", $dll) or _IsPressed("32", $dll) or _IsPressed("33", $dll) or _IsPressed("34", $dll) or _IsPressed("35", $dll) or _IsPressed("36", $dll) or _IsPressed("37", $dll) or _IsPressed("38", $dll) or _IsPressed("39", $dll) Then
    		$combat = 1
    	EndIf
    	If _IsPressed("02", $dll) and ($combat = 0) and ($right_on = 0) Then
    		$right = $right + 1
    	EndIf
    	Sleep(2)
    	
    	; zooming
    	If($combat = 1) and ($combat_on = 0) Then
    		$right_on = 0
    		$right = 0
    		MouseClick("right")
    		$cnt[1] = 0
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("down",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    		$combat_on = 1
    	EndIf
    
    	If($combat = $combat_plus) Then
    		$combat = 0
    		$combat_plus = 3
    		$combat_on = 0
    		$cnt[1] = 0
    		If _IsPressed("02") or ($freecam_exitbattle = 1) Then
    			$right_on = 1
    			$right = 40
    		EndIf
    		Do
    			$cnt[1] = $cnt[1] + 1
    			MouseWheel("up",1)
    			Sleep(1)
    		Until $cnt[1] >= 20
    	EndIf
    	
    Until $esc = 1
    
    #122190
    Cupzter
    Participant

    hi, i would try this but i can’t even get the game to run with vorpx. it’s always crashing. any advice? thanks.

    #122254
    Sphere
    Participant

    Have you tried running the vorpX configuration? Run that, then at the left go to General. From there on the right of that, you will see a Device Selection. I had set it to HTC Vive, because that’s what I use. It is a dropdown menu, choose what you are using.

    Enable head tracking
    Enable head tracking roll
    Run vorpX Control as administrator

    The other option you could try is, to download a Guild Wars 2 cloud profile.

    If none of this works, are you sure it’s vorpX at fault?

Viewing 15 posts - 1 through 15 (of 52 total)
  • You must be logged in to reply to this topic.

Spread the word. Share this post!