» TeamX (����� ������)«


����� TeamX » ���. ��������� » ������� (��� ������� �� ���������� - ����)

������� �� �����
<< ����. ����. >>
�������� ���� ���� [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 ] ��� ��������

 
Raven
������������

������: ������
�����������: ����. 2004

�����: 408 ���������


1. ��������������� wcc386.exe � cpp.exe

2. ����� cpp.exe � Mappers\Scripts\Tools

3. ����� ���� ������ � Mappers\Scripts\New

4. ������ ���� comp.bat. ����� � ����:
---------------------------
@echo off

REM ����� ���� ����
set MP="C:\Fallout2\Mapper\Scripts"
set FP="C:\Fallout2\Data\Scripts"

..\Tools\cpp.exe -i=%MP%\Headers /w /pc /fo=%1.i %1.ssl

%MP%\Dos4Gw.exe %MP%\compile.exe %1.i

copy %1.int %FP%
-----------------------------------
��������, �������, �� �������� ������.
������ ��� ���������� ������� my_script.ssl:

5. ��������� �������, ��������� � Mapper\Scripts\New

6. �����:

comp my_script

�.�. ��� ����������.

7. ���� �������� ������ ������ �� ������ xxx - �������� my_script.i � ������ ������ xxx. ��� ������ ������� - ��������� � � my_script.ssl � �������� �����.

8. ����� ������� comp_my_script.bat:

comp.bat my_script

� ������������� �� ����-������.

����������: 9:01 - 21 ���., 2004
GaroldPredator
������������

������: Military Base
�����������: ���. 2004

�����: 52 ���������

����� �� �����, ��� � ������� � ������� ������ ��� � ������� NPC �������� ��� ������?
P.S.
2 Raven
�������, ��������� �������������� ���� ������!
������, �� �� ��� �� ��������, �� ��� ������ ����� ��� ������!

-----
� ���� ���� ��� ����� ������: ������������ � ���.

����������: 17:24 - 21 ���., 2004
Tehnokrat
���������

������: �����������
�����������: ���. 2003

�����: 489 ���������

>> ����� �� �����, ��� � ������� � ������� ������ ��� � ������� NPC �������� ��� ������?

����� ������:
obj_name(dude_obj)

-----
������� ����� ������, �� ������ ��������. ������� ����� ��������, �� ������ ������.

����������: 23:22 - 21 ���., 2004
Raven
������������

������: ������
�����������: ����. 2004

�����: 408 ���������

>>����� �� �����, ��� � ������� � ������� ������ ��� � ������� NPC �������� ��� ������?

���� ����� ��������:

��������, �� ������ ����� NPC �������
"������, ���_������. ��� ����?"

� ������� ������:
Reply("������, "+obj_name(dude_obj)+". ��� ����?");

���� ������ ������ ����� msg-����, �� �� �����������. �� ���� �� ������ ��� ���������� msg-��� � ����? ����� ������.

1. � ������ ������� ������:
---------------------------------------
#define NAME 1304 �//����� ������, �� �� ������
...
Reply(mstr(xxx)+obj_name(dude_obj)+mstr(yyy));
...
---------------------------------------

2. ����� ������� msg-���� - ���_�������.msg (������, � �����, �������?). ������ ����:
---------------------------------------
...
{xxx}{}{������, }
{yyy}{}{. ��� ����?}
...
---------------------------------------

3. ����� ���������� Data\Text\English\Game\scrname.msg
��������� �������:
---------------------------------------
{1404}{}{���_NPC}# ���_�������.int ; ��������_NPC
---------------------------------------
��� ������ obj_name(self_obj) ��� ������ ������� �� ����� NPC ����� ���������� ������ ���_NPC
��������������, ���� ����� #define NAME 1305 ����� ������ {1405} � �.�.

4. ������ ���� �������� � ���� ��� ������. ��������� Data\Scripts\Scripts.lst.
��������� ��������� �������:
---------------------------------------
���_�������.int ; ��������_������� # local_vars=0
---------------------------------------

��� local_vars �����. ���� ���� 0. ����� ���������� ������ �� ��� Enter (�.�. �� �������� ������ ������) - ����� � ������ �������� ���� - �� ���������, �� ����������.

5. ��. ����� ��. ������, ��� ��� ��������� �� ���� �������� ��� ��������������� - ���� ��� ������� ������� � ��.

6. ������ ������� �����, �������� ������� � ��������� ��� ���� ������. ������, E,S, ������ ���� ������, Esc, F8 - ����� �������.

�������� ��� �� �������� ������ ����� ����� ��� ��.

� ����������. ������ ����������� ������� � ��������:
------------------------------
#define NAME 1304

#define My_Option(x,y) gsay_option(NAME,x,y,-1)

#include <command.h>

procedure start;
procedure talk_p_proc;
procedure NodeBegin;
procedure NodeEnd;

procedure start begin
end

procedure talk_p_proc begin
Start_gDialog(NAME,self_obj,-1,-1,-1);
GSay_Start;
call NodeBegin;
GSay_End;
End_Dialogue;
end

procedure NodeBegin begin
Reply("�, "+obj_name(dude_obj)+". ������� �������������, � "+obj_name(self_obj)+".");
My_Option("������, "+obj_name(self_obj)+", ��� �������",NodeEnd);
end

procedure NodeEnd begin
end
------------------------------

��������� � ���, ��� �� �������. �� ����, �� ���������� ��������� �� ������ ����� ����� �� �����. ��������� ������ � ���� �� fgeck`�.

� �������� �/� :-)
1. ������ ������ � ����.
2. ������ ����� ��������� �/� msg-����


����, ��� ����� � �������� � ������ ������������.... ���������.

(��������������(�) Raven - 12:27 - 22 ���., 2004)

����������: 5:24 - 22 ���., 2004
GaroldPredator
������������

������: Military Base
�����������: ���. 2004

�����: 52 ���������

����� ������, � �� ����� ������, �� �� �������!
�������, � ������, �� �� ��������� ��!
� ���� ��� MSG-����� � ��������� ���� ����� NAME!
�� ������� ��� ����� ������ � ����� �����, ������� � ��� ����� � �� �� ���������!
��� ���, �������!
�.�.
������ � ���� � ��� �������, �������� ������� (�� ����������� ���, ��� ���� ���������)!

(��������������(�) GaroldPredator - 15:53 - 22 ���., 2004)


(���������� �� 16:04 - 22 ���., 2004.)


��� ��� ����� local_vars!!!
� ���� ������� ���, ����� ����� ����������� ����� ������, �� �� ���������� �� ������ self_obj, �� � ������ �������!
��������
� ������� ��������� �� ��� �����, � ��� ������ ������� ����. ��� ��� �������?


-----
� ���� ���� ��� ����� ������: ������������ � ���.

����������: 15:31 - 22 ���., 2004
Raven
������������

������: ������
�����������: ����. 2004

�����: 408 ���������

to Garold

No offence. ��� ���� ��� ��������� ������� � ����, �� ���� �� ������ ���� � ������ ����, ������� ��� ����� ��������������.

� ������ ����� ������ ����� ����� ������. �.�. ������� ������ ����������, ��������� �� ��������. ����� �� ���� ���� ������ ������������ FAQ. ����� FAQ ������ ���������� � How-To - ����. ��� ��� ���� � ���� ���-��, ��� �� ��� ������ - ������ �� �����. �� ���� ������� ������ ����� ������, ����� ��� "���� ��� ����� ����. ����� � ���. ���������".

������ �������������� �����.

>>� ������� ��������� �� ��� �����, � ��� ������ ������� ����. ��� ��� �������?

��������� �����:

1. ����� ������� ��� ������ � ���� �������. Team ������������� � ��������� ������� � Mapper`�. ����� � ������� ������ �� ���������� � ����� �� ����� ������� ��������� attack - � ��� ������� NPC-�� ������� ����.

2. ������� MVAR_say_fuck � �������� � ������� ���� ����������, ��������, ����� �����:
---------------------
procedure critter_p_proc begin
�if map_var(MVAR_say_fuck) then begin
� set_local_var(LVAR_Hostile,1);
� attack(dude_obj);
�end
� ...
end
---------------------
� ������� � ������� Node ��� ��� ����:
---------------------
procedure NodeFuckOff begin
� set_map_var(MVAR_say_fuck,1);
end
---------------------
��� ���� �������� � ���_�����.h

#define MVAR_say_fuck     (x)

3. ����� ����������� ������ - ������ ��� �/� ������/������� ����������. � ������� ������� �� ������ ��������� �����:
---------------------
export variable ptr_npc_xxx;

procedure start begin
�ptr_npc_xxx:=self_obj;
end
---------------------
� ������� �����, �� ������ �� �����������, �����:
---------------------
import variable ptr_npc_xxx;
import variable ptr_npc_xxy;
import variable ptr_npc_xxz;
...
---------------------
� ������� �������, � ������� ����� �������� ���, ������ ����, ��� � ��� �����:
---------------------
import variable ptr_npc_xxx;
import variable ptr_npc_xxy;
import variable ptr_npc_xxz;
...

procedure Node_Say_Fuck begin
attack_setup(ptr_npc_xxx,dude_obj);
attack_setup(ptr_npc_xxy,dude_obj);
attack_setup(ptr_npc_xxz,dude_obj);
end
---------------------
�������, �������, - ���� �� ��������� ������������� ��� ��������� � ��� ����� ������� ����� ��������� ������.

(��������������(�) Raven - 14:15 - 23 ���., 2004)

����������: 6:54 - 23 ���., 2004
GaroldPredator
������������

������: Military Base
�����������: ���. 2004

�����: 52 ���������

������:

����� ������, � �� ����� ������, �� �� �������!
�������, � ������, �� �� ��������� ��!
� ���� ��� MSG-����� � ��������� ���� ����� NAME!


���������, ��� �� ����, ����������!
������:

� ������� ��������� �� ��� �����, � ��� ������ ������� ����. ��� ��� �������?


������ ������ � ������ ������ ������!
� ���� �����, ��� ��� �����, ����� �� ���� ���������� �� ������ �������� � ������ ��������, �� � ������ ��������.
��������� � �������, ��� ����� 2 � ����� ���������:������� MVAR_say_fuck.
� ��������� �����?

(��������������(�) GaroldPredator - 18:17 - 23 ���., 2004)

-----
� ���� ���� ��� ����� ������: ������������ � ���.

����������: 16:42 - 23 ���., 2004
Tim
������������

������: �����-���������
�����������: ��� 2003

�����: 265 ���������

2GaroldPredator
������� ��� ������ ��� � ������...

2All
�� ���� � ��� ��������� � ����� ���������... �� ���� ������������ � ��� ���...

���, �������� ���� ��
C:\Fallout2
������
C:\Fallout2\Mapper

������ � ����� C:\Fallout2\Mapper\scripts
����� tools ������� ���� �����:
wcc386
wcc
wccd386.dll
wccd.dll

������ � C:\Fallout2\Mapper\scripts
����� new, ������� ���� ������ XSComp.ssl(�������� � GaroldPredator'a )

������ ���� � ����������� comb.bat ....

@echo off

set MP="C:\Fallout2\Mapper\Scripts"
set FP="C:\Fallout2\Data\Scripts"

..\Tools\wcc386.exe -i=%MP%\Headers /w /pc /fo=%1.i %1.ssl

%MP%\Dos4Gw.exe %MP%\compile.exe %1.i

copy %1.int %FP%

������� ��� � C:\Fallout2\Mapper\scripts\NEW

� ���. ������ ����� � ����� new
������� comb XSComp

�������:
Watcom ����������...
Error! E1073: invalid option '-i="c:\fallout2\mapper\scripts\"headers'
����� ���������� DOS/4GW
� DOS/4GW fatal error (1007): can't find file \DOS4GW.EXE to load

��� ���� wcc386.exe ��������. � cpp.exe ����� �� �� ���. ���� ����������...

� ����� ��������� ���� XSComp.i (����� 143��)

���� ��������!!! � ��� ������� ������ ����������...
����� XP........






-----
�������� ������ - ��! ��! ��!
���������� ���� - ���! ���! ���!

����������: 19:36 - 24 ���., 2004
GaroldPredator
������������

������: Military Base
�����������: ���. 2004

�����: 52 ���������

�� ������.
��� ������, ����� ������������� wcc386.dll � cppd.dll ����� watcom ������ �� ������.
������, XSComp.i - ��� ����, � ������� ��� includ� ���������� � ������������ �����, � ��� defin� ��� �������� (� ������: #define one two �������� � ������� ������ one  ,  two).
� ����� ���� ���� �� ����, ������, ��� � *.h ���� ������������, ������� ��� (watcom) ������������ ����� � ���� � ������� (������!).
*.i ����������� ����, ��� ������: ���� f-geck��, ���� ���������.
�����, ����� ��������������� *.i � *.int, ��� ����� ����� dos4gw � compile.exe.
� ��������, � ������� ���������� ������ dos4gw ������-�� �� ��������  (� windows commander, � ����\���������).
�� ���� �� ������-�� �������� � VOLCOV COMMANDER�!
� ����� ��������� ���������� ������� ������ � VC!
�����: ��� ����� ���� ������ ����������� VOLCOV COMMANDER, ��� ���������� �������� �� ������ ������ ����������!
P.S. � DOS-� �� �� ��������, ���� ���?!
P.P.S.
to Tim
� �����, � ���� msg-���� ����� �� ���� ��� ���!?
P.P.P.S.
�������, �� � ������� new comp.bat, dos4gw.exe � compile.exe �����?!
P.P.P.P.S.
������, �� ������,��� ������ ��������� �������, �.�. One � one �� ���� � ����!

-----
� ���� ���� ��� ����� ������: ������������ � ���.

����������: 20:51 - 24 ���., 2004
Tim
������������

������: �����-���������
�����������: ��� 2003

�����: 265 ���������

2GaroldPredator
1) Msg-���� �����...
2)���� ���� bat, ������ ���� �������

@echo off

set MP="C:\Fallout2\Mapper\scripts
set FP="C:\Fallout2\data\Scripts

..\Tools\cpp.exe -i=%MP%\Headers /w /pc /fo=%1.i %1.ssl
Dos4Gw.exe compile.exe %1.i
copy %1.i %FP%
3)������� � new Dos4Gw.exe compile.exe
4)������������
wccd386.dll � cppd.dll
wcc386.exe � cpp.exe
5) � Volkove ����� � ����� new � ������� comp xscomp
6) ����� ��� ������������ ������ ��� ���������� ����� Environment
������ ������ ERROR E1138 Filename required on command line...

P.S.���� ���� � ������ *.i �� ��������� ���...
� ������ � ���� � bat ������� ������ � ������ ����... � � Raven ���� �����. � �������...
�� �� ���� ���� � ����. i ���������.... ������ �����?
� �������� ������ Dos4Gw.exe compile.exe?
������ ���� � ����?
����� 98������ ���������...

�� �� � ��� ��������....

-----
�������� ������ - ��! ��! ��!
���������� ���� - ���! ���! ���!

����������: 23:38 - 24 ���., 2004
 

������� �� �����
<< ����. ����. >>
�������� ���� ���� [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 ] ��� ��������


Powered by Ikonboard 2.1.9 RUS
Modified by RU.Board Team
© 2000 Ikonboard.com