#Immersion Cigs - Rewrite

1 messages · Page 1 of 1 (latest)

raw pelican
#

Hello, dear Fellow Nerds.

I know some of you use immersion cigs and immersion cigs hotfix.
I'd like to advertise the replacement for my Immersion Cigs Hotfix.

Immersion Cigs - Rewrite

A new standalone mod, rewritten and packaged with WW2 Cigs and Immersive Crayons + SOG:PF Compat.

https://steamcommunity.com/sharedfiles/filedetails/?id=3375788189
https://github.com/OverlordZorn/immersion-cigs-rewrite

GitHub

Contribute to OverlordZorn/immersion-cigs-rewrite development by creating an account on GitHub.

raw pelican
raw pelican
raw pelican
#

https://steamcommunity.com/sharedfiles/filedetails/?id=3375788189

Immersion Cigs - Rewrite v2.1.0

  • New: Legacy Addon - compats for old classnames
    -- New CBA Setting:
    --- Update Personal Arsenal Loudouts - both ACE and Vanilla Arsenal - Will replace legacy classnames with the new counterpart.
    --- Update Default ACE Arsenal Loudouts - Will replace legacy classnames within the ACE Default Loudouts that usually come with the Mission.

**MissionMakers: **
Run [] call cigs_legacy_fnc_update_defaultLoadouts; from the Debug Console in the Eden Editor to Update Mission Integraded Default Loadouts!

  • Core - Improved: New Sounds
  • Cigars - Added: Texture for the Cigarbox
  • Other Stuff
raw pelican
raw pelican
raw pelican
raw pelican
raw pelican
raw pelican
raw pelican
#

https://steamcommunity.com/sharedfiles/filedetails/?id=3375788189

Immersion Cigs - Rewrite Update: 2.5.4

New Features 🎉

- General Code Refractor and Cleanup
  - Cigarettes are now based on puffs instead of time
  - Player Smoking Habbits can influence how long your cigarette lasts
- NIL - New: Nil Cig Brand
- Core - New: Ace Action to Pay Respect to the fallen
- Core - New: Light Effects for Smoking
- Core - New: Incompatible Mods Message

Full Changelog: https://github.com/CVO-Org/immersion-cigs-rewrite/releases/tag/v2.5.4

raw pelican
raw pelican
raw pelican
#

@hushed lichen you wanna check if a player is smoking in that moment or do you want a cba event when they start smoking?

hushed lichen
#

both would work to be hones, I'll be testing which one works better

#

starting smoking or the state during smoking are both fine

raw pelican
#

so a unit which is smoking has _unit setVariable ["cigs_isSmoking", true, true]

#

PVARs is a macro for Prefix Variables, meaning cigs_isSmoking instead of the more commonly used GVAR which would return cigs_core_isSmoking.

Q as in QPVAR just means its quoted: "cigs_isSmoking"

#

Lollipops or crayons are handled in the suckingaddon, resulting in cigs_isSucking

#

I had a check on the code:
For simply starting a cigarette, there is currently no dedicated API Event that could be hooked into via CBA Events.

There are some API CBA Events for everytime the smoke loop gets executed though.

I can add an cigs_core_API_startsSmoking cba event, but it might not get released cause im currently testing the Dynamic AI Smoking stuff on the dev branch.

#

@hushed lichen i saw your issue on github. Is that with DEV version or Stable?

raw pelican
raw pelican
#

Heads Up:
Next update will be released on stable next week.

Immersion Cigs - Rewrite 3.0.0
Upcoming New Feature:
AI - Automated Dynamic Smoking for Units

  • Fully controllable through CBA Settings
  • Manually make Unit Smoke through ZEN Modules
  • API to blacklist units from smoking for mission makers and more
raw pelican
#

3.0.0 released

hushed lichen
raw pelican
#

feel free to DM me with more details on what youre trying to achive

hushed lichen
#

I want to return a value when player starts smoking, cigs_core_API_startsSmoking does not return anything on its own so I assume I have to call it with some values or something but I can't really see any explanation on how to do it

raw pelican
#

those are not functions. they are keys for events.

#

["cigs_core_API_startsSmoking", {systemChat str _this}] call CBA_fnc_addEventHandler;

hushed lichen
#

ohh okay, now it makes sense, thanks

unborn granite
#

Can we get a joint? Definitely not allowed in current military but it didn't stop the nam boys from rolling one.

Great work on this mod also, I went through the git hub files and compared to the original and all the changes folks have done, it's impressive, good work folks.

oblique turtle
#

love the mod, enjoying puffin Pall Malls in Vietnam 🚬

raw pelican
raw pelican