XML:ONLV: Difference between revisions

732 bytes added ,  5 June 2012
How to spawn geometry with collision data?
mNo edit summary
(How to spawn geometry with collision data?)
Line 113: Line 113:
     </Instance>
     </Instance>
  </Oni>
  </Oni>
===spawnable geometry===
In Oni's last level, the platform of the big satellite dish can be spawned/deleted from BSL. Characters on it will fall down when the platform becomes deleted.
I tested that long time ago, I think OBOA used for it (at least in the original data).
If OBOA import is not allowed maybe we can add more such things with the physics.xml and then use the <ScriptId> for BSL? What options exist for <Flags> and <Physics> ?
Possible applications:
* grids in front of ventilation shafts
* ground/ceiling/objects for cutscenes that become partially destroyed
* destrucable walls [http://www.youtube.com/watch?v=qgJUbPWX5yE like in Deus Ex 3] (trigger volume, replacing punch anim with punch-through-wall anim)
8,315

edits