- This topic has 4 replies, 2 voices, and was last updated 14 years, 1 month ago by .
Re: Mafia 1 mod help
Thanks Darren ive already made a progress in it thanks to you.Ive managed that the cigarrete and the guy acts as one object so they are both red when i click on the guy as you can see on the screen.but i think ive done something wrong with the coordinates or i dont know because when i play it the guy smokes with an empty hand and the ciggarete lies one metre from him where the hand used to be in the mafia editor.What do you think is wrong?
mafiascript.JPG[/attachment:3jiqzgun]
Yo darren i may sound annoying but it still doesnt work properly
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/sad@2x.png 2x” width=”20″ height=”20″> .Ive uploaded a screen of the properties as you wanted.i will also write down my steps while trying to do it maybe theres a mistake in it.
1.Ive made a model of a ciggarete in BScript View(FMVcigareta)and a model of frank(FrankHIGH).Than i saved it.
2.opened up Mafia world editor and putted frank on the ground than i saved it.Than i putted the cigarrete in hes hand and rewrited primary sector for “Fran.r_hand”(i called frank as “Fran”) than one of the positions folder changed for “0.076271,-0.0198,0.02879″Ive copied those and closed mafia editor with out saving.
3.opened up DCED and wrote those coordinates down in order x,y,z in cigarette properties and than i saved it.
4.opened up BScript view and wrote this script-dim_act 5
dim_flt 5
dim_frm 5
findactor 0,”Tommy”
findactor 1,”Civilian 1″
findactor 3,”Cigarette”
human_linktohand 3,1,RIGHT,HAND
label 1
enemy_playanim “Kurakloop.i3d”
wait x
enemy_playanim “Kurakpotahnuti.i3d”
wait 2800
goto 1
maybe theres a mistake idk
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/sad@2x.png 2x” width=”20″ height=”20″>
anyway here is the screen:
cigarettescreen.JPG[/attachment:2wugi6xc]
The only thing I can see wrong skimming through is that there is no need to put the sector as “Fran.R_Hand” because you have already defined it in the script (“human_linktohand”).
Also, what is “wait x”?
You were right Darren
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x” width=”20″ height=”20″> .It works for me now thanks to you Thank you for your time and good advices again dude.
- You must be logged in to reply to this topic.
