Camera mod
Posts: 67
Posts: 2885
http://www.coh2.org/topic/43472/strategiczoomcasts-a-better-overview-of-the-battlefied
Posts: 756 | Subs: 8
Posts: 67
Posts: 67
Posts: 756 | Subs: 8
Posts: 67
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.
Posts: 67
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)
Posts: 756 | Subs: 8
Posts: 67
Posts: 756 | Subs: 8
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.
Posts: 67
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.
Posts: 67
Posts: 67
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.
Posts: 756 | Subs: 8
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.
Posts: 67
Posts: 67
Posts: 756 | Subs: 8
Posts: 67
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.
Livestreams
36 | |||||
197 | |||||
47 | |||||
15 | |||||
2 | |||||
2 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1099614.642-1
- 5.280162.633+8
- 6.305114.728+1
- 7.916405.693-2
- 8.271108.715+22
- 9.721440.621+3
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
7 posts in the last week
39 posts in the last month
Welcome our newest member, Mclatc16
Most online: 2043 users on 29 Oct 2023, 01:04 AM