Did you install Asnen's Better Cigarettes Animation, but you sometimes yearn for the simple pleasure of a peaceful smoke? I've got you covered, stalker.
Enjoy Cigarettes
IMPORTANT: It is not my intention to encourage people to smoke. I personally advise against cigarettes and the like!
Note: If you have any suggestions write me a DM on ModDB or Discord [@tosox]
Description
This add-on makes it possible to play the longer, original FDDA cigarettes animation when Asnen's Better Cigarettes Animation is installed. This can be achieved by either right-clicking the cigarette in the inventory and selecting "enjoy cigarette" or having the cigarette in a quickslot and pressing the modifier key ("Shift" by default) along the key for the according quickslot.
Installation
Preview
Donations
Hi, if you're already here, would you mind leaving me a small tip? I'd be very grateful :D
[Changelog]
v1.0.0:
- Initial Release
v1.0.1:
- Added EFP Patch (Thanks to Jorg_13)
v1.0.2:
- Fixed busyhands bug when playing with FDDA backpacks enabled (Thanks to TheHowTM)
- Removed the need of the EFP only patch
v1.0.3:
- Added MCM menu
- Added enjoying cigarettes for cigarettes in quickslots when pressing the modifier key along with the quickslot bind key
v1.0.4:
- Fixed a potential FPS issue
v1.0.5:
- Fixed a rare busy hands bug
- Fixed a potential CTD
- Improved compatibility with other addons (Thanks NLTP_ASHES)
v1.0.6:
- Compatibility for Western Goods
- Removed EFP/GAMMA patch
- Fixed lighter lights for GAMMA
- Fixed functionality for EFP
v1.1.0:
- Greatly improved code quality
- Improved compatibility with other addons
v1.1.1:
- Fixed the player freezing when trying to skin a mutant (Thanks lizzardman)
Cool. Finally people can enjoy both.
N I C E
I don’t get it, how do you choose between the two animations? I haven’t downloaded it yet. Oh, I guess you just click on the cigarettes themselves and choose “enjoy”. ?
That’s cool
a benefit could be added ... if you enjoy the cigarette it takes away a little more radiation (time = benefit
Yeah, I could do that actually
It is a good idea. But the thing is, cigarettes are over-powered already. Perhaps do it the other way round; The shorter animation has reduced benefits. It should most probably be an optional feature for people who don't want items or gameplay being edited. I actually stopped using cigarettes in this game because they are too overpowered.
i asked around on discord how to change the values of stuff, you can use war dogs mil sim mod, theres a file there that edits values for almost all consumables.
i made cigarettes basically not heal any rads, and made vodka about 30% as effective as it was. now these things are more fore roleplay or selling to make some cash, and meds are vital to keep stocked on.
edit: the G.A.M.M.A. discord specifically
personally i use the longer with a patch for cold mod so smoke is a relative easy way to revoer the cold without been drunk, a good trade
this is a really creative idea, nice mod :)
Thank you :p
Awesome idea, great mod
Thanks :)
Expression : SG
Function : CRender::model_CreateParticles
File : r4.cpp
Line : 683
Description : Particle effect or group doesn't exist
Arguments : vehiclefx\exhaust_3
stack trace:
You need Asnen's Better Cigarettes Animation
Awesome bro, nothing like sitting at the window sipping on some vodka and smoking a cig while an Emission is going on lol
this guy gets it
Perfact!
easy 10/10 thank you for the cozy vibes
can you add this but for cigars also?
I would actually need animations for cigars first. And animations are very time consuming and furthermore I have no experience in animating stuff ¯\_(ツ)_/¯
Dont smoke, Stalkers
Nice idea, thanks for the mod :)
You're welcome :p
om confused wat are the alternate animations ?? one is the default fdda cig. animation and the other one is ansens cig. animation is there another animation i.e (alternate animation) ??
Asnen also created a longer cigarette animation. You can find it in the FDDA archive as an alternate animation, so I decided to include it here too.
This complement works with the last version of FDDA or is it possible to use it with previous versions?
I didn't check that. I used the latest version, but I should work with some older versions too.
Edit: Some older versions (v0.8.9.c and older) are missing an animation. Just install the EFP/GAMMA patch, it would fix that.
Using cigarettes uses strike anywhere matches but enjoying requires matchbox, I am using the EFP modpack (which doesn't drop/sell matchboxes). The GAMMA patch didn't fix this for me.
Thank you for the feedback, I'll take a look at it
Done, the EFP patch is now available. Just make sure to remove the old version of the addon before installing the new one if you haven't already ;)
Works like a charm, tested with all types of cigarettes. Thanks
I think opting to enjoy calls the backpack close animation at the same time it calls the long smoke animation, resulting in busyhands. I think. There's a lot going on in my MO2. GAMMA with the original FDDA config (I know, it's prone to busyhands to begin with), FDDA Backpack QOL, plus the "stock" GAMMA mods affecting cigarettes, and of course Enjoy Cigs. For the record I do have your GAMMA compatibility patch loaded. I have a separate Anomaly instance as well, may try testing later today to see which combinations proc busyhands. I'm not in my lane here, but I think the workaround might be to use the same method stock FDDA uses to snuff the backpack close animation when items get used from inventory, but without the necessary scripting experience I don't know what that would look like. If Enjoy is already doing that I'm sure it's something else in my instance.
EDIT: I've tested in my Anomaly install. As far as I can tell it looks like there's a hard conflict between FDDA backpack animations and Enjoy Cigs. With only FDDA, Ansens' animation, and Enjoy installed, and with Backpack FDDA animations enabled in MCM, enjoying procs busyhands every time it's used.
Ok thank you for your feedback. I'll take a look at it.
P.S: Busyhands can even happen in vanilla anomaly if you didn't know that. It's sometimes hard to find the error which results in this bug.
Yeah, I'm aware. Also, that the FDDA backpack animations are particularly prone to it. Given this is an extension of FDDA, I just figured you would want to know about the bug.
Yup, thank you again for reporting it. I'll start fixing the bug now.
Took me 5 hours to fix this bug, but it was worth it.
That's it! Thanks for banging it out! Seamless. Now I can immersively savor that sweet soviet tobacco to decrease my radiation exposure and somehow never get cancer however many or how long I smoke. Do you mind me asking how you fixed it?
Thanks again!
I'm so sorry, I just noticed I forget to tell you how I fixed it. Basically I just monkeypatched the function from fdda which plays the backpack close animation. If we are currently enjoying a cigarette, don't play the animation.
really cool mod now I can enjoy a smoke and chill in a campfire would be cool if you can enjoy vodka too
anyway to make that animation even longer? (As for example when i am waiting on a campfire to reg life anyways). Would love that for iMmErSiOn reasons^^
Well, I can't change the animation itself, but I could change the animation speed.
That would be pretty great to have as an optional files for us purists ^^
Maybe you could make it so if you choose to enjoy the cigarette you get a small psy protection buff.
FINALLY someone thought about this and actually did it
Having a bit of trouble... any advice?
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CInifile::Load::<lambda_81807c19017c4979821162c596a32750>::()::<lambda_1b88c8c45734258a12800fbd9297a662>::operator ()
[error]File : C:\anomaly_src\xray-monolith\src\xrCore\Xr_ini.cpp
[error]Line : 366
[error]Description : fatal error
[error]Arguments : Duplicate section 'cig_alt_parent' wasn't marked as an override.
Override section by prefixing it with '!' (![cig_alt_parent]) or give it a unique name.
Check this file and its DLTX mods:
"c:/anomaly 1.5.1/bin/..\gamedata\configs\system.ltx",
file with section "items_alt_cigs.ltx",
file with duplicate "items_enjoy_cigs.ltx"
stack trace:
Did you update the addon recently? I think the "items_alt_cigs.ltx" file is from an old version. Just delete it then you should be fine.
The sound does not match the smoking motion. Is it a bug?
Depends how much the sound is off. I know that the sound for the original animation is not entirely synced with the motion, which is an FDDA issue. Sometimes when the game lags this can also desync the audio with the motion.
I love this mod. I'm an avid smoker, and I think it's very fitting for my characters to want to have a peaceful smoke after a hard firefight, or one with their morning coffee.
10/10
Thanks :)