Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Help! MOHAA Ironsight project.

  1. #1

    Default Help! MOHAA Ironsight project.

    Hey there!
    I need help with a small project I have in mind...
    Basically, I want to implement ADS in MOHAA in a way that doesn't break the SP campaign.
    I came to the conclusion that implementing sights as overlays should be the best solution. After all, many games use the same ADS system.
    For example...vm6lvuk81em11.jpg
    Overlays are use in mohaa to make the scope reticles for the sniper rifles, after all...
    Though I can't seem to find a way to apply each custom overlay to the corresponding weapon.

    Do you know if it's even possible to make this happen?

  2. #2
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    Hello!
    iirc someone made ads using the model, but it was in mp afaik, hope someone here or I could find it for you. but it defo already exists.

  3. #3
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

  4. #4

    Default

    Quote Originally Posted by RyBack View Post
    iirc, these mods breaks the Single-player campaign.
    these mods causes the crouch stance to be a little bit higher than the vanilla crouch stance.
    this makes impossible to play the whole campaign (even the tutorial), since the player will be required to pass through some low obstacles.
    Moreover, you can't zoom with these mods. In other fps games, the ADS zooms the view a little bit, to simulate the academic aim (reducing the fov) and helping the player to be a little bit more accurate.

  5. #5

    Default

    The problem with these mods is that they literally break the campaign.
    With these mods installed, the crouch stance becomes a little bit higher. This prevents the player from going through some lower obstacles during the campaign.
    Moreover, it's not possible to implement a small amount of zoom while aiming.

    I think the overlays are the best solution to both preserve the integrity of the campaign and gain a little bit more immersion.

  6. #6

    Default

    You can edit amount of zoom by editing .TIK file of weapon in: Medal of Honor\main\pak7.pk3\models\weapons\



    //========================================//
    // WEAPON ACCURACY MODELLING //
    //========================================//

    // Kar98 Sniper: Max Eff. Range is 650 yds with a muzzle velocity of 2650 ft/s. (7.92 x 57mm Mauser)
    bulletrange 4000 //the range at which bulletspread is applied (original)
    bulletspread 50 50 150 150 //minpitch minyaw maxpitch maxyaw
    zoomspreadmult 0.055
    bulletdamage 120 //original 100
    // tracerfrequency 2
    crosshair 1
    movementspeed 0.88
    zoom 20 // <------- VALUE OF ZOOM
    Github - Steam - .Crimewavez#5285

  7. #7

    Default

    Quote Originally Posted by Criminal View Post
    You can edit amount of zoom by editing .TIK file of weapon in: Medal of Honor\main\pak7.pk3\models\weapons\



    //========================================//
    // WEAPON ACCURACY MODELLING //
    //========================================//

    // Kar98 Sniper: Max Eff. Range is 650 yds with a muzzle velocity of 2650 ft/s. (7.92 x 57mm Mauser)
    bulletrange 4000 //the range at which bulletspread is applied (original)
    bulletspread 50 50 150 150 //minpitch minyaw maxpitch maxyaw
    zoomspreadmult 0.055
    bulletdamage 120 //original 100
    // tracerfrequency 2
    crosshair 1
    movementspeed 0.88
    zoom 20 // <------- VALUE OF ZOOM
    Yeah, I know....the problem is: how to put custom overlays to each single weapon?

  8. #8

    Default

    i think this is impossible to do it because this is hardcoded on the game engine.

    The only thing you can change is the snipers nothing more.

  9. #9

    Default

    I see.
    Thanks anyway, guys!

  10. #10
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    I wouldn't give up.
    Not yet anyways. I'll be finishing openmohaa (hopefully before mid February) which will open up a wide range of possibilities to mod the game however you want.
    Then your iron sight project will work .
    Try and fiddle up with the tiks abit more. Maybe your sp issues can be even bypassed by simply scaling the player down by 1%.

Posting Permissions

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