- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
Well, I am making gta 5 slow motion that works with gta 5 hud and many new features like best handling of car when activated. I am not able to align a texture. It does not works on all resolution. How to make it to adjust it to all resolutions ?
Thanks in advance for help.
Thanks in advance for help.
i used this in interface of tuning mod
- Código:
038D: draw_texture BACKGROUND position 320.0 224.0 size 640.0 448.0 RGBA 255 255 255 255

- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
okay, I am waiting. :)
i only find this
1 = widescreen on
then you can put the texture(sprite) in screen in diferents sizes only checking if the widescreen is on @_@
- Código:
0A8D: 0@ = read_memory 0xB6F065 size 4 virtual_protect 0
1 = widescreen on
then you can put the texture(sprite) in screen in diferents sizes only checking if the widescreen is on @_@
- ElyzandroVeterano
- Mensagens : 2915
Reputação : 81
Desde : 31/07/2013
Esse opcode pode ser usado para fazer a tela 'piscar' ao matar alguém ?
______________________________
I̜mpe͢r͚at̲ivoͯ, ͘no̅ mụnd̶o͋ ̺sl͟o͗w
́Co͔m͢ó ̼a ̒p̎eçͦa̲ ̖MC͝s ̚só͊ ͡faz̀em̈́ ̛s̸p͆ee͌df̡l̡owͭ
̟Pͭra ̌que̲ ä́ p̐r͜es̋s͉aͤ?
qual opcode?
- Kevin PrestesScripter CLEO - Avançado
- Mensagens : 1955
Reputação : 26
Desde : 30/05/2013
Localização : Estância Velha - RS
Eu já fiz um MOD de fazer a tela piscar ao matar alguém, like V. Mas foi só pra uso pessoal, tava pensando em re-fazer e upar.
- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
ok, let me see what I can do.
BTW I had one more problem. In this code:
038D: draw_texture BACKGROUND position 320.0 224.0 size 640.0 4
I tried- position 1@ 2@ size 3@ 4@
(1@ 2@ .... are defined in an ini file)
But when I use this, then the texture disappears. Need help here too :)
EDIT
I saw your code too kevin
BTW I had one more problem. In this code:
038D: draw_texture BACKGROUND position 320.0 224.0 size 640.0 4
I tried- position 1@ 2@ size 3@ 4@
(1@ 2@ .... are defined in an ini file)
But when I use this, then the texture disappears. Need help here too :)
EDIT
I saw your code too kevin
show your code.....
(and ini)
(and ini)
- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
Code(skipping some lines)
- Código:
.
.
.
if
0AAB: file_exists "CLEO\SlowMotion[davis60]_config.INI"
else_jump @NONAME_137
:NONAME_1
0390: load_txd_dictionary "SLOW"
038F: load_texture "1" as 1 // Load dictionary with 0390 first
038F: load_texture "2" as 2 // Load dictionary with 0390 first
038F: load_texture "3" as 3 // Load dictionary with 0390 first
038F: load_texture "4" as 4 // Load dictionary with 0390 first
038F: load_texture "5" as 5 // Load dictionary with 0390 first
038F: load_texture "6" as 6 // Load dictionary with 0390 first
038F: load_texture "7" as 7 // Load dictionary with 0390 first
038F: load_texture "8" as 8 // Load dictionary with 0390 first
038F: load_texture "9" as 9 // Load dictionary with 0390 first
038F: load_texture "10" as 10 // Load dictionary with 0390 first
0AF0: 1@ = get_int_from_ini_file "CLEO\SlowMotion[davis60]_config.INI" section "KEY" key "key_to_activate_slowmotion"
0AF0: 2@ = get_int_from_ini_file "CLEO\SlowMotion[davis60]_config.INI" section "TXD" key "w"
0AF0: 3@ = get_int_from_ini_file "CLEO\SlowMotion[davis60]_config.INI" section "TXD" key "h"
jump @NONAME_34
:NONAME_34
.
.
.
.
038D: draw_texture 1 position 1.5 1.5 size 2@ 3@ RGBA 255 255 255 255
.
.
.
- Código:
[KEY]
key_to_activate_slowmotion =90; key to activate or deactivate
[TXD]
x =117.2; horizontal place of the texture image
y =429.5; vertical place of the texture image
w =24.0; width of the texture
h =11.0; heigth of the texture
- Código:
0AF0: 2@ = get_int_from_ini_file "CLEO\SlowMotion[davis60]_config.INI" section "TXD" key "w"
"GET_INT"
INT
and you are using float

- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
What should I do then? What should be the code?

you used the get_int opcode... you need to use get_float opcode
117.2 is a float number, not integer .-.
- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
oh, of course. Silly of me :p
- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
Had one more question in mind. Is there any way to load a new texture instead of the progress bar to show how much special ability is left[short code]?
convert the number of the special hability to a size number to put the texture in screen @_@
like:
special habilty number = 1000.0
then you divide this number to make smaller and can use into a size of texture
like:
special habilty number = 1000.0
then you divide this number to make smaller and can use into a size of texture

- davis60Mensagens Nível 2
- Mensagens : 57
Reputação : 1
Desde : 11/07/2014
Idade : 22
Link : davis60lf2.page4.me/
can you give me an example?
you need a number controlling the special hability, then:
0@ is the special hability number, i don't know then suppose to be max 1000.0
use now this number (1@) to put in the size of texture in the screen (x or y, as you like)
then... if the special hability is 500.0, the texture in screen will be a size of 5.0...
change the divide's number if you need the texture bigger or smaller in screen
0@ is the special hability number, i don't know then suppose to be max 1000.0
- Código:
1@ = 0@ //copy the number to other var (1@)
1@ /= 100.0 //divide...
use now this number (1@) to put in the size of texture in the screen (x or y, as you like)
then... if the special hability is 500.0, the texture in screen will be a size of 5.0...
change the divide's number if you need the texture bigger or smaller in screen
- Lcs_07Veterano
- Mensagens : 1623
Reputação : 20
Desde : 09/04/2013
Idade : 21
Localização : Além Paraíba - MG
Eu fiz umas paradas para a barra de colete ficar só no espaço de colete mesmo 
Mas é pra uso pessoal...
Aí a barra de habilidade especial fica vazia

Mas é pra uso pessoal...
Aí a barra de habilidade especial fica vazia

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum
|
|