Jump to content

Moon_chilD

Member
  • Content Count

    1114
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by Moon_chilD


  1. Hey everyone,

    as it is right now (if I see it correctly) you have to load the CBA Addon Server Settings whenever you start a new mission that has not been on the server before. I say that because that is what I experience. Whenever I launch a new mission on our server the CBA Addon Settings are on default or at least on whatever the mission creator set them to (I'm specifically talking about the Server Settings)

    Is there a way that I can force these Settings on a server regardless of the mission, so that even new mission will have these settings.

     

    Sorry if I'm confusing! xD

    Edit: Can I maybe accomplish this with a PreInit execution through a mod?


  2. Hey guys,
    I have a question regarding extended evenhandlers. I have a "Respawn" Eventhandler and it looks like this: 

    class Extended_Respawn_EventHandlers {
      class CAManBase {
        class STAF_CAManBase_respawn_eh {
          Respawn = "_this call STAF_fnc_respawn_equipment;";
        };
      };
    };

    Now my question is, does this run on each unit of the class CAManBase (or those that inherit from it) that means even if the unit is created because the player JIPed or only once at mission start? 

    Thats it already.
    Many Greetings
    Moony


  3. The remoteExecCall is only to register the Zeus Module through ZEN. Quite frankly I haven't gotten around to figure out how to create my own Zeus modules independently (and especially for those that use a UI) 😁

    I think the locality is the huge issue here....for me. I have absolutely no idea when what is local to what.
    But this kinda gives me an idea. I think I'm going to try to remoteexec the code (disabelAI) only on the object (so basically where it is local)...at least this is what I get from your answer.


  4. @pierremgi I don't put it directly into the units init field because I'm talking about Zeus spawned units. And the issue only appears when the Zeus leaves the Server.

    @Leopard20 I will try your two options. 
    I don't have a direct check if the AI is disabled or not but I have a variable that is set on the AI accordingly (though checkAIFeature is a bit more elegant)

    I'll report back if it works or not!


  5. Hey, 

     

    this is my third and hopefully last issue related to Zeus. 

    I love using disableAI "Path" or for a matter of fact "forcespeed 0" to keep AI where they are (e.g. in guard towers).
    I achieve that by placing a Zeus Module above a unit and apply disableAI "PATH" on them. Works just fine. The issue now is, the second I leave the server (be it a crash or any other reason) the unit starts walking again.

    I know why. I know the command is executed locally and need to be executed again if locallity changes. Thatis why I build in a Eventhandler into my code (Here). But it doesn't work. 

    Do you guys have an idea how I an get it to work so the AI keeps disableAI "PATH" even if the Zeus disconnects? Maybe there is an Error or oversight in my code. 

     

    Your help is much appreciated, thanks a lot in advance! If you have questions just ask.

    One more thing, I know my code might be ugly or not the most efficient or even 100% correct. I'm very open to criticism since I'm still in a learning process.

    Many Greetings
    Moony


  6. Hey guys, 

    as explained here I'm currently trying to create a ACE Self-Interaction that grants you access to Zeus. 

    So far it works just not entirely. 😂

    In short: When you use the "Promotion" Self-Interaction I wrote you should be granted access to Zeus. The code that is running is this: https://github.com/IndeedPete/staf-mods/blob/master/Source/%40STAF_Misc/addons/staf_framework/fnc/zeusaction/fn_zeusactionpromotion_exec.sqf
    It is more than inspired by how ZEN handles Zeus promotions. (After weeks of trial and error with super long code this seemed way to nice to not use)

    As much as I understand after a quick ask on the ZEN Discord, this is basically how a Zeus is handled through the vanilla eden module. Whenever I test it alone (in the Editor or the Server) it works just fine but if I try to have another one also getting into Zeus it does not work for him. 
    So basically, I get on the server and create the Zeus through my Self-Interaction (or even Debug Menu) then I have my friend do the same (doesn't matter if you was there since launch of the mission or if he jips) and he can't get into Zeus. He only Zeus pings when he uses the zeus key.

    I'm fairly sure the issue is, the second Zeus is not create simply because if I look at 0,0,0 I only see one Zeus Game Master Module. (Yes I tried adding in objects to Zeus). 
    Now the issue: I have absolutely no idea why the second Zeus is not created. 

     

    By the way: Even using the ZEN Zeus Module to promote someone to Zeus doesn't work.


    It would be awesome if you could shed some light on this!
    Thank you very much for helping. I know this text might be confusing so I'm open to answer you questions!
    One more thing, I know my code might be ugly or not the most efficient or even 100% correct. I'm very open to criticism since I'm still in a learning process.

    Many Greetings
    Moony


  7. Hey guys,

    for week am I trying to get my idea to work but I'm at a point were I don't know anymore. This might sound a bit complicated so I will take my time to explain it:

    What I want is an ACE Self-Interaction entry that grants me Zeus access whenever I want. This is bound to some conditions though. 
    I want to declare in the mission (via Unit synced to a module) who gets access to this Self-Interaction entry. I also want to have a whitelist of people that will always have this Self-Interaction entry. When the Zeus access was granted I want to  have the option to remove the access to Zeus again. (This though should not be an issue once I have the adding ready)
     

    Over all I get it to work, the issue is the initialization of the code. Currently the idea is that the self-interaction is given to all units via "Extended_Init_Eventhandlers" for "CAManBase". That so far works. The issue is now that my code to add the self interaction is bound to several conditions:
    Here is the function that gets execute by the Eventhandler: https://github.com/IndeedPete/staf-mods/blob/master/Source/%40STAF_Misc/addons/staf_framework/fnc/zeusaction/fn_zeusactioninit.sqf
    This adds the three ACE Self-Interaction Entries: The Subaction where the other actions are settled in and the two action to "Promote" and "Demote" (Giving and taking Access) 

    These two Entries are the following:
    Promotion: https://github.com/IndeedPete/staf-mods/blob/master/Source/%40STAF_Misc/addons/staf_framework/fnc/zeusaction/fn_zeusactionpromotion.sqf

    Demotion: https://github.com/IndeedPete/staf-mods/blob/master/Source/%40STAF_Misc/addons/staf_framework/fnc/zeusaction/fn_zeusactiondemotion.sqf

    As you can see there are two variables that need to be set correctly in order for the unit/player to get the appropriate action:
    STAF_var_ZeusAction: If true then the demotion action is shown if false the promotion action is shown

    STAF_var_ZeusActionEligible: If true, the actions are show if false they are not shown.

    All my module that I sync to the unit does is Setting the Variable "STAF_var_ZeusActionEligible" to true. Now here is my biggest issue right now. This only works on mission start, but I want it to work with JIP people aswell. (e.g. the Players connect to the server already and the Zeus joins in later and therefore is not set to eligible). So basically the only thing I need is a way to set these variables automatically with the module even for jip people. I feel like there is a very easy solution to this. I just don't find it. 

    I know you might think this is totally useless, just assign a Zeus during the mission creation and bam. There are reasons behind this like "Having access to Zeus in any mission when this mod is loaded". 

    Thank you very much for helping. I know this text might be confusing so I'm open to answer you questions!
    One more thing, I know my code might be ugly or not the most efficient or even 100% correct. I'm very open to criticism since I'm still in a learning process.

    Many Greetings
    Moony


  8. Maybe that has been asked before but I'll do it again:

    Can you toggle "Vcm_Disable"? 
    To explain what I mean: We have a Zeus module which basically just executes `setVariable ["Vcm_Disable", true, true];` on the group of a unit. That so far works. Using debug I can also see, that if its set to true the AI will not use VCOM to react to fire. 
    NOw I build this module so it will act as a toggle. If it detects "true" it will set it to false and vice versa. But if I toggle it to false I can see that the AI is still (after it was set to true previously) not reacting with VCOM AI. Is this by design? Or is this a bug? Or is this even not possible?

    Another question I have:
    I see that VCOM AI has AI skills per side. Would it be possible to also add some way where you can assign different AI skills  per faction class? The issue is that OPFOR and INDFOR have insurgent factions and both have bigger armies in some mods. So lowering the skill set of INDFOR can in the end mean that a bigger, well trained army, fights on the same level as some insurgent cell. You think this could somehow be possible? (If you want me to post this on Github, tell me)


  9. I know this has probably been asked multiple times. 
    I couldn't find a clear answer unless reading through alle 600+ Pages. 

    So I remember at least a few years back RHS was considered incompatible with Vanilla and other mods due to a different calculation of damage. It might have been a myth or it might not be true anymore. This is my question...is RHS safe to use with vanilla and/or other mods (like CUP) or will there be a clear difference in the calculation of damage? (If it helps and makes a difference...we are using ACE)

    The reason I ask is that I remember to read a Reddit post a few weeks back that confirmed that such a different calculation was a thing but that it is gone since a not to long ago update. I just tend to not trust everything I find on Reddit 😉 Would be awesome if someone could enlighten me.


  10. I genearally leave the fake surround sound off on this one. For me it does not sound correct. The sound suddenly is not where I'd expect it. (Funnily enough: The Surround Sound that came with the G430 was really nice and I used it all the time) However, the sound on the HyperX Cloud 2 is really nice already.

    @Tankbuster Might be that my head is just too big xD This is basically what happened to mine twice (not my pic) and I see similar things all over the Amazon Reviews. Even if you just look for "Logitech G430" on Google Image Search you find many similar things!
    Not saying its a bad headset. Just speaking from my experience.

     


  11. Yeah, I'd also go with some HyperX Cloud 2. Very comfortable to wear. I had the Logitech 430 and HyperX Cloud Stinger before. With the Cloud Stinger I had a very annoying issue where people would constantly hear my Desktop Audio. (Tested with two different devices. The Support had no clue either). I had the Logitech 430 two times and both times they broke at the exact same place about half a year into use. The Plastic piece that connects the ear part to the head strap is just so brittle that it keeps shattering.  

    • Like 2

  12. 6 minutes ago, zukov said:

    tried twice before the trhead and some years ago, but no one answered my question


    And why should it not work? 
    But to answer that question: Yes, Unit Insignias work and will be displayed on Vehicles a user with a Unit that has an Insignia set up is in.


  13. I rarely work with eventhandlers so I might be wrong but in "ton_fnc_onVehicleDamage" what is _this? Wouldn't you need something like "_this select 0" or such:
     

    Quote

     

    this addEventHandler ["HandleDamage", { params ["_unit", "_selection", "_damage", "_source", "_projectile", "_hitIndex", "_instigator", "_hitPoint"]; }];
     

    unit: Object - Object the event handler is assigned to.

    hitSelection: String - Name of the selection where the unit was damaged. "" for over-all structural damage, "?" for unknown selections.

    damage: Number - Resulting level of damage for the selection.

    source: Object - The source unit that caused the damage.

    projectile: String - Classname of the projectile that caused inflicted the damage. ("" for unknown, such as falling damage.)

     hitPartIndex: Number - Hit part index of the hit point, -1 otherwise.

     instigator: Object - Person who pulled the trigger

     hitPoint: String - hit point Cfg name

     

     

    As I said, I can be completely wrong with this and just not understand what is going on right now.

    • Like 1

  14. 8 minutes ago, Dedmen said:

    According to Steam Subscriber Agreement 6D you can only upload stuff that you made yourself anyway. So that already rules that out.

    Uploading stuff you don't own to the workshop violates our forum rules too btw.


    Not necessarily. 6D also states this:
     

    Quote

    (or, with respect to a Workshop Contribution to which others contributed besides you, by you and the other contributors, and in such case that you have the right to submit such Workshop Contribution on behalf of those other contributors).


    I'd guess that this case also falls under this exception. The amount of "content" created by a user is not shown so I'd imagine that "Uploading the content" would count. (Obviously SGT Fuller (and anyone who also worked on the mod) would need to give the user specific permissions to upload that content and as @jeza said, SGT Fuller is not giving this permission anyway). So over all its redundant to ask. 

    (I don't want to go to far into off topic territory but I find this topic rather interesting.)
    Obviously I can be completely wrong. Haven't read the whole thing anyway so...Don't shoot me.  


  15. Okay, I have nothing interesting to add here just a confirmation that it happened for us once again. (I have no video that shows it...at least non that is not a meme video)

    In one mission we used some tanks (two different once, can't remember which) and we had two people crashing. I did not, however I and one of those that crashed had a trip down memory lane as well by listening to modem sounds. (Though I can imagine that the cause might not have been IFA but JSRS (Happened before the recent JSRS updates) Dunno if OP used JSRS aswell)

    So just saying that we had this issue aswell, about 2 or 3 month ago. 

    Many Greetings
    Moony

    • Sad 2
×