pigeon wrote: ↑Tue Aug 27, 2019 10:54 pm
Free Camera and FOV (both DX11 and DX12 versions) (Update2)
Fixed most of the issues related to free camera. There is still some flaws though. Added few other script.
(if you are new here, check before
table from Otis_Inf since it's also have free camera, hud disabling, pause world scripts and few more, so it could be enough for having fun)
- added "no_Launch_Highlights" that disable highlighting of object that you can pick up;
- "hide_Slam_Target" disable white circle when you levitate. Use this script with table
from Otis_Inf (want to use this in your table, Otis_Inf?) if you want to totally disable hud;
- "no_Levitation_Dust" and "no_Levitation/Evade_Objects", when you levitate or evade, objects around will not react to that. Both scripts also useful with free camera, since when freecam enabled, for some reason game start to produce this effects on camera position;
- with "Calm Enemies" and other scripts from this group enemies still could see you, watch at you from covers... This is so cute that I decided to stop here and do not search how to disable Enemies aiming at all
- "Wipe_Enemies" actually kill all enemies around;
- Fixed cmp inside "camera_detach" script so it should always start from player (before sometimes it could start from some random place). Teleport by default use "Ctrl+Q" hotkey but it's not "coded" in the script, so if you wish to change it just press on value and press "Ctrl+H";
- "Safe-Combat Zones Switchers" group was made for having possibility to walk around in Oldest House without gun, like everything is fine here
Knowing issue:
- If you enable "Render" script of freecam group and fly too far away, Jesse will fall down. You could use "Teleport" script for moving her back, but in this case WASD keys will not work until level reload from main menu. For avoiding this, just enable levitation (you need inf.levitation script that was posted here around) and in such case you could fly around with free camera without problems with Jesse. But still there is not all objects loading with free camera. You can see in video below when free camera going to "Central Executive" point and there is only few objects and basic lightning loaded. I can't find how to deal with that. It seems like there is plane triggers around the doors but I can't find what exact XYZ value(s) should go through this triggers.
- If some script doesn't work instantly (it's being activated but you do not see expected effect), then it required to do some activities in the game. no_Levitation scripts will not work when you already levitate, slam target will hide only after it will be hided normally, No_onScreen_Blood should be enabled when you don't see blood on your screen and etc.
video demonstration of how table works:
[Link]
Control_DX11 Free Cam, FOV (0.0.269.9979) (Update2).CT
Control_DX12 Free Cam, FOV (0.0.269.9979) (Update2).CT
previous tables:
"inf.Health" and "Freeze_Player/Enemies" scripts basically need for avoiding issue when you are flying too far away from Jesse and she fall down and take damage. Also "No_onScreen_Blood" script disable on-screen blood. I saw here around another scripts for Infinite Health, you could use them instead since my script doesn't do a lot of things.
Free Camera here in first place meant to be used for taking screenshots. Side effect, you can fly around and collect things, open doors (see on video below), shoot enemies... But it's all was not in the plans though, just funny side effect
Also because of main idea of freecam it's used another keys for movements than originally in-game. Some of them are the same as some keys for various places in the inventory. I have no idea than just rebind keys in the game.
If you wish to change free camera hotkeys, than just open "Free_Camera (Alt+R, TFGHUJ BN)" script, look for "-- Assign Hotkeys Here --" block and use codes from
[Link].
Activate script with "Alt+R" key. I don't get how to avoid glitches that happen if script being enabled with checking it's box.
Video with example of work:
[Link]
table required
[Link]
Control_DX11-DX12 Free Cam, FOV (0.0.269.9979).zip
previous test:
note: enable it while you in the game by pressing Altr+R key. For movements use TFGHUJ and BN keys for adjusting camera speed. Cheat for FOV was made just couple of minutes ago and could produce crashes. So there is still a lot of work to do.
Control_DX12 Free Cam (0.0.269.9979).CT