FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visit View your posts View unanswered posts

Cigarette and smoke

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Tools
View previous topic :: View next topic  
Author Message
lightingft

Junior Member
Junior Member


Joined: 04 Jan 2014
Posts: 82
Location: Lithuania
185 Bank Notes
Items

PostPosted: Thu Jan 09, 2014 4:12 pm    Post subject: Cigarette and smoke Reply with quote

Hello. I am in need of some help for my project. I've tried JOJOXX's ideas on the RubyMods site, but it didn't work. I also need smoke. So anyway, What I would need is..- Anyone have a good script whipped up, which attaches a cigarette to an actors/enemy's hand? Making it move to his mouth, and also that he would puff smoke from his mouth? Any help appreciated, thanks.
Back to top
View user's profile Send private message
comicsguy

Junior Member
Junior Member


Joined: 02 Nov 2013
Posts: 41

103 Bank Notes
Items

PostPosted: Thu Jan 09, 2014 6:41 pm    Post subject: Cigarette and smoke Reply with quote

Look in Salieri script (where he smoke after briefing)

Or try use this

dim_act 3
dim_frm 2
findactor 0,"Tommy"
findactor 1,"cigarette"
findactor 2,"cigarette script" ----------------------------------???
findframe 0,"Tommy.neck"
findframe 1,"cigarette"
///Програмирование скриптов от Максимыча
act_setstate 2, inactive ---------------------------------???
label 101
player_lockcontrols 1

//////////////////////////////////////place sigarette in hand
human_linktohand 0, 1, right

person_playanim 0,"KurakLoop.I3D"
wait 2000
person_playanim 0,"KurakPotahnuti.I3D"
emitparticle 1, 24
wait 4000
person_stopanim 0
emitparticle 0, 25
wait 3000
stopparticle
goto 101
Back to top
View user's profile Send private message
ROB13

Junior Member
Junior Member


Joined: 23 Jul 2013
Posts: 45

54 Bank Notes
Items

PostPosted: Fri Jan 10, 2014 1:52 pm    Post subject: Cigarette and smoke Reply with quote

Your cigarette properties must be like this:


A simple smoking script:
dim_act 5
dim_flt 5
dim_frm 5
findactor 0,"Tommy"
findframe 0,"Tommy.neck"

label 1
enemy_playanim "kurakloop.I3D"
wait 7000
enemy_playanim "kurakpotahnuti.I3D"
wait 7000
emitparticle 0,25
goto 1


I hope it helps for you Wink
_________________

Regards, ROB13

Last edited by ROB13 on Sat Jan 11, 2014 6:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
lightingft

Junior Member
Junior Member


Joined: 04 Jan 2014
Posts: 82
Location: Lithuania
185 Bank Notes
Items

PostPosted: Sat Jan 11, 2014 6:17 pm    Post subject: Cigarette and smoke Reply with quote

Thank you guys both for your help. I appreciate both your help.
I used JOJOXXs (a part from it) script from Ruby Mafia Mods, took a look up in MISE04-SALIERY (Sam's smoking anim) and it helped me, as well as you guys. Thanks. I finally builded it up and it works splendidly. Back to Salieri Underboss Mod 0.2, hehe.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.015 | Queries: 19