#1 Re: Модификации » [III]GTA:LCS HUD MOD » 27-05-2011 09:32

игра вылетает с сценарий, но тем не менее я отправляю адреса памяти, которая должна двигаться на экране текстов.

{$CLEO}
0000:
05E5: 0@ = game_version
if
0@ == 0
then
wait 1000
05DF: write_memory 0x5FDB90{III} size 4 value 0.667 virtual_protect 0   // HUD Text horizontal scale
05DF: write_memory 0x5FDB8C{III} size 4 value 1.09 virtual_protect 0   // HUD text vertical scale

05DF: write_memory 0x5083B6{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083B8{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083BA{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color

05DF: write_memory 0x5083E4{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083E6{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083E8{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color

05DF: write_memory 0x50632D size 1 value 0xE8 virtual_protect 1   
05DF: write_memory 0x50632F size 1 value 0xE8 virtual_protect 1     //ammo color
05DF: write_memory 0x506331 size 1 value 0xE8 virtual_protect 1

05DF: write_memory 0x5FDBB0{III} size 4 value 48.0 virtual_protect 0   // Weapon icon scale
05DF: write_memory 0x5FDBB4{III} size 4 value 13.0 virtual_protect 0   // Weapon icon distance from top  
05DF: write_memory 0x5FDBB8{III} size 4 value 60.0 virtual_protect 0   // Weapon icon distance from right

05DF: write_memory 0x5FDBC8 size 4 value 37.0 virtual_protect 0   // Weapon ammo text distance from right
05DF: write_memory 0x5FDBC4{III} size 4 value 48.0 virtual_protect 0   // Weapon ammo text distance from top

05DF: write_memory 0x5FDB94{III} size 4 value 60.0 virtual_protect 0   // Money distance from top
05DF: write_memory 0x5FDB9C{III} size 4 value 14.0 virtual_protect 0   // Money distance from right

05DF: write_memory 0x5FDC20{III} size 4 value 9.0 virtual_protect 0   // Time distance from top
05DF: write_memory 0x5FDC24{III} size 4 value 64.0 virtual_protect 0   // Time distance from right

05DF: write_memory 0x5FDBD4{III} size 4 value 1000.0 virtual_protect 0   // Health and Armor distance from top

05DF: write_memory 0x5FDBE8{III} size 4 value 32.0 virtual_protect 0   //  Wanted stars distance from right
05DF: write_memory 0x5FDBEC{III} size 4 value 78.0 virtual_protect 0   //  Wanted stars distance from top
05DF: write_memory 0x5FDBF0{III} size 4 value 18.0 virtual_protect 0   //  wanted level stars X spacing between stars

05DF: write_memory 0x505FBA{1.0} size 1 value 0x30 virtual_protect 1     //money color
05DF: write_memory 0x505FBF{1.0} size 1 value 0x95 virtual_protect 1     //money color
05DF: write_memory 0x505FC1{1.0} size 1 value 0x27 virtual_protect 1     //money color

05DF: write_memory 0x507769{1.0} size 1 value 0x35 virtual_protect 1     //time color
05DF: write_memory 0x50776B{1.0} size 1 value 0xB6 virtual_protect 1     //time color
05DF: write_memory 0x507770{1.0} size 1 value 0xFB virtual_protect 1     //time color

05DF: write_memory 0x506CA8{1.0} size 1 value 0x35 virtual_protect 1     //stars color
05DF: write_memory 0x506CAA{1.0} size 1 value 0xB6 virtual_protect 1     //stars color
05DF: write_memory 0x506CAF{1.0} size 1 value 0xFB virtual_protect 1     //stars color

while true
wait 0

end
 end

Thanks to Sergey81 for this.

#2 Модификации » [III]GTA:LCS HUD MOD » 20-05-2011 09:23

KnightFighter
Replies: 2

Как отличие от GTA IV HUD, я делаю LCS HUD MOD. Вот как выглядит оригинал:

File:HUD-GTALCS-PS2.jpg
File:HUD-GTALCS-PSP.jpg

Top: PS2 Version, Bottom: PSP Version

Написать комментарий ли вы думаете, что это хороший или нет.

#3 Re: Работа с памятью, EXE » Помогите мне с Txd Draw Function » 13-05-2011 11:18

Wait, the game crashes and where can i get the txd? can some one help?
cry=(:wow::rolleyes:
Подождите, игра вылетает и где я могу получить TXD? может кто-нибудь помочь?

#6 Re: Работа с памятью, EXE » Помогите мне с Txd Draw Function » 12-05-2011 12:39

How can i write a script that draws txd texture? write me an example?

#7 Re: Модификации » [III/VC CLEO] GTA IV style hud » 11-05-2011 15:40

Следующий сценарий аварий мой GTA III

{$CLEO}
0000:
05E5: 0@ = game_version
if
0@ == 0
then
wait 1000
05DF: write_memory 0x5FDB90{III} size 4 value 0.667 virtual_protect 0   // HUD Text horizontal scale
05DF: write_memory 0x5FDB8C{III} size 4 value 1.09 virtual_protect 0   // HUD text vertical scale

05DF: write_memory 0x5083B6{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083B8{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083BA{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color

05DF: write_memory 0x5083E4{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083E6{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color
05DF: write_memory 0x5083E8{1.0} size 1 value 0xFF virtual_protect 1     //radardisc color

05DF: write_memory 0x50632D size 1 value 0xE8 virtual_protect 1   
05DF: write_memory 0x50632F size 1 value 0xE8 virtual_protect 1     //ammo color
05DF: write_memory 0x506331 size 1 value 0xE8 virtual_protect 1

05DF: write_memory 0x5FDBB0{III} size 4 value 48.0 virtual_protect 0   // Weapon icon scale
05DF: write_memory 0x5FDBB4{III} size 4 value 13.0 virtual_protect 0   // Weapon icon distance from top  
05DF: write_memory 0x5FDBB8{III} size 4 value 60.0 virtual_protect 0   // Weapon icon distance from right

05DF: write_memory 0x5FDBC8 size 4 value 37.0 virtual_protect 0   // Weapon ammo text distance from right
05DF: write_memory 0x5FDBC4{III} size 4 value 48.0 virtual_protect 0   // Weapon ammo text distance from top

05DF: write_memory 0x5FDB94{III} size 4 value 60.0 virtual_protect 0   // Money distance from top
05DF: write_memory 0x5FDB9C{III} size 4 value 14.0 virtual_protect 0   // Money distance from right

05DF: write_memory 0x5FDC20{III} size 4 value 9.0 virtual_protect 0   // Time distance from top
05DF: write_memory 0x5FDC24{III} size 4 value 64.0 virtual_protect 0   // Time distance from right

05DF: write_memory 0x5FDBD4{III} size 4 value 1000.0 virtual_protect 0   // Health and Armor distance from top

05DF: write_memory 0x5FDBE8{III} size 4 value 32.0 virtual_protect 0   //  Wanted stars distance from right
05DF: write_memory 0x5FDBEC{III} size 4 value 78.0 virtual_protect 0   //  Wanted stars distance from top
05DF: write_memory 0x5FDBF0{III} size 4 value 18.0 virtual_protect 0   //  wanted level stars X spacing between stars

05DF: write_memory 0x505FBA{1.0} size 1 value 0x30 virtual_protect 1     //money color
05DF: write_memory 0x505FBF{1.0} size 1 value 0x95 virtual_protect 1     //money color
05DF: write_memory 0x505FC1{1.0} size 1 value 0x27 virtual_protect 1     //money color

05DF: write_memory 0x507769{1.0} size 1 value 0x35 virtual_protect 1     //time color
05DF: write_memory 0x50776B{1.0} size 1 value 0xB6 virtual_protect 1     //time color
05DF: write_memory 0x507770{1.0} size 1 value 0xFB virtual_protect 1     //time color

05DF: write_memory 0x506CA8{1.0} size 1 value 0x35 virtual_protect 1     //stars color
05DF: write_memory 0x506CAA{1.0} size 1 value 0xB6 virtual_protect 1     //stars color
05DF: write_memory 0x506CAF{1.0} size 1 value 0xFB virtual_protect 1     //stars color

while true
wait 0

end
 end

Может кто-то сказать мне, почему? и нужно ли мне patch if so then which version?

#8 Работа с памятью, EXE » Помогите мне с Txd Draw Function » 11-05-2011 12:12

KnightFighter
Replies: 7

Есть ли возможный путь, чтобы сделать TXD draw function for GTA III?

Board footer

Powered by FluxBB