AE talk:Daodan overpower and upgrades: Difference between revisions

i think this script rules
(sorta commenting)
 
(i think this script rules)
Line 10: Line 10:
:"5-10 damage upgrade across the board" doing this with TRAM attack parts is weird, especially if all the TRAM are affected. I'd use glows and trails.
:"5-10 damage upgrade across the board" doing this with TRAM attack parts is weird, especially if all the TRAM are affected. I'd use glows and trails.
:"lowering the Daodan requirement to 90-95 percent health" You want Konoko to glow at full health? O_o Or is that "Daodan" different from overpower?
:"lowering the Daodan requirement to 90-95 percent health" You want Konoko to glow at full health? O_o Or is that "Daodan" different from overpower?
:"Fists of Legend at 150% health - BSL scripting+engine modding?" Fists of Legend kinda suck, but such upgrades are readly scriptable, see below.
:"Fists of Legend at 150% health - BSL scripting+engine modding?" Fists of Legend kinda suck, but such upgrades are readily scriptable, see below.
::[[User:Geyser|geyser]] 15:38, 14 November 2008 (CET)
::[[User:Geyser|geyser]] 15:38, 14 November 2008 (CET)
  var int on_timer=5;
  var int on_timer=5;
  var int overpower_on=0;
  var int overpower_on=0;
var int full_health=200;
var int easiness=2;
   
   
  func main {
  func main {
    easiness=difficulty()
    if(easiness eq 0) full_health=260
     chr_mini_me=1
     chr_mini_me=1
     chr_mini_me_amount=1
     chr_mini_me_amount=1
Line 32: Line 36:
  func upgrade2 {
  func upgrade2 {
     on_timer=5
     on_timer=5
     chr_wait_health 0 260
     chr_wait_health(0,full_health)
     if(overpower_on) OverPowerOff
     if(overpower_on) OverPowerOff
     sleep 1
     sleep 1
Line 51: Line 55:
     dmsg OverPowerOFF
     dmsg OverPowerOFF
  }
  }
Naturally, Oni will crash if an ONCC is missing. This is not ''too'' heavy on the BSL engine, despite the two simultaneous threads. --[[User:Geyser|geyser]] 15:38, 14 November 2008 (CET)
Naturally, Oni will crash if an ONCC is missing. This shouldn't be ''too'' heavy on the BSL engine, despite the two simultaneous threads. --[[User:Geyser|geyser]] 15:38, 14 November 2008 (CET)
----
:''Two years later...'' Wow (or should I say "Weeeeeee!!!!!!!"?), I had forgotten all about this thingie, and I was going to reinvent it. Now that I found it, I'll just add support for difficulty level, shall I? And it's about time [[AE]] supported script mods, because ''this'' is what can take Oni's gameplay to a new level, if it's done right. --[[User:Geyser|geyser]] 15:49, 26 November 2010 (UTC)
:Of course, I wouldn't mind if a complementary '''chr_wait_health_up''' function was implemented into the engine, but BSL clearly does the trick, and looks quite viable especially since '''upgrade1''' can accommodate other stuff (fake randomizer, poisoning, etc). --[[User:Geyser|geyser]] 15:49, 26 November 2010 (UTC)