1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

need help with DCS plugin and new Axis Force

Discussion in 'Digital Combat Simulators (DCS)' started by rocketfire302, Sep 27, 2024 at 16:32.

  1. rocketfire302

    rocketfire302 New Member

    Joined:
    Jun 19, 2024
    Messages:
    21
    Balance:
    22Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    SCN5, SimAxe
    Hi

    i am working on a sim rig that uses g-seat and g-belt. what i want to do is force the g-belt shoulders to pull on you if the jet is inverted. however once the jet is upright the behavior is opposite and must work as normally setup in the axis controls.

    I know how to modify the Lua file to detect inverted etc, but i don't know how to create a new force that is not used by the others.

    let me explain further, - yes i can detect inverted and just manipulate roll, pitch, heave values etc in the lua file, but then that will mess up these forces for the other axis. I just want a force that i can link to the axis and control independently when inverted.


    What i noticed is the there are "not used" forces in the drop-down menu on Simtools DCS plugin.
    i also noticed in the lua there are outputs that don't match any of the dropdowns.

    socket.try(c:send(string.format("%f; %f; %f; %f; %f; %f; %f; %f; %f; %f; %f; %f; %d; \n", slot_roll, slot_pitch, slot_yaw, slot_heave, slot_sway, slot_surge, slot_roll_rate, slot_pitch_rate, slot_yaw_rate, slot_aoa, slot_ias, slot_rpm, slot_onground)))

    i do not see any parameter that is for this "un-used" force, unless these values above correspond to the them.

    is it possible to link a "not used" force to a socket output so that i can drive the belt using it.