camera view

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
TAW_killersim

camera view

Post by TAW_killersim »

my problem is wen i start the game the camera is under the map
befor i spawn how can i fix it :shock: :?:
Big_rich

RE: camera view

Post by Big_rich »

easiest way I've found is to copy one from a diff map. Like kamino, which is higher. Just copy/paste the camera from the kaminog_con.lua to you modidg_con.lua. Cause I've still to figure out how they even get those cords. in the first place.

this is from kamino:

Code: Select all


   		    AddCameraShot(0.564619, -0.121047, 0.798288, 0.171142, 68.198814, 79.137611, 110.850922);

            AddCameraShot(-0.281100, 0.066889, -0.931340, -0.221616, 10.076019, 82.958336, -26.261774);

            AddCameraShot(0.209553, -0.039036, -0.960495, -0.178923, 92.558563, 58.820618, 130.675919);

            AddCameraShot(0.968794, 0.154227, 0.191627, -0.030506, -173.914413, 69.858940, 52.532421);

            AddCameraShot(0.744389, 0.123539, 0.647364, -0.107437, 97.475639, 53.216236, 76.477089);

            AddCameraShot(-0.344152, 0.086702, -0.906575, -0.228393, 95.062233, 105.285820, -37.661552);
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: camera view

Post by Teancum »

You can actually get your own shots by using BF2_modtools.exe, going into free cam mode and moving where you want to, then hitting ~ and typing addcamerashot. Once you're done there will be a file called CameraCoords.txt in Battlefront II/Gamedata. Copy that into your LUAs.
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

There is a way to get the coordinates of a certain view out of zeroedit. Check the docs. I don't remember. Or you could wait until someone who does looks in here.

Try a search for 'spawn screens' here at gametoast.

. . .beaten.
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by squipple »

dumpcamera will work too

http://www.gametoast.com/index.php?name ... opic&t=253

offtopic: where is eddie anyway? I thought he'd be back modding by now.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

Teancum'

isn't that the CD-version of the game who only can do that? :o
User avatar
squipple
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Tue Jun 28, 2005 7:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by squipple »

You need to have the CD version for the BF2_modtools.exe to work, yes. And, just for informational purposes only, a backup of CD1 works fine too. Evidently no security check on that modtools exe.

Also, I tried messing around with the pausemenu.lua to try to get the expanded pausemenu to appear for those of us with the DVD version to get some of the modtool menu options, but had no luck. Maybe someone can figure that out.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

Hey, there you go. If you can get a backup of CD1 US you can use BF2_modtools.exe. How you get it is your own issue though.
Post Reply