• Welcome to Final Fantasy Hacktics. Please login or sign up.
 

Hello Elric sorry again!

Started by Hyraldelita, July 04, 2015, 08:58:47 pm

Hyraldelita

hello again ..

I'll post it here this time ^^

The event start and nothing crash, The Npc are the right one but i can't get why Delita doesn't move which is what i wanted but Teta walk standing which i don't want, plus she doesn't don't follow the walkto commands, pretty sure i messed up, so as you said this can be usefull for other very beginner like me.

Ah another thing Teta do say her first sentence but the dialog doesn't close and Delita doesn't speak, and Teta dialog baloon is a bit maybe 1 tile off Teta head.

Offset(x00004000)

UnitAnim(x02,x00,x02,x00,x00)

UnitAnim(x1C,x00,x02,x00,x00)

{63}(rC9)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00001)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)
{4D}(r78)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)

Wait(00200)

DisplayMessage(x10,x91,x0001,x1C,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x1C,x00)
ChangeDialog(xC1,xFFFF,x00,x00)
DisplayMessage(x10,x91,x0001,x05,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x05,x00)
BlockStart()
WalkTo(x1C,x00,006,004,x00,x00,+016,x01)
WaitWalk(x1C,x00)
WalkTo(x1C,x00,005,004,x00,x00,+016,x01)
WaitWalk(x1C,x00)
WalkTo(x1C,x00,000,006,x00,x00,+016,x01)
WaitWalk(x1C,x00)
RotateUnit(x1C,x00,x07,x00,x00,000)
WaitRotateUnit(x1C,x00)
BlockEnd()
Wait(01000)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START

//Message x01
{font:08}Teta{br}
{font:00}Brother.. we must go.{end}

//Message x02
{font:08}Delita{br}
{font:00}Yea.. I'ts getting late.{end}


If you can explain in details cause i tried to follow the guide you put on the section, and i tried for 2 or 3 hours but couldn't fix the problem, so try to explain like if im stupid, well maybe i really am but that's another matter..

3lric

July 04, 2015, 09:19:05 pm #1 Last Edit: July 04, 2015, 09:35:08 pm by Elric
You have 02 and 1C as the unit IDs. Which one is Teta and which one is Delita?
The fact that you say that Teta still walks lead me to believe you didn't set her ID correctly in the ENTD. Check again, and post what ID's you used for Delita and Teta in the ENTD.

You are using the Unit ID's for the first byte in the WaitForInstruction. This is incorrect. In the way you are using it, it should be 01.
(x01 means it will wait until that message is completed before moving onto the next command)

You have both DisplayMessage  set to message 0001. The second one should be 0002, unless you want to play the 1st message twice.

Change the x91 in the DisplayMessages to x11. You aren't adding extra messages to the same box so ChangeDialog is redundant
- After you change those commands to x11, remove the ChangeDialog command altogether, you don't need it for what you are doing.

Everything else is fine.

Also, "Yea..." should be "Yeah..."  ;)

(I want to show you an example of what it SHOULD look like, but i need to know what your ENTD ID's are set to, cuz from what you say, i can tell they are incorrect)
  • Modding version: PSX

Hyraldelita


I was using the wrong ID on Delita is 05 and not 02, and 1C is Teta
on the Endt i don't know why teta was FF and delit 2.
that's why they didn't follow the command!

you're 100% right (off course..) Now it work fine i just need to put a little delay between the 2 message cause they are too fast, and slow down teta, cause she run like there is no tomorrow hahaha, but i think i'll take forever to understand how can i make the camera follow Teta when she go on the other side of the wall.

3lric

You have the walk speed set to +016, +008 is normal walk speed.

What map are you using, I can show you how to do that with the camera
  • Modding version: PSX

Hyraldelita

July 04, 2015, 11:46:25 pm #4 Last Edit: July 04, 2015, 11:55:43 pm by Hyraldelita
yea that would be best.. no matter what option i change , everything is fine but when i want to turn the camera While delita is walking but following Teta the screen goes black i tried to copy the same camera movement in the event in the same map

{63}(rC9)
Camera(+00168,-01389,+00392,+00174,+03584,+00000,+04096,+00001)
{4D}(r78)
Camera(+00168,-01389,+00392,+00174,+03584,+00000,+04096,+00001)
UseFieldObject(x05,x00)
WaitFieldObject()

The map is the one you fight with wiegraf after Alma has been kidnapped by Izlude. inside the Monastery Underground book storage 1st floor

Ah Elric i don't know if someone told you but, some image and video link in your tutorial doesn't work animore.

3lric

First remove that:

UseFieldObject(x05,x00)
WaitFieldObject()

Rule of thumb, if you don't know what it is, don't use it. Use the wiki here for commands:
http://ffhacktics.com/wiki/Event_Instructions

You can easily break down commands like this, and see what everything does.

ADD this camera right before Alma starts to walk (Only add this)
Camera(+00560,-00048,+00100,+00302,+03584,+00000,+04096,+00060)

This should make the camera move south as she is exiting the screen, South is the correct direction if you look at the map since she walks toward 00,06. and remember the Camera format is XXXXX,ZZZZZ,YYYYY. So you needed to lower the YYYYY which I've brought down to 100. You can change the speed to make it fast by decreasing the last byte (Currently 00060) or make it slower by raising the number.



  • Modding version: PSX

Hyraldelita

Ok i tried and i does move the camera to south... even if neither of alma or delita goes to the tile i tell them to go.. (but why a warp sound goes in loop after the camera move?)

But that's not the problem!

I didn't want to move the camera, i wanted to rotate it by 90 degree to follow Teta.

i went and check cause i didn't want to bother but i didn't find anithing to Rotate camera , you know like when you use l1 or r1 so you can see Teta n the other side and Delita that comes after.

There is not a standard command for rotate camera? cause all these number and value are so much confusing, it would be lot easier just to know a fixed command to rotate and how much it does it.
I pretty much understood the rest of the things, well i'll have to try here and there with char and speech but the camera as oyu said in the tutorial is pretty much confusing, at least for the rotate part, i never even tried to move the camera even if i will need it for sure if i start to make events.


3lric

Bro, you need to use the link I sent you.
http://ffhacktics.com/wiki/Event_Instruction_19

CAMRT is Camera Rotate...

There are very few people around here who event. You need to study that page, or the commands in EasyVent, Xif wrote explanations for every known command and did an awesome job. All the stuff you are asking about is documented on there. I'd also suggest looking at some vanilla events.

Not trying to be negative, but you will never learn this by someone showing you, you also need to spend more time looking at the event instructions and descriptions, that's why they exist :P
  • Modding version: PSX

Hyraldelita

July 05, 2015, 10:17:27 am #8 Last Edit: July 05, 2015, 10:56:01 am by Hyraldelita
Ok thanks.. i will try to hit my head on this a bit more, and i'll tell you the results if there are any.

Ok, i tried this Camera command

Camera(+00000,-00000,+00000,+00302,-00512,-00100,+04096,+00100)

And does exatly what i want, except the fact that it make a complete 360degree turn with the camera while i put -00512 cause i just wanted a 0,45 degree turn.
what did i do wrong this time?

does the absence 00000 in Y z x make this? i really can't understand why , i tried different options but it always do a complete turn around.

Xifanie

July 05, 2015, 11:19:04 am #9 Last Edit: July 05, 2015, 05:10:32 pm by Xifanie
I'm a bit confused by what you're trying to achieve, especially without seeing the new updated script.

http://ffhacktics.com/wiki/Event_Instruction_19#Map_Rotation_:_Half-Word_.28signed.29
If you read there, you should try to avoid +03584; use -00512 instead.

Are you trying to rotate the camera?
If so, I really have no idea what your base rotation value is, so it's a bit hard to help

Looking at your first post (sorry it's a bit hard to follow if it's not relevant anymore) you can replace this:
{63}(rC9)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00001)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)
{4D}(r78)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)

With this:
Camera(+00560,-00048,+00560,+00302,-00512,+00000,+04096,+00001)
//Below instruction is {4D}(r78) in the old version
Reveal(120)


You really should be using the latest configuration for the compiler/decompiler.
http://xifanie.ffhacktics.com/CONFIG.INI

And you should not be using any instruction that you don't know what it does... because it might do something you don't want it to do.
{63}(rC9) what does that do? ¯\(°_o)/¯ I don't fucking know. Do you? Trash it!
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Hyraldelita

July 05, 2015, 11:45:01 am #10 Last Edit: July 05, 2015, 01:09:12 pm by Hyraldelita
Thanks a lot for your help^^

I'm slowly getting the result i want , and i'm very happy about it!
I just need some fixes and i'm done with the basic understanding ^^

I really want to show you guys a simple event as soon as i can so that you can see your time is not wasted.

How can i record an event from my computer? do you know a program to record what's happening on the screen?

I fixed all the camera problems i had.

i'm trying to add ramza and Alma to the event, the camera look the right place, the dialog baloon are in the right place but the unit doesn't join the sceen =/

Offset(x00004000)

UnitAnim(x05,x00,x02,x00,x00)

UnitAnim(x1C,x00,x02,x00,x00)

UnitAnim(x01,x00,x02,x00,x00)

UnitAnim(x14,x00,x02,x00,x00)

{63}(rC9)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+000001)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+000128)
{4D}(r78)
Camera(+00560,-00048,+00560,+00302,-00526,+00000,+04096,+00128)
Wait(00200)

DisplayMessage(x10,x11,x0001,x1C,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x1C,x01)
Wait(00148)
DisplayMessage(x10,x11,x0002,x05,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x05,x00)
Wait(00020)
Camera(+00000,-00000,+00896,+00302,+00526,-00000,+04096,+00100)
WalkTo(x1C,x00,006,000,x00,x00,+008,x01)
WaitWalk(x1C,x00)
RotateUnit(x1C,x00,x07,x00,x00,000)
WaitRotateUnit(x1C,x00)
Wait(00010)
WalkTo(x05,x00,005,000,x00,x00,+008,x01)
WaitWalk(x05,x00)
Wait(00120)
RemoveUnit(x1C,x00)
RemoveUnit(x05,x00)
Camera(+00000,-00000,+00896,+00302,-00526,-00000,+04096,+00100)
Wait(00150)
AddUnitStart()
AddUnit(x01,x00,x01)
AddUnit(x14,x00,x01)
AddUnitEnd()

WalkTo(x01,x00,000,012,x00,x00,+008,x01)
WalkTo(x14,x00,001,012,x00,x00,+008,x01)

UnitAnim(x01,x00,x02,x00,x00)

UnitAnim(x14,x00,x02,x00,x00)

WalkTo(x01,x00,012,000,x00,x00,+008,x01)
WaitWalk(x01,x00)
WalkTo(x14,x00,012,001,x00,x00,+008,x01)
WaitWalk(x14,x00)
DisplayMessage(x10,x11,x0003,x14,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x14,x00)
Wait(00148)
DisplayMessage(x10,x15,x0004,x01,x00,x00,+00000,+00000,+00000,x03)
WaitForInstruction(x01,x00)
Wait(00300)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START

//Message x01
{font:08}Teta{br}
{font:00}Brother.. we must go.{end}

//Message x02
{font:08}Delita{br}
{font:00}Yeah.. I'ts getting late.{end}

//Message x03
{font:08}Alma{br}
{font:00}I missed this place.{end}

//Message x04
{font:08}Ramza{br}
{font:00}Izlude...{end}

This is the whole event for now, everything work perfectly but Ramza and Alma doesn't join. this is Alma screenshot of the ENTD

Quote


And it does Exist a Fade off Camera effect? i mean i know it exist cause the game does it, but i didn't found it in any list.

Xifanie

July 05, 2015, 01:08:33 pm #11 Last Edit: July 05, 2015, 05:10:19 pm by Xifanie
Did you draw your characters?
Either set them "Always Present" in the ENTD or use the Draw(xID,x00) event instruction.
If your character is already drawn, if their X/Y coordinates are on an unwalkable tile, they won't appear either.

To record, I use OBS, but that requires W7 at the very least.

And since this is still relevant:
Quote from: Xifanie on July 05, 2015, 11:19:04 am
Looking at your first post (sorry it's a bit hard to follow if it's not relevant anymore) you can replace this:
{63}(rC9)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00001)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)
{4D}(r78)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)

With this:
Camera(+00560,-00048,+00560,+00302,-00512,+00000,+04096,+00001)
//Below instruction is {4D}(r78) in the old version
Reveal(120)


You really should be using the latest configuration for the compiler/decompiler.
http://xifanie.ffhacktics.com/CONFIG.INI

And you should not be using any instruction that you don't know what it does... because it might do something you don't want it to do.
{63}(rC9) what does that do? ¯\(°_o)/¯ I don't fucking know. Do you? Trash it!
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Hyraldelita

July 05, 2015, 03:39:09 pm #12 Last Edit: July 05, 2015, 04:59:59 pm by Hyraldelita
Ok...
After spending another morning and evening on this thing..
I menaged to make the npc appear, but they don't walk in the screen they are there from the start.

I read how the draw command work , but i don't really understand it  when i use it absolutely nothing happen.

The dialague over Ramza and Alma head are out of line, it start from they're chest instead of the head, which is weird cause Delita and Teta work perfectly fine.

Following Elric guide, if i put the Char ID it should center the dialogue baloon automaticly, and it work with Teta and Delita but not with Ramza and Alma.

I used the same identical command, i just changed the Char ID, and off course the Char position in the Endt.

And sorry Xifanie you didn't tell me there is a fade out, for the end of the event.

(i changed the Config.INI as you told me. but when i use the event compiler a message tell me "r" is not a valid integer value, and it does only with the new CONFIG file i changed, with the old one it doesn't do it)

That camera command you told me to replace is the one that Elric wrote in his guide, and it actually work perfectly fine.

The one you wrote under it, is the one i used to move the camera 2 time in the event and that work fine too.

But i still got the problem i wrote in this post =/

I found out that the Rotate command doesn't work either, i mean it doesn't work with me scripting it.

Xifanie

July 05, 2015, 05:08:21 pm #13 Last Edit: July 05, 2015, 05:31:45 pm by Xifanie
You should really check the original game's events, it's a great way to learn how they work.

Not sure what you're missing there
Draw(x05,x00)
Draw(x1C,x00)


This will make the background sounds silent and fade the screen to black over 2 seconds (you edited your post after I posted, and couldn't remember on hand):
FadeSound(x00,120)
ColorScreen(x02,000,000,000,255,255,255,+00120)
WaitForInstruction(x0C,x00)


You wouldn't have that error with the new config.ini if you changed the instructions like I told you to.
Quote from: Xifanie on July 05, 2015, 11:19:04 am
Looking at your first post (sorry it's a bit hard to follow if it's not relevant anymore) you can replace this:
{63}(rC9)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00001)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)
{4D}(r78)
Camera(+00560,-00048,+00560,+00302,+03584,+00000,+04096,+00128)

With this:
Camera(+00560,-00048,+00560,+00302,-00512,+00000,+04096,+00001)
//Below instruction is {4D}(r78) in the old version
Reveal(120)


You really should be using the latest configuration for the compiler/decompiler.
http://xifanie.ffhacktics.com/CONFIG.INI

And you should not be using any instruction that you don't know what it does... because it might do something you don't want it to do.
{63}(rC9) what does that do? ¯\(°_o)/¯ I don't fucking know. Do you? Trash it!


You'll also need to change RotateUnit to the new format.

PS: It's a really, really bad idea to not listen to me. I'm just trying to help.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

Hyraldelita

July 05, 2015, 05:24:12 pm #14 Last Edit: July 05, 2015, 05:45:27 pm by Hyraldelita
Trust me i'm tryingto listen to you as much as i can , but after 9 hours of trying to understand things, i miss a lot of things XD

Yesterday i did the same , maybe more then 10 hours, i just want to learn how to event very badly, but is my first time editing script, even something that looks pretty easy and Obvious for you, might be hard to get for me.

Sorry for my dumb side.

ok the rotate is working too!^^

The only think i got to understand is why the dialogue are right on delita and teta but wrong on alma and ramza, it's not on their head, it's on their chst.

3lric

July 05, 2015, 07:06:51 pm #15 Last Edit: July 05, 2015, 07:33:09 pm by Elric
Dude, take Ramza and Alma off Randomly present. They should just be set to always present. Randomly present is for stuff like special effects and random battles.

also

Quote from: Hyraldelita on July 05, 2015, 05:24:12 pm
The only think i got to understand is why the dialogue are right on delita and teta but wrong on alma and ramza, it's not on their head, it's on their chst.


the display message doesn't move the camera. if they aren't in a good spot to display the message it will do the best it can. You need Ramza/Alma to be closer to the middle of the screen. Otherwise there isn't room to display the message directly above or below the unit.

x11 will show it above the character,
x12 will show it below them
  • Modding version: PSX

Hyraldelita

Ok after more then 13 hours trying to do this i can say i really don't get HOW TO make character walk in to the map..

Everything is working fine now.. i menaged to fix all the small problems, walk dialogue go here go there, and camera is ok.

But no matter what i do no matter what kind of Command i use Characters NEVER join the map, are either Not visible or already inside the map standing.

i have always present on Delita and Teta, cause i want them to start there, they say 2 things and walk away, and this work fine.
But i want Ramza and Alma to enter the map toghether, then moving to a spot and say something.

If they start inside the map , they do all without problem.
But how do i make them walk in to the map?

Elric or Xifanie, can you write me down the command to make Ramza and Alma Walk in the map in the tile i will show you in the picture?
I'm pretty sure this will cut down 50% of all my problems.
I bet my life that is a very stupid script, but i'm too noob to find out myself, i tried for hours, all the command i saw in the other event, from warpin to add unit to addunistart, draw ecc ecc God only knows how many itried.


hosting immagini

3lric

July 05, 2015, 09:00:12 pm #17 Last Edit: July 05, 2015, 09:18:21 pm by Elric
Now -I'M- confused, because I thought you said you read my tutorial. If you had, you'd have seen this.





WALK IN FROM SOUTHERN EDGE OF MAP. UNIT MUST BE ERASED OR NOT PRESENT (WITH ADDUNIT)
BEFORE THIS COMMAND SET. REMOVE BLOCK (START & END) IF YOU DO NOT WANT COMMANDS
FOLLOWING THIS TO HAPPEN AT THE SAME TIME AS THIS

BlockStart()
SpriteMove(x01,x00,+00000,+00000,-00014,x00,x01,+00000)
ColorUnit(x01,x00,x01,-006,-004,-002,000)
Wait(00002)
Draw(x01,x00)
ColorUnit(x01,x00,x08,+000,+000,+000,004)
SpriteMove(x01,x00,+00000,+00000,+00000,x00,x01,+00018)
WaitSpriteMove(x01,x00)
WalkTo(x01,x00,001,005,x00,x00,+008,x01)
WaitWalk(x01,x00)
UnitAnim(x01,x00,x0002,x00)
BlockEnd()








ADD UNITS INTO EVENT AFTER TELEPORT OUT, OR IF NOT SET TO ALWAYS PRESENT
IN ENTD

AddUnitStart()
AddUnit(x01,x00,x01)
AddUnit(x0D,x00,x01)
AddUnit(x0F,x00,x01)
AddUnitEnd()
WaitAddUnitEnd()






Obviously the filled in ID's are just placeholders from my examples. So you'd need to change these. Also, this will make them fade in from one tile south and you want the north, so you'd need to reverse the spritemoves. Lookup the spritemove command for this and note the XXXXX ZZZZZ YYYYY, and adjust accordingly.

Your mistake was thinking that you could just move them off the map or something to achieve this, and you cannot, it doesn't work that way, you need to actually move the sprite (with spritemove) while its erased and then make it a dark color. then draw and fade it back to the normal color as you are returning the spritemove to 00000,00000,00000, which is all listed above.

The AddUnit i added is how to bring in a unit that is not set to always present in the ENTD, otherwise you can just use the draw command as normal when set to always present.

I still stand firm in believing that you are trying to do this too quickly, and that you need to take the time to look at how vanilla events were made, and reading up on the commands.

Another thing to note is that spritemove is based on current location of the sprite, not absolute location. Which means if you reset the spritemove to 00000,00000,00000 the sprite will return to where the data is placed, which in this case would be 00,12 (for Ramza) this is why you'd need to use spritemove to move Ramza's image up 1 Tile, since you can't actually walkto or place or warp them to a spot off the map, since it is programmed as unwalkable. So your XXXXX,ZZZZZ,YYYYY for his sprite move specifically would be +00000,+00000,+00028. because when he draws and starts to move back to 00000,00000,00000 he will appear to be fading in from off the map and is walking to 00,12.
  • Modding version: PSX

Hyraldelita

Ok i did see that and i did tried it out Elric,

ADD UNITS INTO EVENT AFTER TELEPORT OUT, OR IF NOT SET TO ALWAYS PRESENT
IN ENTD

AddUnitStart()
AddUnit(x01,x00,x01)
AddUnit(x0D,x00,x01)
AddUnit(x0F,x00,x01)
AddUnitEnd()
WaitAddUnitEnd()

i just didn't know all the other things you told me, now it's kinda working , i just have to fix some minor things, like Char not moving like before and Alma ignoring Height for no reason ... They were perctly walking before XD

Hyraldelita

And finally! After 3 days of struggle i finished!

It's very very simple but i'm glad of the result even if the video sucks...

I didn't understand how to record video with the program Xifanie told me, it was too complicated for me -.-

so i did one with my camera, sorry for the quality, but i just wanted to show that things works, and is thanks to you guys!^^

I hope the link work!

https://www.youtube.com/watch?v=IP34kTTFv1g&feature=youtu.be