Modding

Discussion in 'Scenarios' started by NecroVacuum, Nov 24, 2020.

  1. Taelyn

    Taelyn Guest

    Those are ours and where exposed already in the ConfigFiles but deactivated. As Vermillion said he simple enabled them
     
    #21
    Germanicus likes this.
  2. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,816
    Likes Received:
    4,111
    Can you give us some pointers about what is most probably going to happen to the blocks marked as "obsolete" in the config files ?
     
    #22
  3. Taelyn

    Taelyn Guest

    atm nothing. Most likely at some point we will re-use them for something new
     
    #23
    Germanicus and Kassonnade like this.
  4. NecroVacuum

    NecroVacuum Ensign

    Joined:
    Nov 24, 2020
    Messages:
    14
    Likes Received:
    2
    How to solve this? 20201202051849_1.jpg 20201202052001_1.jpg giphy.gif
     
    #24
  5. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,408
    Likes Received:
    12,013
    Use a weapon model meant for players. The NPC weapon models are not held correctly.
     
    #25
  6. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,286
    Likes Received:
    8,956
    As Ravien said, that rifle is for zirax. They don't have a wrist, so their weapons are rotated 90 degrees to fit with their hand.
    The pistol on the other hand is just that, a pistol. You have it set with the wrong hold type, so it's being held like a rifle. You need to change the hold type from 15 to 14.
     
    #26
  7. NecroVacuum

    NecroVacuum Ensign

    Joined:
    Nov 24, 2020
    Messages:
    14
    Likes Received:
    2
    Thanks. But I've tried all types of animation and it still rotated 90 degrees.
    there is Animations.ecf file where is:
    /* For items with weapon hold type=="X" we have a ray cast delay of Y */
    /* name=holdtype, value=delay, param1=holster, param2=unholster */
    { Animation Name: animation
    0: 0, param1: 0, param2: 0 /* block */
    1: 0.16, param1: 0.3, param2: 0.3 /* hand player */
    3: 0.6, param1: 0.3, param2: 0.3 /* */
    4: 0.65, param1: 0.3, param2: 0.3 /* hand total horror */
    5: 0.6, param1: 0.3, param2: 0.3 /* hand talon guardian */
    6: 0.6, param1: 0.3, param2: 0.3 /* hand zirax melee, cave worm, megalonops */
    14: 0, param1: 0.5, param2: 0.5 /* Player Pistol */
    15: 0, param1: 0.5, param2: 0.5 /* Player Rifle */
    16: 0, param1: 0.5, param2: 0.5 /* Player Rifle + weaker shooting animation */
    20: 0, param1: 0.0, param2: 0.0 /* Animation driven animals */
    }

    But what shoul i do?
     
    #27
  8. NecroVacuum

    NecroVacuum Ensign

    Joined:
    Nov 24, 2020
    Messages:
    14
    Likes Received:
    2
    Is it possible to add this blocks now in scenario?
     
    #28
  9. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,286
    Likes Received:
    8,956
    Which are you referring to? The rifle or the pistol?
    The rifle cannot be altered. It's designed to be held by a wrist-locked zirax.
    The pistol, assuming it's a player model pistol needs the holdtype changed from 15 to 14. Animations don't come into it.
    If the pistol is an NPC-used pistol (e.g. traderweapon) then it will be rotated 90 degrees like the rifle. This CANNOT be changed, it's the direction the model was built on in order for an NPC to hold it.
    Yes, but you'd need to assign a lot of IDs to use the larger blocks. One for each shape, and they have problems with texturing. Singularly, it can be done.
     
    #29
  10. NecroVacuum

    NecroVacuum Ensign

    Joined:
    Nov 24, 2020
    Messages:
    14
    Likes Received:
    2
    Yeah I know. I meant is it possible to config it or change some values somewhere in config files without changing main model?

    Is it in the BlockConfig.ecf like this:
    # obsolete - do not remove
    { Block Id: 825, Name: HullCornerLongA, Ref: Hull
    Model: CutCornerB
    ShowUser: NoButCSV # reported by HWS
    }
    # obsolete - do not remove
    { Block Id: 826, Name: HullCornerLongB, Ref: Hull
    Model: SlicedCornerA1
    ShowUser: NoButCSV # reported by HWS
    }
    # obsolete - do not remove
    { Block Id: 827, Name: HullCornerLongC, Ref: Hull
    Model: CornerHalfB
    ShowUser: NoButCSV # reported by HWS
    }
    # obsolete - do not remove
    { Block Id: 828, Name: HullCornerLongD, Ref: Hull
    Model: CornerSmallC
    ShowUser: NoButCSV # reported by HWS
    }
    # obsolete - do not remove
    { Block Id: 829, Name: HullQuarterRoundInv, Ref: Hull
    Model: RampRoundF
    ShowUser: NoButCSV # reported by HWS
    }
     
    #30
  11. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,408
    Likes Received:
    12,013
    No. You'll have to use a different model that has been configured to work with players.
     
    #31
  12. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,816
    Likes Received:
    4,111
    Use bandages. :D

    .
     
    #32
  13. NecroVacuum

    NecroVacuum Ensign

    Joined:
    Nov 24, 2020
    Messages:
    14
    Likes Received:
    2
    already done
    Руфдув.jpg
     
    #33

Share This Page