Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show Quest Dialog by Zahar999 & me
#1
[hr:36692rom][/hr:36692rom]
[align=center:36692rom][size=300:36692rom]Show Quest Dialog[/size][/align:36692rom]
[hr:36692rom][/hr:36692rom]
[size=5:36692rom]All FR[/size]

[Image: 7f1479171928652.jpg] [Image: 1657b9171928674.jpg] [Image: e76e6b171928690.jpg]

[Image: c344e4171776319.jpg] [Image: e7b199171776331.jpg] [Image: 961cb0171776340.jpg]

[Image: 382c24171776510.jpg] [Image: 0528a0171776523.jpg] [Image: 98d29f171776531.jpg]
[hr:36692rom][/hr:36692rom]
Script injector
Quote:DelayBuffer: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
Quote: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})
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
#2
Ha ha ha, good job fellas as usual. Thanks for sharing :lol:
#3
eXistenZ34

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

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

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

http://www.youtube.com/watch?v=T_cT4vc1rqs
#4
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()
#5
eXistenZ34

Les trois premiers liens vers vos images m'ont conduit à certains sites pornographiques. What'd dire pour cela?
#6
Sorry, when I upload an image on IMAGEBAM, I have a choice to do and I made a mistake.

[Image: 142st2p.png]
#7
eXistenZ34

That's OK now. Since I'm writing here, I'd like you to look at this http://mafiascene.net/forum/14-mafia-mo ... acon-issue
#8
eXistenZ34 zahar999
??? ?? ??? ???, ??? ????! ??? ????????? ??? ??? ? ??? ?????:
[Image: e7b199171776331.jpg]
? ? ??? ?? ??? ???? Freeride ??? ??? ?? ??? ?????
#9
??? ??? ??, ??? ????? ??? ???? ??? ????? ? ??? ??? ??? ?.
? ??? , ??? ?? ??? ? ??? ? ??? ?? ??? ????? ? FR M2ex?
#10
eXistenZ34

? ??? ???? ??? ????? ??? FR MII ? ??? ????? ??? ? ??? ?
? ??? ???? ??? ??? 50/50
? ??? ? ??? ??? ? ??? ????? 100% ??? ??? FR MII?? ? FR J?
#11
zahar999" post=3681":3qh0fsye Wrote:eXistenZ34

? ??? ???? ??? ????? ??? FR MII ? ??? ????? ??? ? ??? ?
? ??? ???? ??? ??? 50/50
? ??? ? ??? ??? ? ??? ????? 100% ??? ??? FR MII?? ? FR J?
? ??? ? ??? -?? ??? ?, ??? ??? ??? ? ??? ???? ?? M2ex. ??? ????? ??? ? ??? ???? ?? M2ex
#12
up
#13
eXistenZ34" post=9338":9id8f5tx Wrote:up
I added these different pictures
in your FR JA v3.0
for Tony, Marty
garage
for winter and summer

http://www.youtube.com/watch?v=oSvnDQqXj7U

why do you do not add picture?
is obtained that we for nothing found these commands
#14
used like this, I find it fairly well Smile or to launch a mission. Wink

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.
#15
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
#16
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
#17
ocram
I do not understand
Quote:they have an animation speed
for elevator standard command ...:SetFloor()
for "Chinese Restaurant"
I did not seek key just used the name
Quote:game.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

http://www.youtube.com/watch?v=rmwtE5Z_3JU
#18
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. Wink

nb:the info I posted above is not key names from files but it is what the game execute inside memory .
#19
In Empire Arms Hotel, lift don't move it's teleported directly to 18 th floor.

http://mafiascene.net/forum/22-existenz ... rt=12#9677
#20
yhea I saw that, its probably to high to go, so instant teleport,..I wish I had a lift like this Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)