Guest book

Sergey A. Zhukov, answer to: FloatWave
team:

system.create_object ('SET_HUMVEE', 345.58, 760.64, id = 'CODE')

SET_HUMVEE - this code Hammer
345.58 , 760.64 - coordinates on a map as well as for animals
CODE - any unique identifier such as : 'HUMMER_11'

That after adding that it could sit down and go , it is necessary to perform another command:

objects.set_attribute ('CODE', 'accepted_drivers', ['UISPIELER'])

CODE - the unique code assigned to you , if you add a vehicle , for example:

objects.set_attribute ('HUMMER_11', 'accepted_drivers', ['UISPIELER'])

Codes for other modes of transport :

SET_BUGGY - Buggy
SET_WHEELTANK - wheeled tank
SET_PICKUP - Pickup
03.09.2013 10:09 FloatWave
Yeah I really want to make my team dancing. I hope there is a command... And I want spawn pigs and cows :D Btw. I had account here long time ago but i forgot the Name and Password xD So no I am back with new account and new desire to play ;)
Sergey A. Zhukov, answer to: FloatWave
To dance the protagonist : character.play_animation ('ALTER_EGO', 'CM_NPC_TANZEN_1')

To mercenary must instead write ALTER_EGO 'MERCENARY_NAME', where NAME - name of the mercenary , for example : 'MERCENARY_AGNES'.
Sergey A. Zhukov, answer to: FloatWave
To add a cow, write the command:

system.create_animal (id = "CODE", type = ANIMAL_COW, party = "ANIMALS", x = 300 , y = 300 )

CODE - is any unique code, for example : "COW_11"
ANIMAL_COW - an identifier of the cows , and other animals identifiers :
ANIMAL_WOLF - wolf
ANIMAL_DEER - deer
ANIMAL_ANTELOPE - antelope
ANIMAL_BEAR - Bear
ANIMAL_TIGER - Tiger
ANIMAL_BISON - Bison
ANIMAL_DONKEY - ass
ANIMAL_HORSE - horse
ANIMAL_LIZARD - lizard
ANIMAL_WARG - big wolf werewolf
ANIMAL_WILDDOG - wild dog
ANIMAL_PIG - pig

x, y - the coordinates on the map where to place the animal. To find the coordinates of any object, you can use the command:
objects.get_position ('CODE')
CODE - the identifier of the object , such as the main character is 'ALTER_EGO'. The coordinates of the protagonist : objects.get_position ('ALTER_EGO')

The animal became the enemy of the protagonist, it is necessary to type the command:
objects.set_attribute ('CODE', 'foes', ['UISPIELER'])

CODE - an identifier of the created animal.
Guest, answer to: Sergey A. Zhukov
Can i spawn NPCS or enemies? Thank you
Guest, answer to: Sergey A. Zhukov
Can i spawn NPCS or enemies? Thank you
Guest, answer to: Sergey A. Zhukov
Can i spawn NPCS or enemies? Thank you
02.09.2013 08:21 FloatWave
Can you please make article about console commands? As how to give items, teleport, spawn animals, go to the another location (from console) etc. Thx
Sergey A. Zhukov, answer to: FloatWave
Hi! The console allows you to execute any command on the language Phyton. Therefore, the number of teams is huge . I can write basic commands , if you write something that specifically interests you.
30.08.2013 09:17 Guest
Checked again. For talent Humor described below - works. The problem was in a text editor, which automatically changed something in the script , and the program saw its " broken ." In another editor - all OK. In general ... the problem is solved .
Development by Sergey A.Zhukov 2007-2012