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


����� TeamX » English Forum » Armor button (How to change armor button)

������� �� �����
<< ����. ����. >>
�������� ���� ���� [ 1 2 ] ��� ��������

 
Mynah
���������

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

�����: 469 ���������

i'm confused :( my previous post - mistake.
i change values to 0 - 0 and then found it button at left top of control.frm.

U can assign X and Y more than FF. All values in da fallout2.exe stored in motorola format.
For example:
FA000000 == 0xFA
FA010000 == 0x1FA
FC340000 == 0x34FC

But, then i tried move button on position more than 280, party member control was closing after opening with no my actions. It not works :(

I will be think.

-----
Scio me nihil scire

����������: 11:10 - 7 ����, 2005
Mario Dweller
Member

������: Prague, CZ
�����������: ���. 2004

�����: 22 ���������

Do you mean 280 in hex (640 in dec) ? I tried to assign 0x279 and the same result... I think vale more than FF causes party member control closing after opening... :-\

-----
Drink nuka-cola !

����������: 12:06 - 7 ����, 2005 | ����������: Mario Dweller - 13:10 - 7 July, 2005
Mynah
���������

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

�����: 469 ���������

������:

Do you mean 280 in hex (640 in dec) ?


Yes.
������:

vale more than FF causes party member control closing after opening


Value 0x255 work correctly.  It work if button fully drawn on screen. No position changes needed. Need change sizes of button or fill with NOP call to drawing button function.

-----
Scio me nihil scire

����������: 12:16 - 7 ����, 2005
Mario Dweller
Member

������: Prague, CZ
�����������: ���. 2004

�����: 22 ���������

Yes, U'r right... I'm sorry...

But I don't know how to find that function... I'm lame in assembler :-\... I tried to fill with NOPs some function, but not good effect... Either no effect or it crashes :D


-----
Drink nuka-cola !

����������: 12:33 - 7 ����, 2005
Mario Dweller
Member

������: Prague, CZ
�����������: ���. 2004

�����: 22 ���������

But size of the button is 44898C:
      PUSH 0E
I changed it to
      PUSH 0

And it works...

Thank you for your time

-----
Drink nuka-cola !

����������: 11:56 - 8 ����, 2005
 

������� �� �����
<< ����. ����. >>
�������� ���� ���� [ 1 2 ] ��� ��������


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