8,484
edits
Paradox-01 (talk | contribs) mNo edit summary  | 
				Paradox-01 (talk | contribs)  m (osv update)  | 
				||
| Line 89: | Line 89: | ||
==XML==  | ==XML==  | ||
{{Template:XMLModdingHints}}  | {{Template:XMLModdingHints}}  | ||
| Line 101: | Line 100: | ||
'''XML structure'''  | '''XML structure'''  | ||
: for onisplit v0.9.59.0  | |||
  <?xml version="1.0" encoding="utf-8"?>  |   <?xml version="1.0" encoding="utf-8"?>  | ||
  <Oni   |   <Oni>  | ||
     <  |      <Objects>  | ||
         '''''[...]'''''  |          '''''[...]'''''  | ||
     </  |      </Objects>  | ||
</Oni>  | |||
'''''[...]''''' means at least one character. Paste all character data into there (this includes '''<font color="#0A0"><  | '''''[...]''''' means at least one character. Paste all character data into there (this includes '''<font color="#0A0"><CHAR Id="..."></font>''' and '''<font color="#0A0"></CHAR></font>''' tag).  | ||
'''example'''  | '''example'''  | ||
         '''<font color="#0A0"><  |          '''<font color="#0A0"><CHAR Id="3860"></font>'''  | ||
             <Header>  |              <Header>  | ||
                 <Flags>  |                  <Flags></Flags>  | ||
                 <Position>  |                  <Position>-543.22 159 -630.0954</Position>  | ||
                 <Rotation>0   |                  <Rotation>0 180 0</Rotation>  | ||
             </Header>  |              </Header>  | ||
             <OSD>  |              <OSD>  | ||
                 <Flags>  |                  <Flags>NotInitiallyPresent</Flags>  | ||
                 <Class>  |                  <Class>konoko_generic</Class>  | ||
                 <Name>  |                  <Name>konoko</Name>  | ||
                 <Weapon></Weapon>  |                  <Weapon>w1_tap</Weapon>  | ||
                 <Scripts>  |                  <Scripts>  | ||
                     <Spawn></Spawn>  |                      <Spawn></Spawn>  | ||
                     <Die></Die>  |                      <Die>you_lose</Die>  | ||
                     <Combat></Combat>  |                      <Combat></Combat>  | ||
                     <Alarm></Alarm>  |                      <Alarm></Alarm>  | ||
| Line 136: | Line 136: | ||
                 <AdditionalHealth>0</AdditionalHealth>  |                  <AdditionalHealth>0</AdditionalHealth>  | ||
                 <Job>  |                  <Job>  | ||
                     <Type>  |                      <Type>None</Type>  | ||
                     <PatrolPathId>0</PatrolPathId>  |                      <PatrolPathId>0</PatrolPathId>  | ||
                 </Job>  |                  </Job>  | ||
                 <Behaviors>  |                  <Behaviors>  | ||
                     <CombatId>  |                      <CombatId>0</CombatId>  | ||
                     <MeleeId>  |                      <MeleeId>0</MeleeId>  | ||
                     <NeutralId>0</NeutralId>  |                      <NeutralId>0</NeutralId>  | ||
                 </Behaviors>  |                  </Behaviors>  | ||
                 <Inventory>  |                  <Inventory>  | ||
                     <Ammo>  |                      <Ammo>  | ||
                         <Use>  |                          <Use>3</Use>  | ||
                         <Drop>0</Drop>  |                          <Drop>0</Drop>  | ||
                     </Ammo>  |                      </Ammo>  | ||
| Line 166: | Line 166: | ||
                     </Invisibility>  |                      </Invisibility>  | ||
                 </Inventory>  |                  </Inventory>  | ||
                 <Team>  |                  <Team>Konoko</Team>  | ||
                 <  |                  <AmmoPercentage>100</AmmoPercentage>  | ||
                 <Alert>  |                  <Alert>  | ||
                     <Initial>  |                      <Initial>Lull</Initial>  | ||
                     <Minimal>Lull</Minimal>  |                      <Minimal>Lull</Minimal>  | ||
                     <  |                      <JobStart>Low</JobStart>  | ||
                     <  |                      <Investigate>Medium</Investigate>  | ||
                 </Alert>  |                  </Alert>  | ||
                 <AlarmGroups>0</AlarmGroups>  |                  <AlarmGroups>0</AlarmGroups>  | ||
                 <Pursuit>  |                  <Pursuit>  | ||
                     <  |                      <StrongUnseen>Look</StrongUnseen>  | ||
                     <  |                      <WeakUnseen>Forget</WeakUnseen>  | ||
                     <StrongSeen>  |                      <StrongSeen>Look</StrongSeen>  | ||
                     <WeakSeen>  |                      <WeakSeen>Look</WeakSeen>  | ||
                     <Lost>  |                      <Lost>ReturnToJob</Lost>  | ||
                 </Pursuit>  |                  </Pursuit>  | ||
             </OSD>  |              </OSD>  | ||
         '''<font color="#0A0"></  |          '''<font color="#0A0"></CHAR></font>'''  | ||
You can add another character data block beneath an </Object> tag. (Well, add as much characters as you want.)    | You can add another character data block beneath an </Object> tag. (Well, add as much characters as you want.)    | ||
| Line 197: | Line 198: | ||
|  | |  | ||
|-  | |-  | ||
|valign=top|<Oni Version="...">  | |valign=top|<Oni>  | ||
|In old versions <Oni Version="..."><br>(If onisplit exe was newer then extracted file then file couldn't be converted back to *.oni)  | |||
|  | |  | ||
|-  | |-  | ||
|valign=top|<  | |valign=top|<Objects>  | ||
|  | |  | ||
|  | |  | ||
|-  | |-  | ||
|valign=top|<  | |valign=top|<CHAR Id="3860">  | ||
|Id doesn't matter   | |Id doesn't matter.  | ||
|  | |  | ||
|-  | |-  | ||
| Line 214: | Line 215: | ||
|-  | |-  | ||
|<Flags>  | |<Flags>  | ||
|unknown; usually   | |unknown; usually empty  | ||
|  | |  | ||
|-  | |-  | ||
| Line 232: | Line 233: | ||
|valign=top|determines some special properties  | |valign=top|determines some special properties  | ||
|  | |  | ||
: IsPlayer (if you have two of them then delete one and spawn the other one at same time, if not made simultaneously camera glitch can appear)  | |||
: IsPlayer (if you have two of them then delete one and spawn the other one at same time)  | |||
: RandomCostume (flag belongs to [[OBD_talk:ONCV|ONCV]])  | : RandomCostume (flag belongs to [[OBD_talk:ONCV|ONCV]])  | ||
: NotInitiallyPresent  | : NotInitiallyPresent  | ||
| Line 258: | Line 255: | ||
|  | |  | ||
|-  | |-  | ||
|<Weapon>  | |valign=top|<Weapon>  | ||
|character is spawned with weapon specified in here; weapon looked up by name (makes also custom weapons available)  | |character is spawned with weapon specified in here; weapon looked up by name (makes also custom weapons available)  | ||
|  | |  | ||
| Line 377: | Line 374: | ||
: SyndicateAccessory  | : SyndicateAccessory  | ||
|-  | |-  | ||
|<  | |valign=top|<AmmoPercentage>  | ||
|ammo in weapon, percent value: 0 - 100, ''overload'' not tested  | |ammo in weapon, percent value: 0 - 100, ''overload'' not tested  | ||
|  | |  | ||
|-  | |-  | ||
|valign=top|<Alert>  | |||
|[[CHAR#Less_basic_setup_-_Inventory.2C_team.2C_jobs.2C_alert.2Fpursuit|HERE]] are information about "Alert" and "Pursuit".  | |||
|flags:  | |||
|valign=top|<  | |||
|  | |||
|  | |||
:lull  | :lull  | ||
:low  | :low  | ||
| Line 393: | Line 386: | ||
:high  | :high  | ||
:combat  | :combat  | ||
|-  | |||
|valign=top|<Initial>  | |||
|valign=top|initial alert level  | |||
|  | |||
|-  | |-  | ||
|valign=top|<Minimal>  | |valign=top|<Minimal>  | ||
|valign=top|minimal alert level  | |valign=top|minimal alert level  | ||
|  | |  | ||
|-  | |-  | ||
|valign=top|<JobStarting>  | |valign=top|<JobStarting>  | ||
|valign=top|alert level when starting a job  | |valign=top|alert level when starting a job  | ||
|  | |  | ||
|-  | |-  | ||
|valign=top|<Investigating>  | |valign=top|<Investigating>  | ||
|valign=top|alert level when investigating  | |valign=top|alert level when investigating  | ||
|  | |  | ||
|-  | |-  | ||
|valign=top|<AlarmGroups>  | |valign=top|<AlarmGroups>  | ||
| Line 429: | Line 411: | ||
|-  | |-  | ||
|valign=top|<Pursuit>  | |valign=top|<Pursuit>  | ||
|  | |  | ||
|flags:  | |||
: Look  | |||
: Forget  | |||
: ReturnToJob  | |||
: \\ more later //  | |||
|-  | |-  | ||
|valign=top|<nowiki><  | |valign=top|<nowiki><StrongUnseen></nowiki>  | ||
|  | |  | ||
usually ''Look''  | |||
|  | |  | ||
|-  | |-  | ||
|valign=top|<  | |valign=top|<WeakUnseen>  | ||
|  | |  | ||
usually ''Forget''  | |||
|  | |  | ||
|-  | |-  | ||
|valign=top|<StrongSeen>  | |valign=top|<StrongSeen>  | ||
|  | |  | ||
usually ''Look''  | |||
|  | |  | ||
|-  | |-  | ||
|valign=top|<WeakSeen>  | |valign=top|<WeakSeen>  | ||
|  | |  | ||
usually ''Look''  | |||
|  | |  | ||
|-  | |-  | ||
|valign=top|<Lost>  | |valign=top|<Lost>  | ||
|  | |  | ||
usually ''ReturnToJob''  | |||
|  | |  | ||
|}  | |}  | ||
edits