Home / Forums / Modders Corner / Mafia Editing / Mod Help / Re: Mafia 1 mod help

Re: Mafia 1 mod help

Home / Forums / Modders Corner / Mafia Editing / Mod Help / Re: Mafia 1 mod help

4 replies
14 years, 1 month ago
#7382

Hey guys do you remember on mafia 1?Cuz im trying to make a few simple mods there just for fun and i have a problem.Ive already managed to make people follow you, make them piss,change characters but i wanna make a civil sitting on a chair and writing something.Dunno how to do it i can do anim for writing and put a table in front him but i have a problem with the chair, how can i make him fit in the chair correctly?or when someones smoking, i want to put a ciggarete into hes hand.How can i do that?please help,im stuck :dry:

14 years, 1 month ago
#9210

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]

14 years, 1 month ago
#9217

Yo darren i may sound annoying but it still doesnt work properly <img decoding=” 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 <img decoding=” 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]

14 years, 1 month ago
#9220

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”?

14 years, 1 month ago
#9224

You were right Darren <img decoding=” 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.