Guest book

Pages: 1 2 3 4 5 ... 39 40 41 42 43 [44] 45 46 47 48 49 ... 182 183 184 185 186
Sergey A. Zhukov, answer to: Guest
Hi! I never set myself this modification, so do not prompt. I hope someone from the site visitors will be able to answer this question.
18.06.2015 11:18 Guest
Hello.I have a question. This mods are only work on English and Russian version of game?They don�t work on Polish version right?
Sergey A. Zhukov, answer to: Guest
Hi! Only in the Russian version of the game.
14.06.2015 03:33 Dmitriy
Hello everyone! Someone tell me where the line in the script prescribed combinations for combining.
Sergey A. Zhukov, answer to: Dmitriy
Hello. What line? Variants of combinations or combinations of text?
Dmitriy, answer to: Sergey A. Zhukov
Hello Sergey ... In more detail: I want to add to the game a new version of a combination of things such as (gasoline canister + lighter = gasoline bomb) prescribe it in a script file (weapons) where the description of the bomb, but in the game the combination does not work ... Where in the script that you need to add more ...
Guest, answer to: Dmitriy
May be
Sergey A. Zhukov, answer to: Guest
I do not know how you describe the combination also necessary to specify the function to remove the ingredients from the inventory and put the finished product. For your example should make two changes, the first in the file adding at the end of the file function, for example:

def assemble_gas_bomb (character_id, items, item):
for act_item in items:
objects.remove_item_from_inventory (character_id, act_item)
objects.create_item_in_inventory (character_id, item)
return True

It is important to take into account the margins!
Then file, after describing the gas bomb add the line:

objects.set_attribute (object = 'SET_GAS_BOMB', attribute = "item_combination", value = {
"Difficulty_assemble": COMBO_EVERYBODY,
"Assemble_function": "assemble_gas_bomb",
"Combination_list": [['SET_GAS_CANISTER', 'SET_LIGHTER']]})
Dmitriy, answer to: Sergey A. Zhukov
Sergey and who was responsible, thanks for all the answers. Everything is clear, I will try.
Guest, answer to: Dmitriy
Petrol bomb inoperable. The point?
Development by Sergey A.Zhukov 2007-2012