Modding => Event Editing => Topic started by: Arsipsik on March 12, 2013, 09:26:30 pm
Title: Event Editing - Camera Movement Problems
Post by: Arsipsik on March 12, 2013, 09:26:30 pm
Hey guys. I am brand new here but having been trolling the forums and learning to do some modding.
I recently started doing some event editing but am having a few issues with camera movement.
In a nutshell, I have Ramza standing in the 099 - Main Street of Lesalia map at x=8 y=3. I have him travel a few tiles forward and then back to his original position.
However, when he moves forward I tried having the camera following him by moving it up the Y axis a few tiles. Then when he comes back the camera would return to its original position as well.
The issue I am having is that on the camera movement when he walks forward the camera moves in the wrong direction. It also seems that whatever changes I make, it doesn't seem to affect that first camera move. The camera command in bold seems to be where I am having problems.
Any ideas what i'm doing wrong here?
Offset(x00004000)
UnitAnim(x01,x00,x02,x00,x00)
{63}(rC9) //Fade in to map Camera(-00000,-00000,-00000,+00302,-00000,-00000,+04096,-00000) Camera(-00000,-00000,-00000,+00302,-00000,-00000,+04096,-00000) {4D}(r78) Camera(+00896,-00000,+00336,+00302,+00512,-00000,+04096,+00360) WaitForInstruction(x04,x00) {63}(rAA)
//Message x01 {font:08}{This is a test event!{end}
//Message x02 {font:08}{Ramza}{br} {font:00}That's all folks!{end}
Title: Re: Event Editing - Camera Movement Problems
Post by: 3lric on March 13, 2013, 01:21:37 am
Check out my (WIP) Tutorial on event editing. I covered Camera commands in that.
Title: Re: Event Editing - Camera Movement Problems
Post by: Arsipsik on March 13, 2013, 12:51:45 pm
Thanks for the reply, Elric. I did follow your 101 tutorial when I was creating the event but I'm thinking I may have missed something. I'll review your tutorial and do some testing tonight.
Title: Re: Event Editing - Camera Movement Problems
Post by: Arsipsik on March 13, 2013, 08:40:42 pm
Hm, still no dice. I am doing a +600 on the Y-axis only but the camera continues to move in the direction I don't want it to. I even tried doing -600 and the camera moves in the exact same direction, as if I didn't change anything. It's the strangest thing.
Edit: Adding a visual reference. I expect the camera to move in the direction of the red arrow but no matter what I do it moves in the yellow arrow direction.
(http://i.imgur.com/W5Z5BtM.png)
Title: Re: Event Editing - Camera Movement Problems
Post by: Arsipsik on March 14, 2013, 10:53:24 am
Success! :mrgreen: Seems that for whatever reason I need some extra camera commands.
//Message x01 {font:08}{Ramza}{br} {font:08}This is a test event!{end}
//Message x02 {font:08}{Ramza}{br} {font:00}That's all folks!{end}
Title: Re: Event Editing - Camera Movement Problems
Post by: 3lric on March 14, 2013, 04:27:26 pm
PM me on IRC in about 3 hours if you can. I can explain why that happened. Also please use the edit button next time instead of a triple post. Thank You and welcome to FFH