LarryG on 22/3/2010 at 17:58
If I want a goal to find, for example, 5 of 8 possible special loot items, how would I go about it? By special loot I mean Dark Gamesys>Loot:{gold, gems, art, special}. The CONVICT doc does not seem to be of much help for this.
R Soul on 22/3/2010 at 20:54
I don't think the special flags would be much use here. You could put the TrigWorldFrob script on each piece of loot, add Script to FrobInfo: WorldAction, and then give each loot object. Create a quest var called somevar (initial value: 0) a CD link each piece of loot to a single QuestVarTrap (+1:somevar).
Then create a QuestVarTrigger (>4:somevar) with a CD link to another QuestVarTrap (=1:goal_state_X).
LarryG on 22/3/2010 at 23:17
Ah! Thanks.
darthsLair on 2/2/2014 at 17:31
Quote Posted by R Soul
I don't think the special flags would be much use here. You could put the TrigWorldFrob script on each piece of loot,
add Script to FrobInfo: WorldAction, and then give each loot object. Create a quest var called somevar (initial value: 0) a CD link each piece of loot to a single QuestVarTrap (+1:somevar).
Then create a QuestVarTrigger (>4:somevar) with a CD link to another QuestVarTrap (=1:goal_state_X).
Hi,
Following these instructions doesn't complete the goal. I have made a qvar 0:SomeVar, and it shows in mission quest data: SomeVar 0
I added TrigWorldFrob, and script to WorldAction to each of the 4 loot items (not 1st loot) just gamesys loot, and cd linked the 4 loot items to a qvar trap +1:SomeVar. I created a questvartrigger:>4:SomeVar and cd linked this to a qvartrap =1:goal_state_x
The loot goal which should work only for 1st loot is completed, but the goal for picking up the 4 special loot items does not complete. The 4 loot items show up as 4 individual loot values in inventory, so now I have 5 loot values in inventory. 1 from regular loot goal, and 4 from the special loot items . What am I doing wrong here?
Does anyone know how to set up special loot items? Thanks!
Edit :nevermind, I found a way around it. I will report here after beta testing to verify that it works properly.
Daraan on 2/2/2014 at 21:07
Quote Posted by darthsLair
Does anyone know how to set up special loot items? Thanks!
I know that I read about it a few weeks ago. Maybe inside the TOW readme. Can't check at the moment. What I remember is that you have to give your items a bitmap flag similar to the lockpick or RegionIDs..
so I guess it 1 to 10000000 for 8 items (sorry just a vague guess).
To complete the object you need a normal steal loot objective and there you have to assign as well a bitmap flag so I would guess 11111111 (8x1) -> Check TOW.
---
For someone who knows exactly how to do it correct me. Else the workaround with QVars should work as well and would be easier to understand.
Beltzer on 1/8/2014 at 12:04
I do not understand how the special loot work. I'm not good at binary or English for that matter.
If someone could give an example, say i want the player to find two special items of four.
I would be a happy man.
R Soul on 2/8/2014 at 23:48
Special flags are for objectives that require a specific piece of loot is stolen. The first loot object you steal will go into your inventory, but each subsequent loot object you steal will be deleted. The loot object in your inventory will be updated (loot values and appearance).
If you have an objective to steal a specific piece of loot, you need to edit its loot value to add a Special flag, say Special 1.
In TOW (or manually via Dromed) you don't create a 'steal object' goal, you create a 'steal loot goal'. Instead of setting a loot value, you select Special 1 from the list (command: quest_create_mis goal_special_X, 1).
You could add a Special 1 flag to other loot objects, and stealing any one of them would complete the goal. Special flags 2, 3, etc are there to allow you to have several goals, each telling you to steal a different piece of loot.
It may have taken a few lines to explain it but it's quite simple to set up. You don't need to make any triggers, traps, links or quest variables. Even if you've mistakenly created a 'steal object' goal, you can change goal_type_X, delete goal_target_X and then add goal_special_X
For stealing 2 (or 3, 4 etc) loot objects from a choice of 8, you have to use the qvar system.
Beltzer on 3/8/2014 at 08:06
Ok, thank you both. I'm gonna that.
darthsLair on 3/8/2014 at 13:40
From my earlier post:
Quote Posted by darthsLair
Edit :nevermind, I found a way around it. I will report here after beta testing to verify that it works properly.
In "Hammered" I used a workaround to simplify this. No qvars were necessary. I didn't have a need for my "FindSecretTrap", and just altered the Debrief.Str If you scroll down, you can see how I did this. Special loot shows in stats this way. Worked perfectly, just an easier route. In the contest, I had to work fast, so this route was convenient for me.