View previous topic :: View next topic |
Author |
Message |
lightingft
Junior Member


Joined: 04 Jan 2014 Posts: 86 Location: Lithuania 18 Bank Notes
Items 
|
|
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 |
|
 |
comicsguy
Junior Member


Joined: 02 Nov 2013 Posts: 41
103 Bank Notes
Items
|
|
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 |
|
 |
ROB13
Junior Member


Joined: 23 Jul 2013 Posts: 45
54 Bank Notes
Items 
|
|
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  _________________
Regards, ROB13
Last edited by ROB13 on Sat Jan 11, 2014 6:43 pm; edited 1 time in total |
|
Back to top |
|
 |
lightingft
Junior Member


Joined: 04 Jan 2014 Posts: 86 Location: Lithuania 18 Bank Notes
Items 
|
|
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 |
|
 |
|
|