Modding => Help! => Topic started by: lunar on August 10, 2018, 04:06:19 pm
Title: Unit's ids
Post by: lunar on August 10, 2018, 04:06:19 pm
hello. I have been searching and trying to locate all the unit ids but seem to have trouble doing this. Can some one lead me in the right direction.
Title: Re: Unit's ids
Post by: Xifanie on August 10, 2018, 05:26:55 pm
Unit IDs are pretty much always the unit's main job ID or "Sprite" ID in FFTPatcher, unless the unit is generic or a ghost unit, then it starts with 0x80 and goes up. I don't know if that helps.
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 05:29:23 pm
ok Ill try that and let you know if it helped.
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 06:03:15 pm
ok here is the problem now. I'm trying to change Ramza's sprite to this x16: Critical/Bow here is the line i am using UnitAnim(x00,x02,x16,x00). I need a little help on this thats why i asked about unit ids if figure out how to do event editing but it seems i have failed so far.
Title: Re: Unit's ids
Post by: Xifanie on August 10, 2018, 06:18:13 pm
You're trying to use the old format with the newer versions of the tools. The tutorial hasn't been edited yet to reflect that, sorry.
You'll want to look at this: http://ffhacktics.com/wiki/Event_Instruction_11
You can check the wiki about the proper structure of each instruction and in-depth details: http://ffhacktics.com/wiki/Event_Instructions
PS: You should be able to just copy the text of an error dialog box by pressing ctrl+c to copy it. PPS: If that fails, you can use Alt+Printscreen to only screenshot the currently selected window and not your entire monitor.
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 06:22:53 pm
ok. so for the au and mt i put 02 for ramza?
Title: Re: Unit's ids
Post by: Nyzer on August 10, 2018, 09:51:22 pm
IIRC, that will indeed make Ramza crouch.
In addition to everyone else on the field.
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 09:53:29 pm
well i did try it like that but it still showed the same error.
Title: Re: Unit's ids
Post by: Xifanie on August 10, 2018, 10:21:49 pm
I'm guessing all the UnitAnims in that event are improperly formatted and not just one. If you still get the error after verifying everything, post your event script in a spoiler.
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 10:29:01 pm
well i know it is just that one that i have showed you because i deleted the all of the other ones. but it still worked normally, but as i tried to put this one in it wouldn't work.
{Offset(x00004000) //Remove the previous line if you wish not to override the offset in CONFIG.INI. //Text(x000008F9) //Remove the previous line if you wish text to compile directly after instructions.
Title: Re: Unit's ids
Post by: Xifanie on August 10, 2018, 10:37:48 pm
There are two in the event: UnitAnim(x00,x02,x00,x16) <-- This is not the right format, and all it would do is target all enemy teams and make the units disappear, leaving just a shadow. UnitAnim(x34,x00,x0004,x00)
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 10:39:30 pm
oh i see what i have to do now i was doing wrong.
Title: Re: Unit's ids
Post by: lunar on August 10, 2018, 10:45:31 pm
OK. I have fixed it and it works here is what i had to do: