Comments

Pages:: 1 2 3 [4] 5 6 7 8
25.02.2013 08:11 Unknown
Description of the objects in the 3 page Word ... half of them have a description </Attributes>. Unless the mail throw zone file from the first zone ... you like to be my post, I also registered on fall.pro-d.ru.

And in the script in the lines of the type
# Kistenstapel in Halle mit HG ¤ ndler
objects.create_item_in_inventory (object = "THE FALL_BUILDING_3866", equipment = ["SET_COLT_ANACONDA"])
Here the words "Kistenstapel in Halle mit HG ¤ ndler" matter? I have nowhere else to advantage of such words in the script and in the zone files not found ... so the electronic word-search engine Dowa words could not 'overlooked'. I wrote that took it to mind, for example, Computer for the system unit. Maybe that's my fault?
25.02.2013 01:23 zsrg
Then it is not clear how to determine the container. Check can not, uninstall the game long ago, there were only scripts. Maybe even once defined the container properties. But something certainly I take, can really be something wrong? Throw the text of the code here, you never know.
24.02.2013 04:43 Unknown
Sat compared. All objects that are compared all the same. Only the number of different types of lines in <transform_13 type="FLOAT"> 0.0000000000000000 </transform_13>
and type the name in the lines <value type="STRING"> RES3D_COMPUTER </value> respectively own. No definition of the container to your untrained eye noticed. Each object has the same <CInventory> <Slot> </Slot> ... </CInventory>, even the blades of grass from the bush to mine. Do not understand anything = (.
24.02.2013 01:01 zsrg
I suspect that is not enough to make the team "objects.create_item_in_inventory", to add the subject to the object, but the object must have the characteristics that define it as a container. Dig in your "zone", which is in the archive for each zone. This is a simple XML file. Find the description of the object, which normally adds an item, as well as a description of the object and compare them. Maybe you have to look in the direction of the properties: <CInventory><Slot></Slot>...</CInventory>
23.02.2013 06:38 Unknown
Thanks a lot, but so far such difficulties can not be obtained. The question is easier:
How to add items to the objects, which still do not? For example, a computer system ... It would be logical to add them "SET_COIN_CELL_BATTERY" for the implant, and that in fact it generally does not exist anywhere in the entire game. Gambling or the same card for the greater fullness of the game. I tried to zone_1 zone_1.py in def initItems (): by analogy in the lower section to create a line with id system unit about the trader. Nothing happened. What there is subtlety?

P.S.
I can write precise examples that I did not want to clutter up the message ... need this? I hope for you, thank you.
28.10.2012 01:15 zsrg
Unknown, if you have experience in programming, at least one, any programming language is too much trouble should arise.
If no experience, the difficulties will abound. Since the types of data, the concept of objects, arrays, etc.
Regarding questions.
All living "object ", is the property "party ", which is responsible, on whose side they are. Names of parties can write any, then the main register, who runs this party:

system.create_party (id = "ANIMALS ", type = PT_COMPUTER)

Relations between groups is indicated in the object properties - foes. This property is an array of names of parties to which the object is hostile. For example, if you specify the property to:

[ 'UISPIELER ', 'ANIMALS ']

It will be hostile to the party of the hero and to the animals. For example map zzone_2 have the following roles:

"UISPIELER " - a group that includes all members of the team player
"DESERT_MONKS_1 " - the first group of monks of the desert
"DESERT_MONKS_2 " - the second group of monks of the desert
"ANIMALS " - animals
"NPCS " - neutral NPC

This vskidku that I looked in the scripts. Most likely, there are some subtleties.
24.10.2012 07:05 Unknown
I am a long time ago I want to play is not emptied as you progress through the story, so that you can continue to play and gaining experience treneruya team. But the programming none. People set out the great ideas of particular interest to the base and to protect its base. I can try one of their unpretentious attempt a ...

Suppose I zones zzone_2 npc.py add and explain a couple of dozen new gangsters on the described anologii monks.
For example, in scheduls.py I by analogy with the monks ask some new gangsters coordinate patrols and other actions (or will copy the monks).
In zzone_2.py almost do not understand, but by analogy to the def initItems (): will set the new bandyukov.
How they can make spawn in every couple of months (virtual game time) only if the quest Viglera closed (the monks original game killed)? What else you need to do in order to make the idea work? And if two raznoklannyh thug (say, a monk retskul desert) will meet, they will be indifferent to each other?
Actually, to be honest, this is a feasible task for me (the one who does not know Python)?
18.05.2012 02:50 zsrg
Unfortunately, there is no game files at your fingertips. I am on vacation. At vskidku I can say that in each location (folder / scripts / zones / zonename /) There I've found npc.py which describes all the npc in this zone, including mercenaries. That's it, if I remember correctly, and can improve skills and leading indicators mercenary!
16.05.2012 11:31 Unknown
How to change the stupid talent Milton "pretend dead " on some other helpful?
22.03.2012 12:03 zsrg
The file object_events.py are looking for a line inside_pocket_items , this variable is assigned to an array of 50 items, it is the things that randomly receives a hero's talent when it uses humor.
Development by Sergey A.Zhukov 2007-2012