Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - eXistenZ34

271
another thing:


 




ply=game.game:GetActivePlayer()  is useless in your script.


 




in my topic on animation it's useful because :




Example.







Quoteply
=game.game:GetActivePlayer()

DelayBuffer:Insert(function(l_1_0)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply
:SetControlStyle(enums.ControlStyle.LOCKED)end,




function(l_2_0)return ply
:AnimPlay("sc_man_smoke_in", false)end,




function(l_3_0)return ply
:AnimPlay("sc_man_smoke_out", false)end,




function(l_4_0)return ply
:SetControlStyle(enums.ControlStyle.FREE)end})




end,{l_1_0},500,1,false)





This is the same thing







QuoteDelayBuffer:Insert(function(l_1_0)CommandBuffer:Insert(l_6_0,{

function(l_1_0)return game.game:GetActivePlayer():SetControlStyle(enums.ControlStyle.LOCKED)end,




function(l_2_0)return game.game:GetActivePlayer():AnimPlay("sc_man_smoke_in", false)end,




function(l_3_0)return game.game:GetActivePlayer():AnimPlay("sc_man_smoke_out", false)end,




function(l_4_0)return game.game:GetActivePlayer():SetControlStyle(enums.ControlStyle.FREE)end})




end,{l_1_0},500,1,false)


272
RoyGato




It's for Mafia 1.
273
Mafioso


 




it's just a change of Skin, for the game you always have the same clothes.


 




Director




you like this command "SetControlStyle", but once again completely useless.


 




Look here:




http]
274
jaca37




DelayBuffer:Insert & CommandBuffer:Insert for one commande is not necessary.


 




in FR Script for change player model this is sufficient.







Quotegame.game:ChangePlayerModel("Name_model")

 




But the game crashes when using injector with direct control of this type.




that's why we use a delay.







QuoteDelayBuffer:Insert(function(l_1_0) xxxxx
 end,{l_1_0},250
,1
,false)

xxxxx
 = your command

250
 = delay (millisecond) before activation of the command




1
 = number of times to repeat the fonction


 




Test to understand the function "DelayBuffer":







QuoteDelayBuffer:Insert(function(l_1_0)game.game:SaveGame(1) end,{l_1_0},10000
,10
,false)
a backup is performed every 10
 second (10000 milli) for10
 times. 




So in the end, we have.







QuoteDelayBuffer:Insert(function(l_1_0)game.game:ChangePlayerModel("Name_model")end,{l_1_0},250,1,false)

 




and for "x" choices.







Quoteif i==nil then i=0 end i=i+1 if i==x+1
 then i=1 end

DelayBuffer:Insert(function(l_1_0)if i==1 then game.game:ChangePlayerModel("Name_model")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i==2 then game.game:ChangePlayerModel("Name_model")end end,{l_1_0},250,1,false)




DelayBuffer:Insert(function(l_1_0)if i= .......







don't write x+1
 but if you have 5 model, write 6.
276
Ok,


 




2 small precision:


 




1) function "ControlStyle.LOCKED" & "ControlStyle.FREE" is useless in this script.


 




2) if the person uses the original file "freeride.sds" in folder "skies" it will not work.




only using my file "freeride.sds" can have all these weather
277
La v7 ne gÃÆère pas certaines fonction comme "DelayBuffer:Insert"  <img src="/emoticons/huh.png.04e12a04934075c5a1e0c618a726c4d9.png" alt=" :huh: " data-emoticon=""> .
278
eXistenZ34's Mods / Animation for human entity
May 31, 2012, 09:02:24 PM
zahar999


 




Yes hand is wrong




...:ModelToHands(true,1,1) --> not good


 




this is good







Quotegame.game:GetActivePlayer():InventoryDrop()

game.game:GetActivePlayer():SetAnimStyle("common","default")


279
eXistenZ34's Mods / Animation for human entity
May 31, 2012, 07:03:55 PM
zahar999


 







Quotegame.game:GetActivePlayer():InventoryDrop()

 




it's in my listing
280
Mafia II mods / Earn money with snow shoveling
May 31, 2012, 06:41:14 PM
Hi, I moved your topic here in Mafia II mods.


 




jaca37 in Modders Corner eXistenZ34's Mods I am the king  :lol:   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">    :cool:
281
eXistenZ34's Mods / Animation for human entity
May 31, 2012, 06:08:34 PM
zahar999 very good question, but i don't know  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20"> .


 




Tarasyuk Ok, It depends on the entertainment that we add, with


 




+ sc_gangster_thommy_idle_smoking_in --> no crash




+ sc_gangster_thommy_idle_smoking_look --> no crash




+ sc_gangster_thommy_idle_smoking_potter --> no crash




+ sc_gangster_thommy_idle_smoking_out --> game crash.
282
zahar999 nice.   <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">


 




Edit : does not work for me, I just that.




283
eXistenZ34's Mods / Animation for human entity
May 31, 2012, 05:11:27 PM
I board added, pissing and your 2 Animation in JA and the game crash, this is variable.
284
Mafia II mods / [FOUND] SDS Explorer
May 31, 2012, 05:03:19 PM
Vous ̮̻tes trop rapide.


 


 




J'aurai pr̮̩f̮̩r̮̩ le contacter par MP mais apparement le syst̮̬me est d̮̩sactiv̮̩.




bizzare car j'ai dÃÆéjÃÆà reÃÆçu des Mp privÃÆé, mais ici c'est mieux cela peut servir a d'autre personne.
285
eXistenZ34's Mods / Animation for human entity
May 31, 2012, 04:58:17 PM
But "basic_anim.sds" as "freeraid_main.sds" and all files have a size limit.


 




after add 3 animation Game Crash.