|
|
Line 199: |
Line 199: |
|
| |
|
| I was looking at the attack moves on this page: http://wiki.oni2.net/OBD:BINA/OBJC/MELE/MoveList | | I was looking at the attack moves on this page: http://wiki.oni2.net/OBD:BINA/OBJC/MELE/MoveList |
| And I gave one a try, Attack Move #28 KF KF | | And I gave one a try, Attack Move #28 KF KF, but got an error in OniSplit. |
|
| |
|
| I used this code:
| | Edit: Cleaning up. |
|
| |
|
| <Technique>
| | [[User:EdT|EdT]] 03:56, 30 June 2008 (CEST) |
| <Name>Kick Forward2</Name>
| |
| <Flags />
| |
| <Weight>100</Weight>
| |
| <Offset_0138>10</Offset_0138>
| |
| <RepeatDelay>0</RepeatDelay>
| |
| <Moves>
| |
| <Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="5" />
| |
| <Attack Type="KF KF" />
| |
| <Maneuver Type="Pause" Duration="0.6" />
| |
| </Moves>
| |
| </Technique>
| |
|
| |
|
| And got this error:
| | It's KF_KF, I cannot have spaces in those names. |
|
| |
|
| System.ArgumentException: The requested value 'KF KF' was not found.
| | [[User:Neo|Neo]] |
| at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) [0x00000]
| |
| at System.Enum.Parse (System.Type enumType, System.String value) [0x00000]
| |
| at Oni.Xml.ObjcXmlImporter.ReadMeleeMove (System.Collections.Generic.List`1 moves) [0x00000]
| |
| at Oni.Xml.ObjcXmlImporter.ReadMeleeTechniques (System.String xmlName, System.Collections.Generic.List`1 moves) [0x00000]
| |
| at Oni.Xml.ObjcXmlImporter.ReadMeleeProfile () [0x00000]
| |
| at Oni.Xml.ObjcXmlImporter.ReadObject () [0x00000]
| |
| at Oni.Xml.ObjcXmlImporter.Import () [0x00000]
| |
| at Oni.Xml.ObjcXmlImporter.Import (System.Xml.XmlReader reader) [0x00000]
| |
| at Oni.Xml.XmlImporter.ReadObjectCollection () [0x00000]
| |
| at Oni.Xml.XmlImporter.Import (System.String filePath, System.String outputDirPath) [0x00000]
| |
| at Oni.Program.CreateFromXml (System.String[] args) [0x00000]
| |
| at Oni.Program.Main (System.String[] args) [0x00000] (1)
| |
|
| |
|
| [[User:EdT|EdT]] 03:56, 30 June 2008 (CEST)
| | Thanks, now do you think the names of the moves on the MoveList page should match the ones in OniSplit? |
| | For example on the MoveList page it has '''Throw-P Behind Disarm''' but OniSplit has it as '''P_BehindDisarm'''. |
| | There are many differences between the MoveList and OniSplit syntax. |
|
| |
|
| It's KF_KF, I cannot have spaces in those names.
| | I'm sure others will have the same issue as they start modifying the melee profile. |
|
| |
|
| [[User:Neo|Neo]] | | [[User:EdT|EdT]] 16:16, 30 June 2008 (CEST) |