SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: wsa30h on July 15, 2019, 11:47:05 AM

Title: how to find coordinates for addcamera shot?
Post by: wsa30h on July 15, 2019, 11:47:05 AM
how do i find nice coordinates AddCameraShot(10.793105, -0.062986, -0.603918, -0.047962, -170.583618, 118.981544, -150.443253);
Title: Re: how to find coordinates for addcamera shot?
Post by: AnthonyBF2 on July 16, 2019, 01:44:35 PM
play with the debugger exe, use freecam, run the "dumpcamera" function as many times you like, new camera shots get dumped into a text file in the game data folder, ready to be copied into mission scripts
Title: Re: how to find coordinates for addcamera shot?
Post by: wsa30h on July 16, 2019, 03:16:07 PM
thanks anthony this may seem stupid but i cant find the camera dump function
Title: Re: how to find coordinates for addcamera shot?
Post by: AnthonyBF2 on July 16, 2019, 07:30:36 PM
press ~ while using the debugger and it opens a console menu, type DumpCamera each time you want to print a coordinate
Title: Re: how to find coordinates for addcamera shot?
Post by: wsa30h on July 17, 2019, 01:51:58 AM
thanks  AnthonyBf2 that worked.
Title: Re: how to find coordinates for addcamera shot?
Post by: Red04SWBF on July 17, 2019, 02:20:56 AM
How did you get SPTest.exe working? It's weird to see someone being able to get it working when most of people who uses latest generation OS (like Windows 10) was unable to execute it.
Title: Re: how to find coordinates for addcamera shot?
Post by: wsa30h on July 17, 2019, 02:53:54 AM
am on windows 7 but the one i have seems to work on windows 10 i personally tested it both with the steam version and without.
Title: Re: how to find coordinates for addcamera shot?
Post by: wsa30h on July 17, 2019, 03:05:29 AM
wait never mind it doesent work on windows 10.
Title: Re: how to find coordinates for addcamera shot?
Post by: Dark_Phantom on July 17, 2019, 05:20:25 AM
What worked for me was to reinstall the game on Windows 10.  It seemed that there was a registry value that wasn't present that causes it to fail on W10 (when on W7 it worked fine).
I do not know if the Steam version sets the correct flags for SPTest.
Title: Re: how to find coordinates for addcamera shot?
Post by: wsa30h on August 13, 2019, 08:31:22 AM
i know this forum is more than 30 days old but i just wanted to contribute the fact that i just upgraded to windows 10 and reinstalled steam and swbf1 there and sp test works on windows 10 if you have the steam version. also run the steam version of swbf1 at least once then sptest will work.
EhPortal 1.34 © 2024, WebDev