Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: 3gtheepic on September 23, 2016, 05:56:09 PM

Title: How to get coords for camera (for small cutscenes)
Post by: 3gtheepic on September 23, 2016, 05:56:09 PM
I can't seem to get the camera coords right. Every time I think I put in the right coords,  the camera ends up being under the floor. Any help?


Also, sorry I'm asking too much questions, I'm new to modding.
Title: Re: How to get coords for camera (for small cutscenes)
Post by: DaBOSS54320 on September 23, 2016, 10:17:11 PM
Add to the Z (3rd) coordinate, it represents height.
Title: Re: How to get coords for camera (for small cutscenes)
Post by: 3gtheepic on September 24, 2016, 09:22:27 AM
Thanks.
Title: Re: How to get coords for camera (for small cutscenes)
Post by: 3gtheepic on September 25, 2016, 04:34:02 PM
I tried using your coord grabber for camera but everytime I put in the coords, the camera just goes somewhere else! (i suck at modding) :-(


Title: Re: How to get coords for camera (for small cutscenes)
Post by: DaBOSS54320 on September 25, 2016, 08:10:13 PM
Which one? Send me a link and I'll tell you if it's still working or not or if I know of any issues.
Title: Re: How to get coords for camera (for small cutscenes)
Post by: 3gtheepic on September 26, 2016, 07:03:43 PM
Sorry, but I lost
the link to the coord grabber and I couldnt find the link on bully board :-(

i suck  >:(
Title: Re: How to get coords for camera (for small cutscenes)
Post by: 3gtheepic on September 28, 2016, 06:58:41 PM
wait, this is the one I used

http://www.mediafire.com/file/zh6jyh5dw4xc1xc/Coordinates.rar
Title: Re: How to get coords for camera (for small cutscenes)
Post by: DaBOSS54320 on September 28, 2016, 08:02:31 PM
Show me the code you're trying to use and what it looks like in-game.
Title: Re: How to get coords for camera (for small cutscenes)
Post by: 3gtheepic on September 28, 2016, 08:42:59 PM
Here is the code:

Code: [Select]
CameraSetXYZ(-502.24,315.73,32.63)
TextPrintString("Jimmy: Have you heard that the townies are planning to come here, and beat everybody up?",10,2)
Wait(2500 * (125 / 100))
TextPrintString("Pete: Well, really? I thought that already happened?",10,2)
Wait(2500 * (125/100))
TextPrintString("Jimmy: No time to talk, I think they are here!",1,2)
Wait(1275)
PedWander(pete,true)
CameraSetWidescreen(false)
SoundEnableSpeech()
PlayerSetControl(1)
CameraReset()
CameraReturnToPlayer()
F_ConfrontThem()


here is the picture:


http://imgur.com/a/ffR0X

Title: Re: How to get coords for camera (for small cutscenes)
Post by: DaBOSS54320 on September 30, 2016, 03:13:48 PM
Make sure to also set where the camera looks at.

CameraSetXYZ(x1,y1,z1,x2,y2,z2)

x1,y1,z1: Where the camera will be at.
x2,y3,z2: Where it will be pointing at.