|
Dar
������������
������: ������� �����������: ���. 2004
�����: 289 ���������
|
binyan ��� �������������� ����� � ��������� � ������ ����� ������� ���� � ������� 13 �����. ��� ��� - �� ��� �����. � ���: ���� �� ���� ������ ������� �� ���� ��� ���� ����� ����� ������ �� ����� ����� � ���������, �� ������ ���������. - ��� ��� � ����� �� ��������. � ��� ����� ��������� �� ��������� ������ ������� �� ������ � ������� ���� �� ������ ������ (����� �������������) ���� ���� ������� ���� �������� ��� combat_�����. - (����� ��� ����� �� ���� ���������� �� �������� ���������.)
|
����������: 23:44 - 10 ���., 2006 | ����������: Dar - 14:52 - 11 ���., 2006
|
|
Keha
������������ �����������: ���. 2006
�����: 31 ���������
|
Dar ������� �������, �� �����������. � �� ��������� ���-������ ������ �������� ����� ����������� ���� � ������ ������ �������? ��� ��� �� ���� ����������� � �������� ����? ----------------------------------------------------------- ������� �������� ���� � �2 �� ����� � ���. ��� ����� ��� �� ������� ������� ������ � �������� ����; ������ ������ ���� ��� ������������. ��� ���� ���� � ���������� ���� ������ ����, ��� ���� ������ �� �������, ��� ������� ������ �������� ����. � ��� ��� �����������? ��������� ������� ����� ���� ��� #define critter_is_armed(x) (((obj_item_subtype(critter_inven_obj(x,INVEN_TYPE_RIGHT_HAND))) == item_type_weapon) or \ ((obj_item_subtype(critter_inven_obj(x,INVEN_TYPE_LEFT_HAND))) == item_type_weapon)) ����� �� �����������, ���� ���� � ��������� ������� critter_is_armed(x) ��������� ��� ����, �� �������� ����� �� ��� �������? ������� ����������� �� �������� ����� ���������� ������(scgtegrd.ssl), ��� �� ������� ������ �������� ����, �� ���� ����� ��� � ������� ��������, � ������ �� �������.
|
����������: 13:21 - 11 ���., 2006
|
|
Dar
������������
������: ������� �����������: ���. 2004
�����: 289 ���������
|
Keha �������� FAQ �������� ��������� ��, ��������� ���� ������, ����� ������ �� ��������.
|
����������: 14:48 - 11 ���., 2006 | ����������: Dar - 14:54 - 11 ���., 2006
|
|
Keha
������������ �����������: ���. 2006
�����: 31 ���������
|
���, ������� �������, ��������� ���� ������.
|
����������: 16:18 - 11 ���., 2006
|
|
Dar
������������
������: ������� �����������: ���. 2004
�����: 289 ���������
|
����� ��� ��� �� ������ �������� - � ��������. procedure use_skill_on_p_proc begin script_overrides; if using_skill(self_obj, 7) or using_skill(self_obj, 6) or using_skill(self_obj, 10) then begin script_overrides; display_msg("This no can" ; end //����� �� ������� ����� ���� ����� ����� ��� ������ ����� ������� � ��� ����� steal, drop � ����� ���� ������. if (action_being_used == 13) and (obj_pid(self_obj) == 16777819) then call talk_p_proc; if (action_being_used == 12) and (obj_pid(self_obj) == 16777819) then float_msg(self_obj, "Hi", 4); if (action_being_used == 13) and (obj_pid(self_obj) == 16777817) then float_msg(self_obj, "My car is best", 4); end
|
����������: 21:45 - 18 ���., 2006
|
|
Ray
���������
������: ������,������� �����������: ���. 2004
�����: 746 ���������
|
� � ��� �� ������? ������ ������ ������ �������� ����? ������, ��� ����� ����� ��������: ���� �� � �������� ������� ����������� �������� ���������� ��������� (continue, halt, etc.)?
----- �� ������ ����������� ����� � ������ ���� �������.
|
����������: 22:56 - 18 ���., 2006
|
|
Dar
������������
������: ������� �����������: ���. 2004
�����: 289 ���������
|
>>� � ��� �� ������? ������ ������ ������ �������� ����? ��� - ������ � ���� ���� �������� ��� using_skill(self_obj, 7) or using_skill(self_obj, 6) �� ��������(�� ������� ����������� ������� ��� ��������). � ��� pro-����� ����� ����� �� ���� ���������, ��� ��������� ���������� �� ������� ���� ��� ����� ����� (����� ��� �������). ��� ��� ��� ���������� ������ - ��� �� ���� � �������. � ������ �� �������, ��� ��� ���� ����� ���������� ��� ���� �� ���������� ����� ������? ��� � ��� ��������� ����� ������� ���� ��� ������?
|
����������: 1:40 - 19 ���., 2006
|
|
Keha
������������ �����������: ���. 2006
�����: 31 ���������
|
��� ���� ��� ��� ��� ���� ������� � ������� �������\��������� ��������������. ����� �������� �������� ����� �� ������� ������ �����. 1?) ��� ����� ��������� ���������� ����, �� �������� �������� ������, ������� ��� �������� �������. ��� ������ ����������� ����������� ����� ��������� ����� ������ � �� �����, ����� ���������, ������� ���� ��� ��� � ����� ����� ��. - ������: procedure combat_p_proc begin �variable wip; - �����. ��� ��������� �� ������� � �������� ����.� � � if (fixed_param == 2) then begin - ���� combat_p_proc ������� �������� ���������� �� � � � wip:=critter_inven_obj(self_obj,1);- ���������� ���������� wip ��������� �� ������� � ������ ����. � � � � if wip == 0 then begin - ���� wip ��� ��� ����� 0(������ ���� ��������� ����������) �� � � � � wip:=critter_inven_obj(self_obj,2);����� ���� ������� ����� ���� � � wip ���������� ��������� �� ������� �� ���. � � � � end � ����� ���������� ���� (�� �������� �������� ����������� � ������� ���� ������) ����� ���������� ������ �� �������� ��� ������ proto_data(obj_pid(wip),�); ��� � ����� ������ �� ��������. ----------------------------------------------------------------- 2?) �� �������� �� �� ��� ������ ���������: #define it_pid (0) #define it_name (1) #define it_description (2) #define it_fid (3) #define it_light_distance (4) #define it_light_intensity (5) #define it_flags (6) #define it_flags_ext (7) #define it_sid (8) #define it_type (9) #define it_data (10) #define it_material (11) #define it_size (12) #define it_weight (13) #define it_cost (14) #define it_inv_fid (15) #define it_weapon_range (555) ������ �� ���� ������ ������� ����������� ����� �� ������ - ��� ��� ��� �� ��� ������ �� �������� ������, ��� ��� �������� ������ � ���� ������ ���������� �������, ���. ------------------------------------------------------------------ 3?) �� � �������� ��� ������������ ���� �� it_flags_ext ��� ������ proto_data(obj_pid(wip), 7); ���������� ����� � ������� � �� ����������. � it_flags_ext ������� � ������� ��� ������: Flags Ext (�������������� �����) Item Flags (����� ���������): 0x08000000 � Hidden Item (������� �������� ��������) Action Flags (����� ��������): 0x00001000 � Use On Smth (������ ����� ������������ �� ���-����) 0x00002000 � Look (������ ����� ���������) 0x00004000 � Talk (� �������� ����� ����������) 0x00008000 � PickUp (������ ����� �������) 0x00000800 � Use (������ ����� ������������) Weapon Flags (����� ������): 0x00000100 � Big Gun (������ ��������� � ������ Big Guns) 0x00000200 � 2Hnd (������ ��������� � ������ ���������) Primary Attack Type (��� �������� �����): 0x00000000 � stand 0x00000001 � throw punch 0x00000002 � kick leg 0x00000003 � swing anim 0x00000004 � thrust anim 0x00000005 � throw anim 0x00000006 � fire single 0x00000007 � fire burst 0x00000008 � fire continuous Secondary Attack Type (��� �������������� �����): 0x00000000 � stand 0x00000010 � throw punch 0x00000020 � kick leg 0x00000030 � swing anim 0x00000040 � thrust anim 0x00000050 � throw anim 0x00000060 � fire single 0x00000070 � fire burst 0x00000080 � fire continuous � ���� proto_data(obj_pid(wip), 7) ��������� �����: 41478 ��� ����� ��������������� ������������� ������ � �������� � �������� Primary Attack Type = fire single, Secondary Attack Type �������������. ��� �� ����� ������������ ��� 41478? ���� ������ ��� � ��� �Primary, Secondary Attack, Weapon Flags � ������ ? ----------------------------------------------------------------- � ����� ����� ���� ���� ������������� ����������� ������� �������� ������ ���� �� �������� ��� �������� ����� if �� ������ if�� ��������� ���������. ��� ����������� ����� � ���� ������ ���������� ��������� �� �������� �������� ������ ��� ������ proto_data(obj_pid(wip), 7) � �����, ����� if���� ���������������� (�������� - ����) ������� �������� �����. --------------------------------------------------------------- 4?) �� ��� ��������� ��������� ������. �������� ������ ����� ������, � ����� ��� ������. ��� ������ ��������������� ������ ������ (������� � �������� ������). ����� ��� ����� ���������� ������� �������� ����� �� ���� �������� ����� ������� ������ (������� ��� ���� � ������ �����) �������� �� ������? � ---------------------------------------------------------------- 5?) �������� ����������� ����� ��� �������. - ��� ���� ��������� ������ �� ������� ���������. ��� �������, ������ � ���� �� ��������, � �������������� ��� ������� ���������� ���� ��� ���������. ����� ���� ��� ���� ��� �� ������������ ����������� ��������� �� ������ ������� ��� �� �����, � ���� ��������� ����������� ��� ������ ����� ������ � ����, ��� ��������� �������� ����. � ��� ��� "��� ������ �����" ���������� ���� �� �����������.
|
����������: 16:30 - 24 ���., 2006 | ����������: Keha - 16:57 - 24 ���., 2006
|
|
Keha
������������ �����������: ���. 2006
�����: 31 ���������
|
� ��� critter_p_proc (����������� ��������� - ��������� ��� � �������) � ��� �� �����������? ���� ��� �� ���������� ��������� � ������ (combat_p_proc) �� ������ ����� timer_event ? add_timer_event(ObjectPtr obj, int time, int info) ��� time - �������� ���������� (� ������� �����) ���� ����� ������� ���? ����� ��������������? ���� �������, �������, ������?
|
����������: 17:14 - 26 ���., 2006
|
|
Strongholder
��������� MkII
������: Nelly's Bar �����������: ��� 2004
�����: 393 ���������
|
������ AFAIR: 1) c_p_p � ��� �� �����������. 2) ������� ��� = 10 ��. �.�. 100 ����� = 1 �.
----- ������� � ������ ������. �������� �� �� ���.
|
����������: 17:26 - 26 ���., 2006
|
|
|
|