*** CameraCapacityFallback for BassyBoy's Stadium Megapack drop ***

Hello good people, this is a simple-ish plugin that is meant to be used in addition to BassyBoy's FM mods (the plugin will not work otherwise). It implements a temporary camera (creates a JSON, that deletes it upon match end) for stadiums that don't already have a dedicated camera (so the generic FM stadiums pretty much). 
The idea is that smaller generic stadia should have a much lower, closer to pitch camera, and bigger generic stadia should have a much higher up broadcast camera. Should be noted that I have used AI for almost all code writing (not particularly proud of that but hey).

 

-Installation is very simple:
1. Make sure you have the latest BassyBoy's Stadium Megapack installed
2. Copy the config and plugins folders into your ".../Football Manager 26/BepInEx folder 
3. Enjoy 🙂

 

-How it works (skip if not interested):
-The expected height (position.y) is calculated based on the main stand capacity (stand that the camera is on) using a formula I got from the ~330 cameras I did (link to those cameras: https://drive.google.com/drive/folders/1Ck-7HRUohoWLaScMEC9CUSYCfK6_-dlJ?usp=drive_link) for BassyBoy's stadium Megapack (their heights and stand capacities). Formula's final result is also capped for min and max based on what FM has as minimum and maximum height values (so that no clipping happens). One exception is if the stand's capacity is 0, than the height gets even closer to the ground level (since there is no worry of clipping to something there) 
-The position.x is the same as the generic FM camera (slightly more inward due to generic-FM's characteristic of also having a changeable height based on the stadium)
-FOVs are done the same way they are done for other 330 cameras (check the link a few sentences above)

 

-done by GuruOfNauru, absolutely only made possible by BassyBoy (go support him: https://x.com/BassyBoy)

 


 

Credits

BassyBoy

Comments
paya
1 year ago
4 hours ago
792

https://drive.google.com/drive/folders/1x9O_jsjA8Hs97WrklPjGUJG_oa4SHdh3?usp=drive_link

You'll need to Login to comment