Oni (folder)/GameDataFolder/IGMD/global: Difference between revisions

m
→‎Local overriding: I totally planned this ;-)
m (clarifying)
m (→‎Local overriding: I totally planned this ;-))
Line 28: Line 28:
  }
  }


That function, in airport1_level_logic.bsl, is what causes the explosion of the ramp in the airport. Now, instead of creating an explosion particle and deleting the ramp, Oni just prints that message. Seemingly one could use this method to "patch" level BSL. However....
The original function by that name, [[BSL:Tutorial/airport1_level_logic.bsl#func_bomber_boom|found here]] in airport1_level_logic.bsl, is what causes the explosion of the ramp in the airport. Now, instead of creating an explosion particle and deleting the ramp, Oni just prints that message. Seemingly one could use this method to "patch" level BSL. However....


'''Big catch''': there may be unpredictable results; for instance, this override causes random problems in the level like changing Konoko's spawn location, though the dmsg will print appropriately when you reach the point where the ramp is supposed to explode.
'''Big catch''': there may be unpredictable results; for instance, this override causes random problems in the level like changing Konoko's spawn location, though the dmsg will print appropriately when you reach the point where the ramp is supposed to explode.