Jump to content

bad benson

  • Content count

  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

1508 Excellent

About bad benson

  • Rank
    Chief Warrant Officer
  1. Raptors, Zombies and more!

    this will still be updated at some point. i'm just being distracted by real life stuff and some other smaller projects. i thought about adding EH hooks into the module UI but your solution seems easy enough. so thx for leaving it here for others.
  2. Compile array from cfgGroups

    read the description of the commands on the wiki carefully. getArray is there for you to get arrays from inside config classes not configclasses themselves. stuff that looks like this for example inside a config.cpp class someclass { words[] = {"bla", "blee", "bloo"}; //this is the stuff you pull with getArray }; ///then inside the script _words = getArray (configFile >> "someclass" >> "words"); ///will return this ["bla", "blee", "bloo"] to pull configclasses use what i gave you in the first example (command called configClasses). seems like you missed that or something. SIDE >> FACTION >> INFANTRY >> GROUP >> (NAME & CONFIG PATH) this makes no sense to me so far. the (NAME & CONFIG PATH) part. but going by what you have in your first post in terms of formatting you could do this. _grps = []; { _name = getText (_x >> "name"); _grps pushback [_name, _x]; } foreach ("true" configClasses (configFile >> "CfgGroups")); that'll get you an array (_grps) of arrays that will contain the name of the group and the config path (actual, not turned into string just for clarity). the other info you can pull the same way using getArray, getText and getNumber.
  3. Compile array from cfgGroups

    yea i realise that you don't want to use php. still hard to understand what you mean. like "ACCESS names and configs FROM array INTO code"...hmmm. i'm probably just being stupid so i'll just try anyways. not quite sure about cfgGroups set up but this is how you generally can get configclasses. https://community.bistudio.com/wiki/configClasses _allgrps = "true" configClasses (configFile >> "CfgGroups"); then you can get more data with these https://community.bistudio.com/wiki/getNumber https://community.bistudio.com/wiki/getArray https://community.bistudio.com/wiki/getText i hope that helps a little.
  4. Compile array from cfgGroups

    i'd love to help but no idea about php. you got a more generic description of what you need?
  5. Enhanced Movement

    lol. that is quite slow. how much stuff are you carrying?! when you think you covered all grounds with your options some new crazy person comes along i could disable the speed coef when stamina is disabled but i honestly don't know, if i want that. i might make it another option but not sure, if i like that either. will have to think about it. thx for letting me know though. haven't thought of that scenario. that is great to hear. be aware though that all that means is that the mod wasn't properly enabled. sometimes when i upload an update it corrupts the workshop download for people or something weird. usually unsubbing and resubbing to create a fresh download will fix that.
  6. OPXL - American Building Pack

    that'd be awesome. milestone releases are good for both sides imho. in the end it's entirely down to you of course.
  7. Script for people not dying?

    ah the image. might aswell fix that then though. can't remember where it's uploaded tbh. thx for the info.
  8. Script for people not dying?

    what? that is very strange. let me go check that asap. i doubt there's something wrong with it though. just a simple regular paypal link. might aswell remove it though if there's an issue. noone ever donating anything anyways
  9. Script for people not dying?

    yea that's why i gave you key words you can use in any text editor to quickly find the places the damage is disabled and post them here. you see what i mean now? you can use more advancedf text editors like notepad++ to search through all the files at the same time.
  10. Script for people not dying?

    i was talking about the location inside the script files. you can't post a link of an entire mission and expect some stranger to look through it for you. find the code in question and post it here using the code formatting like everyone else does so we can discuss it openly. this way others with similar issues in the future will have resources to work with. that's what makes these forums so useful.
  11. Script for people not dying?

    do a search through all files for teh following commands/text segements: https://community.bistudio.com/wiki/allowDamage and addEventHandler ["handleDamage" this is very likely to at least give you the location of where people are set invincible. then you'll have some code people can actually work with.
  12. Gas particle parameter

    i made some generic smoke particles for the ATS mod that i can post later.
  13. Gas particle parameter

    read the documentation here https://community.bistudio.com/wiki/ParticleArray setParticleParams has a size parameter that allows you to create a curve of several values. same goes for color. that way you can also make it disappear smoothly at the end.
  14. Better explanation on finddisplay 46

    the GUI editor should have a function to export your dialog in config format. do that and paste that into you class inside description.ext. also i don't quite understand why you need that loop. those two eventhandlers already handle that event of both keys being down. i think you should just put your condition of both being true in there. but keep your set up with the two variables because afaik the EHs will fire for each key seperately. basically jsut add what you have in the while loop to the end of the code in the "keyDown" EH. it's more economical.
  15. Close Escape Menu via Script?

    you can use https://community.bistudio.com/wiki/allControls to find the button that closes the menu. not sure if BIS used actual buttons there but if so, you can use this to activate it. https://community.bistudio.com/wiki/ctrlActivate