collapse

Author Topic: is it possible to get the "smoking cigarette" animation for PCs?  (Read 518 times)

Offline VickiLeekx

  • Fledgling
  • *
  • Posts: 19
is it possible to get the "smoking cigarette" animation for PCs?
« on: February 20, 2019, 09:55:25 AM »
Some male NPCs like the first guy you bite in the jack tutorial have a "smoking a cigarette " animation, i was wondering if it was possible to extract that animation and somehow add it to PCs, i think it'd look kinda cool..

Offline Barabbah

  • Majestic madness maker
  • Antediluvian
  • *****
  • Posts: 1505
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #1 on: February 20, 2019, 10:10:02 AM »
I was going to link a previous thread but then I found it I realized you actually started it  :rofl:
« Last Edit: February 20, 2019, 05:46:42 PM by Barabbah »
"Some quotations," said Zellaby, "are greatly improved by lack of context."
― John Wyndham, The Midwich Cuckoos
"fuck the hole in the face"
― me

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6160
  • Unofficial Patcher
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #2 on: February 20, 2019, 11:31:49 AM »
I think this is indeed possible with a trick. Check the developer guides in the patch for specific info...

Offline VickiLeekx

  • Fledgling
  • *
  • Posts: 19
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #3 on: February 20, 2019, 01:42:57 PM »
I was going to link a previous thread but then I found it I realized actually started it  :rofl:
is there a solution? i don't understand anything about that guide

Offline Barabbah

  • Majestic madness maker
  • Antediluvian
  • *****
  • Posts: 1505
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #4 on: February 20, 2019, 05:47:48 PM »
Soon I'll have to learn this stuff, if I'll understand something I'll tell you how to do it :razz:
"Some quotations," said Zellaby, "are greatly improved by lack of context."
― John Wyndham, The Midwich Cuckoos
"fuck the hole in the face"
― me

Offline DDLullu

  • Neonate
  • **
  • Posts: 75
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #5 on: March 03, 2019, 02:32:40 AM »
Yes it is!   I have made it with the animations of the UP.

1-In use.cfg  add the 3 lines below idle animations

// Idle animations
alias Smoke       "player_sequence Cigarette_Inhale"
alias SmokeIdle    "player_sequence Cigarette_Idle"
alias SmokeInto    "player_sequence Cigarette_Into"

2- line ~1660 in vamputil.py, in patch10.2rc1

        elif(gender == 0 and G.Delay == 0):
            #Human

3- let say we take the tremere female: that's line ~1692 in vamputil.py ,in patch10.2rc1

            #Tremere
            if(clan == 7 and i == 1): c.TrefemAnim2=""
            elif(clan == 7 and i == 2): c.TrefemAnim3=""
            elif(clan == 7 and i == 3): c.TrefemAnim1=""
            elif(clan == 7 and i >= 4):
                c.Smoke=""
                G.Delay = 3
            #Ventrue
            if(clan == 8 and i == 1): c.VenfemAnim2=""
            elif(clan == 8 and i == 2): c.VenfemAnim3=""
            elif(clan == 8 and i == 3): c.Smoke=""
            elif(clan == 8 and i >= 4): c.VenfemAnim1=""
        elif G.Delay != 0:
            G.Delay = G.Delay - 1


I have to add a delay here because the smoke animation take 19 sec to do and the timer here take 5 seconds.
So the animation is cut at 5 sec and we don't see the smoke!

For the ventrue i have put the smoke animation in third position and no delay.
So no smoke and less smoke animation then the tremere.

If you want male you do the same for the male part.

I have check the male cigarette, look good but the female one is through  her finger so i mod the
cigarette pos for the female. I have include it with this text in the zip file.  (in case you have to copy paste into vamputil.py)

Offline Barabbah

  • Majestic madness maker
  • Antediluvian
  • *****
  • Posts: 1505
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #6 on: March 03, 2019, 05:09:21 AM »
Great!! Thaks a lot
"Some quotations," said Zellaby, "are greatly improved by lack of context."
― John Wyndham, The Midwich Cuckoos
"fuck the hole in the face"
― me

Offline vampire_nonsense

  • Neonate
  • **
  • Posts: 73
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #7 on: March 03, 2019, 03:46:07 PM »
Thank you for the info and the fix, DDLullu!

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6160
  • Unofficial Patcher
Re: is it possible to get the "smoking cigarette" animation for PCs?
« Reply #8 on: March 06, 2019, 08:33:38 AM »
I have made it with the animations of the UP.

DDLullu, does this fix the visible glow without hands or cigarettes nearby you see with normal NPCs during the animation cycle? Do you think this is fixable?