Jump to content

Recommended Posts

@rekkless: I am currently confronted with the same issue, because i have been to lazy to check up on the correct class names for the init-line. but if you look up the class names of the box you want to use and the ones for the items you want in the box you can clobber smth together i think... (sorry that i cant help more atm)

@rebelvg: I have to strongly second EO's request for the 'self-rolled'-contraband update, as well as i have to suggest a beef jerky update (i suppose the lollipop sounds could be reused here).

Share this post


Link to post
Share on other sites

I have a problem that it does not work inside the server but I have to work well in the editor?

Share this post


Link to post
Share on other sites

Immersion cigs seems to have a tendency to spam server RPT with:

Spoiler

20:17:42 Warning Message: No entry 'bin\config.bin/CfgMagazines.murshun_cigs_lighter'.
20:17:42 Warning Message: No entry '.picture'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.scope'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: Error: creating magazine murshun_cigs_lighter with scope=private
20:17:42 Warning Message: No entry '.displayName'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.displayNameShort'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.nameSound'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.Library'.
20:17:42 Warning Message: No entry '.libTextDesc'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.type'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.count'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.maxLeadSpeed'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.initSpeed'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.reloadAction'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.modelSpecial'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.ammo'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.model'.
20:17:42 Warning Message: '/' is not a value

 

 

Should the server have Immersion cigs as a mod too or if not, why the above spam might be occurring?

Share this post


Link to post
Share on other sites
16 hours ago, Asmodeuz said:

Immersion cigs seems to have a tendency to spam server RPT with:

  Reveal hidden contents


20:17:42 Warning Message: No entry 'bin\config.bin/CfgMagazines.murshun_cigs_lighter'.
20:17:42 Warning Message: No entry '.picture'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.scope'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: Error: creating magazine murshun_cigs_lighter with scope=private
20:17:42 Warning Message: No entry '.displayName'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.displayNameShort'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.nameSound'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.Library'.
20:17:42 Warning Message: No entry '.libTextDesc'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.type'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.count'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.maxLeadSpeed'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.initSpeed'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.reloadAction'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.modelSpecial'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.ammo'.
20:17:42 Warning Message: '/' is not a value
20:17:42 Warning Message: No entry '.model'.
20:17:42 Warning Message: '/' is not a value

 

 

Should the server have Immersion cigs as a mod too or if not, why the above spam might be occurring?

Server should have the files too.

Share this post


Link to post
Share on other sites

Hey guys,

 

I am trying to figure out a way to remove cigs, lighters, matches etc from the player with a script. I found the classnames for the items (and cigs in various stages) and created a simple trigger which ought to removeAllItems upon leaving the trigger area. I did test it with other items that the playe can use but for some reason I cannot get the cigs-items to work. I also tried unlinkItem for equipped items, but it does not seem to work.

 

Do you have any ideas as to how I could do that?

 

Thanks!

Share this post


Link to post
Share on other sites

@Dj Rolnik

I took a quick look at the GitHub page.

If I am not missing something, the packet of cigarettes is a magazine and the cigarette being smoked is... goggles?

 

Share this post


Link to post
Share on other sites

@Maff, yeah I think you're right. Basically the cigs are put in the goggles slot so at this point the unlinkItem should work, but it does not.

 

I also tried the removal of magazines, but to no avail.

Share this post


Link to post
Share on other sites

Yeah ok, so removeGoggles does work on the smoked items.

removeMagazine works for cigarette packs, lighters etc.

However, I cannot seem to find a way to remove individual cigs unpacked from the packet. I thought that a simple removeItems would work, but instead it spewes the below error:

 

Spoiler

cigs-error.png

 

 

Okay, scratch that. player removeItem "murshun_cigs_cig0" actually does work. For some reason the removeItems cmd does not work though. Not a biggie luckily.

 

Thanks @Maff!

 

Share this post


Link to post
Share on other sites

Hello gentleman! This is absolutely amazing... Nothing like lighting one up in a difficult op! Little question tho... Is it possible to add Pack and Lighter via script? tried adding it to respawnInventory... No luck, regardless if in items or magazines. Nothing happens even through addItem.... Any help? Thanks alot! You rock! 

_x addItem "murshun_cigs_lighterItem";  _x addItem "murshun_cigs_cigpackItem";

not working...


    displayName = "Blah";
    icon = "Blah";
    role = "Blah";
    show = "True";
    uniformClass = "Blahs";
    backpack = "Blah";
    weapons[] = {Blah};
    magazines[] = {"Blah","Blah","Blah" ,"murshun_cigs_lighterItem","murshun_cigs_cigpackItem"};
    items[] = {"Blah","Blah","murshun_cigs_lighterItem","murshun_cigs_cigpackItem"};
    linkedItems[] = {"blah"};

not working as well...

Share this post


Link to post
Share on other sites

Any way to prevent the lollypop, cigarrette pack and lighter to load automatically on a player's equipment? It is messing my loadouts. 

Share this post


Link to post
Share on other sites

How do I get this crap from being added automatically to every unit, especially when I'm in Eden? It's messing with my loadouts. I can't find an entry for this in addon options. Do I need to add something to description.ext or init.sqf?

Edited by doctorbutts
added info for reasoning

Share this post


Link to post
Share on other sites

New update.

 

Version 1.5

Added cigs as NVGs.
Added light up and put out animations (thanks to WebKnight).
Changed text "Light up his Cig" to "Light up their Cig" to make it more gender neutral.
Only add cigs in singleplayer now excluding editor preview.
Take cig from pack works when cig pack is also located in vest (vanilla only, no changes for ACE version).

 

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

  • Like 5

Share this post


Link to post
Share on other sites

Do cigarettes appear as tiny spots of heat with thermal vision?

Share this post


Link to post
Share on other sites
6 hours ago, domokun said:

Do cigarettes appear as tiny spots of heat with thermal vision?

Afaik they should, but you can always try it out and tell us.

Share this post


Link to post
Share on other sites
On 5/25/2021 at 11:53 AM, boberro said:

yea id also like to know since im the one who uploaded it

 

it was originally just for myself after forking the code off github but then i decided to upload it for other people who wanted to play online using it

 

since i wanted to remove the original items and replace them with the dlc stuff i just remade the mod since i didnt know how to patch it in that way

 

i also wanted to add more features relating to the alcohol items added by sog, alter the functions/code and some other things

 

i gave you credit for it then put my name at the very end but if you want i guess ill delete it or make it friends only or whatever

  • Like 1

Share this post


Link to post
Share on other sites
On 5/27/2021 at 7:23 PM, pognivet said:

yea id also like to know since im the one who uploaded it

 

it was originally just for myself after forking the code off github but then i decided to upload it for other people who wanted to play online using it

 

since i wanted to remove the original items and replace them with the dlc stuff i just remade the mod since i didnt know how to patch it in that way

 

i also wanted to add more features relating to the alcohol items added by sog, alter the functions/code and some other things

 

i gave you credit for it then put my name at the very end but if you want i guess ill delete it or make it friends only or whatever

 

it's fine

it's possible to make a mod for a mod, so if anything updates it upgrades with it as well, but it's not an issue, so yeah it's possible to patch mod content to hide it from the game

 

on that note, I also wanted to add alcohol and other drugs, just never got to do that

 

mod is open source so people can learn, I probably just need to add some kind of licensing somewhere, but basically it's free for all

  • Like 2

Share this post


Link to post
Share on other sites
On 5/28/2021 at 12:33 PM, rebelvg said:

 

it's fine

it's possible to make a mod for a mod, so if anything updates it upgrades with it as well, but it's not an issue, so yeah it's possible to patch mod content to hide it from the game

 

on that note, I also wanted to add alcohol and other drugs, just never got to do that

 

mod is open source so people can learn, I probably just need to add some kind of licensing somewhere, but basically it's free for all

thanks. much appreciated. you're a pretty laid-back guy.

 

i wish i had more knowledge on how to alter mods, like you said, instead of recreating them, but i'm not that proficient. do you just overwrite the classes/classnames of things in the config with the changes you want? if so, then is there a way to modify or remove scripts as well? maybe putting modified or blank duplicates within the file structure inside the .pbo? i've always wondered.

Share this post


Link to post
Share on other sites

Oh cool, I noticed your mod didn't have any license on github so I wasn't sure.

 

@pognivet since your mod basically copies original mod files, why not add your own class and add original mod to requirements? It would also make it easier to use for those who already used Immersion Cigs mod.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×