XML:BINA/OBJC/NEUT: Difference between revisions
m (Iritscen moved page OBD talk:BINA/OBJC/NEUT to XML:BINA/OBJC/NEUT without leaving a redirect) |
Paradox-01 (talk | contribs) (+ temp + cat // incomplete table style update) |
||
| Line 1: | Line 1: | ||
= | {{XML_OBJC_Header | type=NEUT | prev=MELE | next=PART | name=Neutral behavior collection }} | ||
__TOC__ | |||
''' | ===general information=== | ||
* The xml code on this page is based on onisplit '''v0.9.61.0''' | |||
* '''BINACJBONeutral.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... ) | * '''BINACJBONeutral.oni''' is level specific. (It can be found in edition/GameDataFolder/level''XX''_... ) | ||
===file structure=== | |||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<Oni> | <Oni> | ||
| Line 71: | Line 70: | ||
{ | ===tags=== | ||
!XML tag | (Caution: change of table style in progress) | ||
! | {| class="wikitable" width="100%" | ||
! | !width=150px| XML tag | ||
!width=120px| content type | |||
! description | |||
|- | |- | ||
|<?xml version="1.0" encoding="utf-8"?> | | <?xml version="1.0" encoding="utf-8"?> | ||
| | | flag, float | ||
| | | Don't change this. | ||
|- | |- | ||
|valign=top|<Oni> | |valign=top| <Oni> | ||
| | | - | ||
| | | | ||
|- | |- | ||
|valign=top|<ObjectCollection> | |valign=top| <ObjectCollection> | ||
| | | | ||
| | | | ||
|- | |- | ||
|valign=top|<NEUT Id="1853"> | |valign=top| <NEUT Id="1853"> | ||
|Id doesn't matter here. | |Id doesn't matter here. | ||
| | | | ||
| Line 97: | Line 98: | ||
|- | |- | ||
|<Flags> | |<Flags> | ||
| | | | ||
| | | | ||
|- | |- | ||
|<Position> | |<Position> | ||
| | | float | ||
| | | useless here | ||
|- | |- | ||
|<Rotation> | |<Rotation> | ||
| | | float | ||
| | | useless here | ||
|- | |- | ||
|<OSD> | |<OSD> | ||
| | | - | ||
| | | | ||
|- | |- | ||
| Line 117: | Line 118: | ||
|- | |- | ||
|<NeutralId> | |<NeutralId> | ||
|used by [[ONCC]] and [[ | |used by [[XML:ONCC|ONCC]] and [[XML:BINA/OBJC/MELE|BINA/CJBO/MELE]] | ||
| | | | ||
|- | |- | ||
| Line 234: | Line 235: | ||
*OtherAnimOnce | *OtherAnimOnce | ||
|- | |- | ||
|valign=top|[[ | |valign=top|[[XML:StNA#animation_types|<Anim>]] | ||
| | | | ||
|valign=top| | |valign=top| | ||
| Line 272: | Line 273: | ||
*c03_12_09tctffag2 | *c03_12_09tctffag2 | ||
|} | |} | ||
{{XML}} | |||
Revision as of 14:21, 9 November 2012
| NEUT : Neutral behavior collection |
| |
|---|---|---|
| XML
AKEV << Other file types >> CONS TMBD << Other BINA >> ONIE MELE << Other OBJC >> PART |
general information
- The xml code on this page is based on onisplit v0.9.61.0
- BINACJBONeutral.oni is level specific. (It can be found in edition/GameDataFolder/levelXX_... )
file structure
<?xml version="1.0" encoding="utf-8"?>
<Oni>
<Objects>
[...]
</Objects>
</Oni>
[...] means at least one neutral behavior block. Paste all a behavior data into there (this includes <NEUT Id="..."> and </NEUT> tag).
example
<NEUT Id="1853">
<Header>
<Flags></Flags>
<Position>146.41217 -48.8205528 1027.55249</Position>
<Rotation>0 0 0</Rotation>
</Header>
<OSD>
<Name>Give VDG Pistol (CivFem)</Name>
<NeutralId>2</NeutralId>
<Flags>NoResumeAfterGive</Flags>
<Ranges>
<Trigger>100</Trigger>
<Talk>40</Talk>
<Follow>200</Follow>
<Enemy>70</Enemy>
</Ranges>
<Speech>
<Trigger>civfem_trigger</Trigger>
<Abort>civfem_abort</Abort>
<Enemy>civfem_enemy</Enemy>
</Speech>
<Script>
<AfterTalk></AfterTalk>
</Script>
<Rewards>
<WeaponClass>w6_vdg</WeaponClass>
<Ammo>0</Ammo>
<EnergyCell>0</EnergyCell>
<Hypo>0</Hypo>
<Other></Other>
</Rewards>
<DialogLines>
<DialogLine>
<Flags></Flags>
<Anim>0</Anim>
<OtherAnim>0</OtherAnim>
<SpeechName>civfem_gift_weapon</SpeechName>
</DialogLine>
<DialogLine>
<Flags>GiveItems</Flags>
<Anim>202</Anim>
<OtherAnim>0</OtherAnim>
<SpeechName></SpeechName>
</DialogLine>
</DialogLines>
</OSD>
</NEUT>
tags
(Caution: change of table style in progress)
| XML tag | content type | description |
|---|---|---|
| <?xml version="1.0" encoding="utf-8"?> | flag, float | Don't change this. |
| <Oni> | - | |
| <ObjectCollection> | ||
| <NEUT Id="1853"> | Id doesn't matter here. | |
| <Header> | ||
| <Flags> | ||
| <Position> | float | useless here |
| <Rotation> | float | useless here |
| <OSD> | - | |
| <Name> | ||
| <NeutralId> | used by ONCC and BINA/CJBO/MELE | |
| <Flags> |
| |
| <Ranges> | ||
| <Trigger> | second larges range, e.g. 100 | |
| <Talk> | shortest range, e.g. 40 | |
| <Follow> | larges range, e.g. 200 | |
| <Enemy> | third larges range, e.g. 70 | |
| <Speech> | ||
| <Trigger> | The actual talk. |
for example:
|
| <Abort> |
for example:
| |
| <Enemy> | You will be notified about enemies by the person you are talking to. |
for exampel:
|
| <Script> | ||
| <AfterTalk> | BSL function name, e.g. set_objective_3 | |
| <Rewards> | You can get rewards for saving people. A reward can be a weapon, ammo, cells, hypos, shield, phase cloak, and LSI. | |
| <WeaponClass> | any weapon, file name without prefix ONWC and suffix .oni; for exampel "w6_vdg" | |
| <Ammo> | number of ammo clips | |
| <EnergyCell> | number of energy cells | |
| <Hypo> | number of hypo sprays | |
| <Other> | combination possible |
|
| <DialogLines> | ||
| <DialogLine> | ||
| <Flags> |
| |
| <Anim> |
| |
| <OtherAnim> | ||
| <SpeechName> |
for example:
|
