Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: trying to customize WGL models

  1. #11
    Sergeant Major Zulu1's Avatar
    Join Date
    Feb 19 2006
    Location
    Los Angeles, CA. USA
    Posts
    1,625
    The M82 is defined in the addons in this file. The M82A1_300 is inherited from from the M82A1, but the zoom factor is changed.

    @wgl5\addons\wgl_wep_config.pbo


    class WGL_M82A1: M21
    {
    WGL_M82A1_MODEL
    WGL_M82A1_MODELOPTICS
    scopeWeapon = 2;
    scopeMagazine = 0;
    weaponType = "1 + 16";
    magazines[] = {"WGL_M82A1Mag"};
    reloadMagazineSound[]={\wgl_sounds\man_wep\Reload_Rifle2.wss,WGL_SndLvl _2,1};
    drySound[]={\wgl_sounds\man_wep\Dry_Fire.wss,WGL_SndLvl_2,1} ;
    picture="\wgl_wep\icons\psdM82A1.jpg";
    opticsZoomMin=0.02*0.9/0.7;
    opticsZoomMax=0.02*0.9/0.7;
    distanceZoomMin=690;
    distanceZoomMax=690;
    displayName = "M82A1";
    dexterity=0.31;
    };
    class WGL_M82A1_300: WGL_M82A1
    {
    WGL_M82A1_300_MODEL
    WGL_M82A1_300_MODELOPTICS
    distanceZoomMin=310;
    distanceZoomMax=310;
    displayName = "M82A1, 300 BZA";
    System Specs: [Intel i5 655k 3.2ghz unlocked]...[8gb ddr3 1344mhz ram]...[evga GTX660sc 2gb gddr5]...[Creative Sound Blaster X-Fi Xtreme]
    Worlds largest collection of OFP files known to man.

  2. #12
    Sergeant
    Join Date
    Dec 28 2004
    Location
    PL
    Posts
    121
    Author of the Thread
    Thanks Zulu1 once again. I think I got the big picture now

  3. #13
    No, it does meant that it gets the model of the root definition set before

    In your example, it gets the model from WGL_M82A1, because it's the root definition and it will get all the definitions from there if there aren't new ones in the new definition


  4. #14
    Sergeant
    Join Date
    Dec 28 2004
    Location
    PL
    Posts
    121
    Author of the Thread

    a few more questions

    Can someone tell me please if it's possible to change descriptions (that are seen on screen) and sounds of weapons and vehicles while changing their models?

    I'm trying to make UKF model replacement and just thought that it'd be desirable to change also these two features. I just hope it's not "mission impossible";/

    EDIT:
    Please let me know if someone knows who made the generic replacements for WGL5. I'd rather contact that person than post in here since it's strictly WGL issue.
    Last edited by QBA69; Jan 6 2012 at 18:08.

  5. #15
    Hi, buddies, how to use @WGL_Ryn?
    Last edited by Laukhan; Apr 24 2012 at 16:34.

  6. #16
    @Laukhan

    Either go to: ...\Program Files\Bohemia Interactive\Arma Cold War Assault\@wgl5\bin
    or to: ...\Program Files\Codemasters\Operation Flashpoint\@wgl5\bin

    First read models_info.txt and make sure you have all required addons.
    Open models_base.hpp

    Spoiler:


    remove comments on
    Code:
    #define RYAN_MODELS
    and put comments on
    Code:
    #define WGL5_MODELS
    Text should look something like this:
    Spoiler:


    Save...

    Icarus
    Last edited by Icarus; Apr 24 2012 at 19:48.

  7. #17
    Thx,@Icarus, and do you know how to fix WGL5.12 handgrenade explosion sound and damage for default BIS grenades?

  8. #18
    No, sorry.
    Last edited by Icarus; Apr 25 2012 at 13:12.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •