Login

russian armor

Camera mod

12 Nov 2015, 22:11 PM
#1
avatar of whodareswins

Posts: 67

does anybody know how to adjust the camera settings so you can scroll out further in game.
12 Nov 2015, 22:46 PM
#2
avatar of ferwiner
Donator 11

Posts: 2885

This thread should answer all your questions in that regard. Or at least the ones community can answer to...

http://www.coh2.org/topic/43472/strategiczoomcasts-a-better-overview-of-the-battlefied

13 Nov 2015, 04:23 AM
#3
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

You can also change camera settings via SCAR in a Win Condition Pack.
14 Nov 2015, 18:32 PM
#4
avatar of whodareswins

Posts: 67

can you please tell me how to change in scar or give me a link to win condition pack please.
15 Nov 2015, 00:02 AM
#5
17 Nov 2015, 18:35 PM
#6
avatar of whodareswins

Posts: 67

thanks for links I have looked at them and they are for people who know what they are doing I don't but thanks you have been a great help.
17 Nov 2015, 19:34 PM
#7
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

They are tutorials, actually. What were you having difficulty with? Only way to get better is to learn and try.
17 Nov 2015, 20:06 PM
#8
avatar of whodareswins

Posts: 67

I have been trying from tutorials but they seem to have a file that downloads the basic relic files in order for the scar file to work!
But I know not where you get this file from?
I have the scar file that Janne252 done for custom resources can I use that and add the bit of script from tutorial about camera settings.
17 Nov 2015, 20:27 PM
#9
avatar of whodareswins

Posts: 67

This is the script I have

function OnInitID(Camera)

-- [[ Markers ]]
camera = Marker_FromName("camera","Camera")

-- [[ Local_Distmax = (75);

camera_SetTuningValue(To_Distmin, 3);

Camera_SetTuningValue(To_Distmax, 75);

Camera_SetZoomDist(75);

end

end

Scar_Addinit(Camera_Init)
17 Nov 2015, 23:51 PM
#10
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Take a look at the description of the third video link. I have the files there.
18 Nov 2015, 18:24 PM
#11
avatar of whodareswins

Posts: 67

do I have to create a scar marker on my map called camera then save it go into my files for that map and find the scar file for that marker then use that or do I just create a scar file then do the script. but I don't need the win conditions can I just do a scar file just for the camera or does it have to be part of a scar file like win conditions.
18 Nov 2015, 18:28 PM
#12
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

If this is for single-player (campaign or skirmish against AI), you can actually just add -dev to your launch options in Steam and then use the console (Ctrl+Shift+~ in-game). The Camera_ functions should work there.

If this is for multi-player (custom game), you have to use either a Map or a Mod (Win Condition Pack). Everyone in the game will have to be subscribed to either the Map or the Mod as well.
18 Nov 2015, 18:35 PM
#13
avatar of whodareswins

Posts: 67

Local distmax = 75;

Camera_SetTuningValue(TV_DistMin, 3);
Camera_SetTuningValue(TV_DistMax, 50);
camera_SetZoomdist(50);

this is what I have after copy and pasting the tv files from your website. Do I need to add anything else to this.
18 Nov 2015, 18:37 PM
#14
avatar of whodareswins

Posts: 67

this is for multi-player as I'm creating my own maps.
18 Nov 2015, 19:01 PM
#15
avatar of whodareswins

Posts: 67

function OnInitID()

WinCondition = Marker_FromName("WinCondition","Camera")

Local distmax = 50;

Camera_SetTuningValue(TV_DistMin,5);

Camera_SetTuningValue(TV_DistMax,50);

Camera_SetZoomDist(30);

end

Scar_AddInit(WinCondition_Init)

end

ok this is what I now have after placing scar marker on map calling it wincondition"camera" and using that scar file but deleting the player script as in video you say its not required as it is a global thing.
18 Nov 2015, 19:05 PM
#16
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Lua is case-sensitive, and distMax was a variable, so it should look like this:

Code
local distMin = 3;
local distMax = 50;

Camera_SetTuningValue(TV_DistMin, distMin);
Camera_SetTuningValue(TV_DistMax, distMax);
Camera_SetZoomDist(distMax);


That way, you only have to change the values of distMin and distMax.

As for using it in a Map, there should be a default .scar file you can use. I am not too familiar with the World Builder as far as .scar goes, so you might have to ask someone over in the mapping subforum.
18 Nov 2015, 19:16 PM
#17
avatar of whodareswins

Posts: 67

Thank you you`v been a great help I appreciate it thank you.
18 Nov 2015, 23:21 PM
#18
avatar of whodareswins

Posts: 67

that's it I have tried but nothing works thanks for everything.
19 Nov 2015, 00:12 AM
#19
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Can you be more specific? Did you get an error message? If so, what was it?
19 Nov 2015, 18:04 PM
#20
avatar of whodareswins

Posts: 67

no I got no error messages I ran the game with the new scar file but nothing had changed.
I tried doing the map scar marker but that didn't work then I tried your code in a scar file that didn't work.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

634 users are online: 634 guests
0 post in the last 24h
12 posts in the last week
26 posts in the last month
Registered members: 49851
Welcome our newest member, Eovaldis
Most online: 2043 users on 29 Oct 2023, 01:04 AM