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
24 | |||||
6 | |||||
4 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.940410.696+6
- 4.35459.857-1
- 5.599234.719+7
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
10 posts in the last week
28 posts in the last month
Welcome our newest member, lyrefudge
Most online: 2043 users on 29 Oct 2023, 01:04 AM