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
73 | |||||
40 | |||||
35 | |||||
24 | |||||
22 | |||||
14 | |||||
564 | |||||
83 | |||||
55 | |||||
15 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.838223.790+1
- 3.35057.860+15
- 4.590233.717+6
- 5.278108.720+29
- 6.306114.729+2
- 7.645.928+5
- 8.922406.694+1
- 9.1118621.643-1
- 10.265138.658+2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
2 posts in the last week
28 posts in the last month
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM