- Joined
- Mar 10, 2003
- Messages
- 2,923
Well, I said I wasn't going to look into it, but my curiosity got the better of me. :rolleyes
I started messing around with trying to get the Objectives menu to function. And it wasn't that difficult. Basically, define an Objective, the menu will be populated with it and track it's status awarding the tribute amount when completed.
However I've got a few problems I could use some help with
That code is all that's needed to establish an objective. My problem is the bit in green. This needs to be a database string. Which I'm assuming is the bw2text.lhts file. Does anyone know how to open it. I did have an app by Dero. But I've forgotten the name. Or where I've placed/hidden it. This is also required to identify the icons for objectives menu bar.
The second problem is that I can't see a way to check if an objective has been completed.
It would be nice to write a script where when one objective is completed that it start a new one. You can't get too far on a map without tribute and completing objectives is a good way to earn it.
Any ideas? ???
I started messing around with trying to get the Objectives menu to function. And it wasn't that difficult. Basically, define an Objective, the menu will be populated with it and track it's status awarding the tribute amount when completed.
However I've got a few problems I could use some help with
Code:
set player 0 objective class TRIBUTE_OBJECTIVE_CLASS_TOWN amount 1
set player 0 objective TRIBUTE_OBJECTIVE_MAKE_DISCIPLES with amount 5 text [color=green]"BW2T_SCRIPT_01FINAL_OBJECTIVE_ELOI_20"[/color] amount 5 class TRIBUTE_OBJECTIVE_CLASS_TOWN start value 1 reward 2500 force open
That code is all that's needed to establish an objective. My problem is the bit in green. This needs to be a database string. Which I'm assuming is the bw2text.lhts file. Does anyone know how to open it. I did have an app by Dero. But I've forgotten the name. Or where I've placed/hidden it. This is also required to identify the icons for objectives menu bar.
The second problem is that I can't see a way to check if an objective has been completed.
It would be nice to write a script where when one objective is completed that it start a new one. You can't get too far on a map without tribute and completing objectives is a good way to earn it.
Any ideas? ???