Warhammer 40,000: Dawn of War III

Warhammer 40,000: Dawn of War III

Zoom Out x4 Game Mode
13 Comments
Trigg  [author] 11 Oct, 2024 @ 1:55pm 
@Le Loup - Subscribe and wait for it to download. Then whenever you start a game, select it as the game mode on the options page.
Le Loup 11 Oct, 2024 @ 9:34am 
Don't run for me, hpw use it please ?
Trigg  [author] 27 Sep, 2024 @ 11:57am 
Thanks. I'll put your code in when I have time - but it may be a while.

If you would like to make the mod, I put a note on mine suggesting that people use yours instead.
Playgu 27 Sep, 2024 @ 11:51am 
Default key is hold Insert and then move your mouse, Backspace to restore default height and declination. Camera_LoadEditorCamera() does all the work, the rest just makes it seamless. Editor camera resets towards the center of the map that's why I store initial camera settings and position and restore them back so that it looks at HQ, as well as some other settings that differ from default camera.
Trigg  [author] 27 Sep, 2024 @ 11:32am 
Thanks. I can see from your code that it supports pan, but I didn't see anything about rotate/orbit.

What key do you use for that?
Playgu 27 Sep, 2024 @ 9:15am 
That's what the function I've posted does, I just decided to share it since your mod has more subs.
Trigg  [author] 27 Sep, 2024 @ 7:39am 
@Playgu - Do you know of a way to make the camera rotate/orbit?

I found a solution on line, but it requires a console script running in debug mode.
Playgu 26 Sep, 2024 @ 2:44pm 
a few missing lines due to 1000 characters limit:

Camera_SetTuningValue(TV_PanAccelerate, 0.0)
Camera_SetTuningValue(TV_PanStartSpeedScalar, 1.0)
Camera_SetTuningValue(TV_PanMaxSpeedScalar, 1.0)
Camera_SetTuningValue(TV_CameraMode, 2.0)
Playgu 26 Sep, 2024 @ 2:44pm 
Here's a custom script to unlock camera, just change DistMax to 300 and call the function somewhere:

function UnlockCamera()
local rot = Camera_GetOrbit()
local dec = Camera_GetDeclination()
local cam_pos = Camera_GetCurrentTargetPos()
Camera_LoadEditorCamera()
Camera_SetOrbit(rot)
Camera_SetDeclination(dec)
Camera_MoveTo(cam_pos)
Camera_SetTuningValue(TV_SlideTargetRate, 999)
Camera_SetTuningValue(TV_DistRateMouse, 0.50)
Camera_SetTuningValue(TV_DistMin, 35)
Camera_SetTuningValue(TV_DistMax, 75)
Camera_SetTuningValue(TV_DistGroundMin, 2.00)
Camera_SetTuningValue(TV_DistMinGround, 2.00)
Camera_SetTuningValue(TV_DeclBelow, 0.000000)
Camera_SetTuningValue(TV_PanScaleMouseDefZ, 125)
Camera_SetTuningValue(TV_PanScaleKeyboardDefZ, 400)
Camera_SetTuningValue(TV_PanScaleScreenDefZ, 400)
Camera_SetTuningValue(TV_PanScaleMouseMinZ, 0.02)
Camera_SetTuningValue(TV_PanScaleKeyboardMinZ, 0.02)
Camera_SetTuningValue(TV_PanScaleScreenMinZ, 0.02)
end
Trigg  [author] 10 Sep, 2024 @ 6:45pm 
Nothing special. Just subscribe to it and wait for the download, then specify it for the gtame mod when you start a game.
MethusilanGaming 10 Sep, 2024 @ 12:56pm 
I can't get this to work for me. Is there something simple that I am missing?
Trigg  [author] 11 Aug, 2024 @ 7:45am 
Thanks.
Ultramarines 11 Aug, 2024 @ 5:44am 
wow, cool!