Page 1 of 1

Active Bonuses: Prolly needs to be stickied somewhere

Posted: Fri May 27, 2005 1:28 pm
by OOM-9
Ok I KNOW someone was working on this, but couldn't find the thread when looking for it.

How does one add the active bonuses, i.e. Advanced Training, Vehicle Sabotage, Bacta Tanks, etc. etc. into custom maps?

I believe it's in the LUA, but I don't know where to begin.

ARC: Jabiim is near completion but I need Bacta Tanks working for the ARC team to hopefully finish the balancing act.

SOMEONE here knows... I read it somewhere.

RE: Active Bonuses: Prolly needs to be stickied somewhere

Posted: Sat May 28, 2005 6:12 pm
by Saturn_V
These bonuses work:

hero, reserves, sabotage, sensor_boost (thx for the search shadowhawk)

training didn't give a voice-over announcement but didn't generate an error in SPTest so I assume it works

This gives an invalid bonus error:

medical (also tried bacta_serum, serum, medic, bacta, bactatanks, bacta_tanks, regeneration, heal, health)

Posted: Sun May 29, 2005 12:40 am
by OOM-9
help me FRED!

LoL

Thanks Saturn for doing the testing...

What say you Fred?

can I add Bacta, and if so what is the bonus name?

Posted: Sun May 29, 2005 12:50 am
by ShadowHawk
As Sat said, he wasn't able to get that section to work. I'm going to say my usual, " I'll continue to search for the answer for ya" but the norm is that right after I post this message, the answer will follow. But I will try for ya though.

Posted: Sun May 29, 2005 1:20 am
by ShadowHawk
Wow, count this as a first. Here are a few links to get you started:

http://www.gametoast.com/index.php?name ... pic&p=9383
http://www.gametoast.com/index.php?name ... pic&p=3981

Note that in MP mode, most will not make an announcement, but they should be active. Hope this helps or at least point you in the right direction.

Posted: Sun May 29, 2005 2:01 am
by OOM-9
Seems what we need are the proper Bacta Tanks bonus name :P

Posted: Thu Jun 02, 2005 5:49 pm
by SteveK14
ActivateBonus(CIS, "MEDICAL_SUPPLIES")

And in MP mode, no announcement. But you must comment in/out the proper lines in the lua for voiceovers in SP mode.

Complete list from Fred's site:

ActivateBonus(ALL, "HERO")
ActivateBonus(ALL, "MEDICAL_SUPPLIES")
ActivateBonus(ALL, "SURPLUS_SUPPLIES")
ActivateBonus(ALL, "SENSOR_BOOST")
ActivateBonus(ALL, "RESERVES")
ActivateBonus(ALL, "SABOTAGE")
ActivateBonus(ALL, "SNEAK_ATTACK")

Posted: Fri Jun 03, 2005 12:56 am
by OOM-9
that is awsome... but I added bacta via a Add Health line in the unit ODFs...

glad we cracked the case :)