Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I kinda miss this feature - player and AI are given cigarettes or a lighter when you spawn.
thank you for the mod
the cigarette has to be in their goggle slot. you can write a script for them to take cigs out of their pack and put them in their mouth, but the actual cigarette/cigar item has to be worn in the goggles slot for it to be lit/used.
19:57:58 Ref to nonnetwork object <No group>:0 (Logic)
19:58:05 Ref to nonnetwork object <No group>:0 (Logic)
19:58:11 Ref to nonnetwork object <No group>:0 (Logic)
19:58:17 Ref to nonnetwork object <No group>:0 (Logic)
19:58:25 Ref to nonnetwork object <No group>:0 (Logic)
it spams this line whenever we smoke
someone actually made a joint mod with a full joint model.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2810882733
i havent tried it yet so i dont know if it gives you visual effects or anything. it would be nice to get it to relieve very small amounts of pain, but interactions with ace medical are difficult to code since its not well documented.
its open source so ill see if i can incorporate it into this along with the code from arma 2 takistan life when you smoked weed. at the very least it'll make your screen look trippy to make long patrols less boring. theres also some old code for lsd (which can make you see things that other players cannot) and some other drugs. ive just been really busy lately and havent had the time to dump into fixing then implementing these things.
look under "all magazines" if youre in the arsenal. all the items count as magazines to facilitate your pack of cigs or box of matches eventually running out. the cigar is the only exception since it doesnt come in a cigar box. thats just found in facewear, but you can remove it from your face and keep it in your uniform/vest/backpack for safe keeping.
@quebec
i thought that this was the case, but maybe i made a mistake. ill look into it when i have time.
You could make the possible future weed help as a pain killer, give it an ACE Compat
One thing though: Lighter sound doesn't work. Throws an error. Anyone else get this?
We CAN'T!! We're Smokers dammit!
would be cool if AI would light up a cig themselves in random intervalls, to calm their nerves ;-)
making them smoke myself is pretty finnicky and I wouldn't know where to start if I had to write a script for this myself...
the cigarette has to be in their goggle slot. you can write a script for them to take cigs out of their pack and put them in their mouth, but the actual cigarette/cigar item has to be worn in the goggles slot for it to be lit/used.
they're under magazines.
so go to a uniform, vest or backpack in the arsenal, click the tab for "all magazines" and look for the four items. they are "cigarettes", "cigar", "matches" and "lighter".
if you add them in with scripts you can adjust the amount of stuff in the magazine. example:
A half-filled lighter:
player addMagazine ["vn_b_item_lighter_01", 50];
A pack of cigarettes with a random amount of cigarettes inside (leaning towards half):
player addMagazine ["vn_b_item_cigs_01", random [0, 10, 20]];
An empty box of matches:
player addMagazine ["murshun_cigs_matches", 0];
no weapon exists to use the magazines (obviously) so either get them from the arsenal like i said or use a little code.
i like to use a little code in my missions so that everyone might or might not have cigs/matches, so you can take cigs off a body and smoke them, or use their matches, or whatever.
If you can make it work, that would be groovy.
it is pretty awesome. i was able to make it work a long time ago for a mission. i used the lsd/heroin/cocaine/weed scripts from arma 2 takistan life and tweaked them. with the right scripting you can make your vision look like a music visualizer. it makes tracers look especially crazy.
the only problem i have is making the drugs into consumable items that can be carried in your inventory. also with weed i gotta use the basic cigarette/cigar model since there's no spliff/joint model in arma as far as i know.
i forgot, but it's in there now. thanks for reminding me.