Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Scene Modders => eXistenZ34's Mods => Topic started by: eXistenZ34 on January 26, 2012, 09:50:39 PM

Title: Show Quest Dialog by Zahar999 & me
Post by: eXistenZ34 on January 26, 2012, 09:50:39 PM
[hr:36692rom][/hr:36692rom]




[align=center:36692rom]Show Quest Dialog
[/align:36692rom]




[hr:36692rom][/hr:36692rom]




All FR
[/size]



 




(//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails58.imagebam.com/17193/7f1479171928652.jpg&key=e36cd0651653be81441674ff87aa601bb2fea59fcfdfad2cb5d40be37bfa2601) (http://www.imagebam.com/image/7f1479171928652:36692rom) (//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails67.imagebam.com/17193/1657b9171928674.jpg&key=f078627d2157619fefce9a562f7955e061c5e259da135686b4c43a3fde6f72e2) (http://www.imagebam.com/image/1657b9171928674:36692rom) (//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails17.imagebam.com/17193/e76e6b171928690.jpg&key=6825dc526b7fdf8175cec851bf06e6f6cf16b40e4d89214209485ec2ae2bc87a) (http://www.imagebam.com/image/e76e6b171928690:36692rom)


 




(//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails19.imagebam.com/17178/c344e4171776319.jpg&key=25428a7f24ef04d03ce6f82c6a5767d1fb4d5037271cd465b6ab2dc1b53e4ed8) (http://www.imagebam.com/image/c344e4171776319:36692rom) (//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails45.imagebam.com/17178/e7b199171776331.jpg&key=db9cd48a70f7a31213c5c1b7dd59be5a53bcd2862a21890c9d0fac416d4e3a9a) (http://www.imagebam.com/image/e7b199171776331:36692rom) (//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails55.imagebam.com/17178/961cb0171776340.jpg&key=34e3ba327d109a530995df1fb6463fac0de89d8c05ba3946c84ef17c00323784) (http://www.imagebam.com/image/961cb0171776340:36692rom)


 




(//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails53.imagebam.com/17178/382c24171776510.jpg&key=554ee1ac32fea77cb4f4aeedaa5efb3c082de19e141141be1c36bc0429cd157b) (http://www.imagebam.com/image/382c24171776510:36692rom) (//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails31.imagebam.com/17178/0528a0171776523.jpg&key=b33b13500c1e4c295c7992bd1743e98d9cc65ca160f7dd7b67442e53b4a8ea94) (http://www.imagebam.com/image/0528a0171776523:36692rom) (//applications/core/interface/imageproxy/imageproxy.php?img=http://thumbnails39.imagebam.com/17178/98d29f171776531.jpg&key=54e083fb804c2b31856120feb860e09e83c90c21e6260dfcbf33adee5cb4b94a) (http://www.imagebam.com/image/98d29f171776531:36692rom)




[hr:36692rom][/hr:36692rom]




Script injector







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

function(l_1_0)return game.gui:ShowQuestDialog("xxxx
","Text1
","Text2
","Text3
")end,function(l_2_0)




if game.gui:GetQuestionScreenAnswer()==1 then   your order/prog here
    game.game:SoundFadeIn(250)return game.hud:FaderFadeIn(250)end




if game.gui:GetQuestionScreenAnswer()==2 then   your order/prog here
    game.game:SoundFadeIn(250)return game.hud:FaderFadeIn(250)end




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





Answer 1 --> right choice




Answer 2 --> left choice




[hr:36692rom][/hr:36692rom]




Script LUA







QuoteCommandBuffer:Insert(l_1_0,{

function(l_1_0)return game.gui:ShowQuestDialog("xxxx
","Text1
","Text2
","Text3
")end,function(l_2_0)




if game.gui:GetQuestionScreenAnswer()==1 then   your order/prog here
    game.game:SoundFadeIn(250)return game.hud:FaderFadeIn(250)end




if game.gui:GetQuestionScreenAnswer()==2 then   your order/prog here
    game.game:SoundFadeIn(250)return game.hud:FaderFadeIn(250)end




end})





Answer 1 --> right choice




Answer 2 --> left choice




[hr:36692rom][/hr:36692rom]




it works for FR M2 & FR JA and with




xxxx
 == all images in the folders "gui" of M2, JV, BJ & JA




- levelx_xx





- paintingxx





- pinupxx





- pinupxx
_ps




- posterxx





- wantedxxx
_ps




- xx
_ja




- ja_pinupxx





- xx
_rtr


 




Text1,Text2,Text3
 must be taken and/or registered in "text_default.sds"




[hr:36692rom][/hr:36692rom]




and the surprise : a small script for the Cathouse using the command "ShowQuestDialog", with 93 entity activated, only with injector.
 (just activated)


 




Place yourself in front of the entrance to Cathouse and activate the surprise.




http://www.mediafire.com/?xuwuxmz9ef04ad2 (http://www.mediafire.com/?xuwuxmz9ef04ad2)
Title: Show Quest Dialog by Zahar999 & me
Post by: Cole Phelps on January 26, 2012, 10:01:28 PM
Ha ha ha, good job fellas as usual. Thanks for sharing :lol:
Title: Show Quest Dialog by Zahar999 & me
Post by: zahar999 on January 27, 2012, 02:50:01 AM
eXistenZ34


 




??? ????  ??? ???!




??? ???  ??? ??  ??? ????  ??? ?????  ??? ? ? FR


 




???   ??? ?  ??? ???????? ?  ??? ???????




???  ??  ??? ?????? ?  ??? ?????




?  ??? ?? FR  ??? ???  ??? ?? ??  ??? ??!


 




??? ???????  ??? ????!!! ?  ??? ????????


 




http://www.youtube.com/watch?v=T_cT4vc1rqs (http://www.youtube.com/watch?v=T_cT4vc1rqs)
Title: Show Quest Dialog by Zahar999 & me
Post by: eXistenZ34 on January 27, 2012, 05:04:15 AM
zahar999


 




I forgot, this for activate the music




- for the great hall




-- game.entitywrapper:GetEntityByName("radio_1"):SetStatusOn() -- ...:SetStatusOff()


 




- for the small hall




-- game.entitywrapper:GetEntityByName("radio_2"):SetStatusOn() -- ...:SetStatusOff()
Title: Show Quest Dialog by Zahar999 & me
Post by: Cole Phelps on January 27, 2012, 10:04:58 AM
eXistenZ34


 




Les trois premiers liens vers vos images m'ont conduit ÃÆà certains sites pornographiques. What'd dire pour cela?
Title: Show Quest Dialog by Zahar999 & me
Post by: eXistenZ34 on January 27, 2012, 08:01:47 PM
Sorry, when I upload an image on IMAGEBAM, I have a choice to do and I made a mistake.


 




(//i40.tinypic.com/142st2p.png&key=4661d88da176050b7c63cf80913547c14673431b081249d3ae9cfab91c0dad5f)
Title: Show Quest Dialog by Zahar999 & me
Post by: Cole Phelps on January 27, 2012, 08:33:49 PM
eXistenZ34


 




That's OK now. Since I'm writing here, I'd like you to look at this http] (//forum/14-mafia-mod-request/3464-mafia-2-beacon-issue)
Title: Show Quest Dialog by Zahar999 & me
Post by: B1010 on January 29, 2012, 04:59:48 AM
eXistenZ34 zahar999




??? ??  ??? ???,  ??? ????!  ??? ?????????  ???   ??? ?  ??? ?????:




(//thumbnails45.imagebam.com/17178/e7b199171776331.jpg&key=db9cd48a70f7a31213c5c1b7dd59be5a53bcd2862a21890c9d0fac416d4e3a9a) (http://www.imagebam.com/image/e7b199171776331:11glao4s)




? ?  ??? ??  ??? ???? Freeride  ???   ??? ??  ??? ?????
Title: Show Quest Dialog by Zahar999 & me
Post by: B1010 on January 30, 2012, 10:17:58 AM
???   ??? ??,  ??? ?????  ??? ????  ??? ????? ?  ??? ???  ??? ?.




?  ??? ,  ???  ??  ??? ?  ??? ?  ??? ??  ??? ????? ? FR M2ex?
Title: Show Quest Dialog by Zahar999 & me
Post by: zahar999 on February 05, 2012, 11:57:56 AM
eXistenZ34


 




?  ??? ????  ??? ?????  ???  FR MII ?  ??? ?????  ??? ?  ??? ?




?  ??? ????  ??? ??? 50/50




?  ??? ?  ???   ??? ?  ??? ????? 100%  ??? ??? FR MII?? ? FR J?
Title: Show Quest Dialog by Zahar999 & me
Post by: B1010 on February 06, 2012, 02:52:35 PM
QuoteeXistenZ34 




?  ??? ????  ??? ?????  ???  FR MII ?  ??? ?????  ??? ?  ??? ?




?  ??? ????  ??? ??? 50/50




?  ??? ?  ???   ??? ?  ??? ????? 100%  ??? ??? FR MII?? ? FR J?





?  ??? ?  ??? -??  ??? ?,  ???   ??? ??? ?  ??? ???? ?? M2ex.  ??? ?????  ??? ?  ??? ???? ?? M2ex
Title: Show Quest Dialog by Zahar999 & me
Post by: eXistenZ34 on June 27, 2012, 12:39:36 PM
up
Title: Show Quest Dialog by Zahar999 & me
Post by: zahar999 on July 05, 2012, 07:04:43 PM
Quoteup



I added these different pictures




in your FR JA v3.0




for Tony, Marty




garage




for winter and summer


 









<div></div>

 




why do you do not add picture?




is obtained that we for nothing found these commands
Title: Show Quest Dialog by Zahar999 & me
Post by: eXistenZ34 on July 05, 2012, 10:35:58 PM
used like this, I find it fairly well   <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">   or to launch a mission.   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">


 




but not to open a door .


 




if you want, send me the script by Mp.


 




Edit : for lift in Empire Hotel




tested this : start the chapter mounted in the lift with Joe, and as soon unlock player and cross the door.




and you will see that you already reached on the 18th floor.
Title: Show Quest Dialog by Zahar999 & me
Post by: zahar999 on July 05, 2012, 11:47:46 PM
eXistenZ34


 




You can add a picture for the garage Charlie "06_ja"




it is suitable


 


 




I do not understand about the elevator




in chapter elevator rides quickly




in FR it slowly




why?




may have team speed
Title: Show Quest Dialog by Zahar999 & me
Post by: ocram on July 19, 2012, 10:23:29 PM
Zahar




No regarding the lifts ingame they have an animation speed.




not being able to get info on lift inside chinese restaurant, I look all over the places and here is the infos I got:


 




C_WrapperLift




C_Lift




MotionSpeed





InitialFloor




?SetFloor@C_Lift@@QAEXI@Z




Lift




PNB




>%d_LiftItemFloor_%d




GCLIFT BODY




LIFT BUTTON




LIFT LIGHT


 




?LIFT AI LEAVE




LIFT AI ENTER




BLIFT INTERNAL DOOR




OnLiftUse




LIFT FLOOR


 




E_LIFT




LIFT




USE_LIFT
Title: Show Quest Dialog by Zahar999 & me
Post by: zahar999 on July 20, 2012, 12:12:19 AM
ocram




I do not understand


Quotethey have an animation speed



for elevator standard command ...:SetFloor()




for "Chinese Restaurant"




I did not seek key just used the name







Quotegame.entitywrapper:GetEntityByName("VYTAH"):SetFloor(0)

game.entitywrapper:GetEntityByName("VYTAH"):SetFloor(1)




game.entitywrapper:GetEntityByName("13_Triands_D_LIFT00"):SetFloor(0)




game.entitywrapper:GetEntityByName("13_Triands_D_LIFT00"):SetFloor(1)





done in my script another half a year ago


 









<div></div>
Title: Show Quest Dialog by Zahar999 & me
Post by: ocram on July 20, 2012, 12:42:30 AM
above in green



 




it show you that ingame they also use the command motionspeed for the lift,




you do not necessarily need it, because there must be  a default value somewhere,




wich explain why 'in chapter elevator rides quickly in FR it slowly'




motionspeed meanning is : speed of movement (animation speed)


 




but I do not know how to use it.   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">


 




nb:the info I posted above is not key names from files but it is what the game execute inside memory .
Title: Show Quest Dialog by Zahar999 & me
Post by: eXistenZ34 on July 23, 2012, 02:53:26 PM
In Empire Arms Hotel, lift don't move it's teleported directly to 18 th floor.


 




http] (//forum/22-existenz34-s-mods/3435-show-quest-dialog-by-zahar999-me?limit=6&start=12#9677)
Title: Show Quest Dialog by Zahar999 & me
Post by: ocram on July 23, 2012, 11:40:11 PM
yhea I saw that, its probably to high to go, so instant teleport,..I wish I had a lift like this  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">