Active Bonuses: Prolly needs to be stickied somewhere

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
OOM-9

Active Bonuses: Prolly needs to be stickied somewhere

Post 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.
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

RE: Active Bonuses: Prolly needs to be stickied somewhere

Post 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)
Last edited by Saturn_V on Sun May 29, 2005 9:54 am, edited 3 times in total.
OOM-9

Post 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?
User avatar
ShadowHawk
Old School Staff
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Heartland, Texas
Contact:

Post 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.
User avatar
ShadowHawk
Old School Staff
Posts: 1232
Joined: Mon Feb 21, 2005 4:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Heartland, Texas
Contact:

Post 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.
OOM-9

Post by OOM-9 »

Seems what we need are the proper Bacta Tanks bonus name :P
SteveK14
Old School Staff
Posts: 405
Joined: Sat Mar 05, 2005 3:59 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: USA
Contact:

Post 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")
Last edited by SteveK14 on Thu Jun 02, 2005 5:58 pm, edited 1 time in total.
OOM-9

Post by OOM-9 »

that is awsome... but I added bacta via a Add Health line in the unit ODFs...

glad we cracked the case :)
Post Reply