Jump to content
Ghost Recon.net Forums

Mig-29

Members
  • Content Count

    23
  • Joined

  • Last visited

Posts posted by Mig-29

  1. There seems to be problem with the extra plane mod, When I reached level 28 while using this mod nothing was unlocked for some reason. Could be an error on my behalf. I'll do some more testing.

    EDIT::: Well i started a new game and got past level 1 and I unlocked the Mig-25 while using your mod. So everything seems to be in order.

  2. 1. Just modified the MainMenu.lua file

    RefreshPlaneSelectList()

    PlaneSelect_PlaneStatusBlade1_OnShow()

    PlayerNeedsLevelFor()

    select_plane_model()

    action_plane_model()

    OnWeaponPackSelectionOpenPage()

    select_weapon_pack()

    2. MainMenu.lua and plane2skins.lua (custom file, to check for the extra planes before enabling to keep locks etc in place)

    isExtraPlayablePlane() function I dropped in, 3 cheers for the monster if statement smile.gif

    3. To much time on my hands smile.gif + trial and error

    So you just guessed the script?

    I just want to be sure, how did you learn these scripts? I don't think I understood

  3. ok i tried your mod.

    what scripts did u use to enable the extra planes?

    which file did you place them in? i saw an entry in the mainmenu.lua file.

    how did you figure them out.

    your like way ahead of me. lol

  4. Yep, every plane will be able to have a 2nd selectable skin

    adding relevant entities.mdl entries, ini file entries, mission playable models entries, dummy textures, default_planes.lua update and modifying mainmenu.lua

    So basically you're creating simple to use template for those who want an extra skin on their fighter?

  5. I will get it done for you in the next release, can you just confirm which texture it is full path + name

    The skin is FA-18C_Hornet_P02.dds

    Its in data2>textures>geoms

    So you're just adding second skin entry for every fighter in the game in the entities file?

    Make sure you are using the same naming patterns thats the fighter's with skins use.

    Ex: if you are adding another entry to the harv make sure its like this"

    dem_F-18_HARV_skin2_player

  6. XVi32 , completely free... should have the 2 Skin Plane Mod fully complete by Thursday, just got to tweak all the dat files etc

    you working on a mod at the moment?

    I'm trying to add the usused FA18C skin to the YF-17 Cobra (It was originally meant for the Yf-17). I don't know how to add an entry to the entities.mdl file.

  7. ..Just to show that it does work

    Hawx 2nd Skins

    Hmm, maybe there are settings in the mainmenu lua file which keeps the hidden planes like the FB-22 or Saab-35 Hidden? Maybe we can make them appear in the hangar?

    Should have a Mod out for this later on, I have all the planes listed now, just got to get rid of the lock on them

    #Update; will be able to filter out the DLC/VIP planes to sort out the locking etc

    What files did you edit in order to get this? Also did use a hex editor to edit the entities files or did u recompile it?

  8. Mission Any Plane Select

    Right, you get the splash screen, locked plane restrictions still apply, weapon pack restrictions apply ... recommened plane doesn't work on Mission 1 (assume for other imposed missions as well)

    so close...

    I just tested your mod and I think you came to the same conclusion that I did. The INIs need to be modded.

    Also the recommended plane does work. I think you just haven't unlocked the F/A-18 yet. You might have the Super Hornet or the Recon Hornet but not the C variant.

    Ill host my version later after some more testing.

    We need to make a unofficial patch that fixes other problems with the game.

  9. Stock inicache Inis

    I tried making the changes under select_weapon_pack() , the variable I was using was WeaponPackIsAvailable but no matter what I tried the packs didn't lock.

    The if statements under the weaponpack status blades update comment, I tried setting a value for WeaponPackIsAvailable to the false/true

    One thing we should take note of.

    I tested the menu lua file with the changes i made but without using a modded inicache. I used the stock inichache.bin file.

    I tried the 1st mission. The unlocked weapon packs for the "imposed plane" for that mission (in this case the F/A-18C) were selectable while the weapon packs for the other planes were not.

  10. Mig-29 thanks for the feedback, I will add a stock inicache

    Can you post the changes you had to make to the mainmenu.lua file to get the locks/splash to stay in place.

    Ok, I first made these changes like you did.

    function DifficultyPage_NextPage()

    UpdateClientStatusStr(eStatus_ControlsPage, nil)

    if (currentMissionIdx == 0) and (SelectMissionMode ~= SM_FREE_FLIGHT)then

    Menu_OpenWait("Splash01", "", true)

    elseif (GetImposedPlaneModel() ~= "") and (SelectMissionMode ~= SM_FREE_FLIGHT) then

    Menu_Open("PlaneSelect", "")

    else

    Menu_Open("PlaneSelect", "")

    end

    end

    I then made an CTRL+F search for "Splash01" and I found this line which I then made changes too.

    function Splash01_OnOk(object)

    if Item_IsVisible("Splash01_AContinue") then

    --SetupForImposedPlane()

    --StartGame(object)

    Menu_CloseWait("Splash01", true)

    Menu_Open("PlaneSelect", "")

    end

    end

    EDIT: I think we should find a way to enable all planes for every mission without making any changes to the inichache. What we need to do, is find a way to keep locked weapon packs unusable.

    We will probably need to make changes to the RefreshPlaneSelectList line.

  11. Ok i made a version that allows you to choose which plane you want but restricts locked weapon packs. It also keeps the splash screen. The problem im facing now is that the recommended plane for the mission isn't set as default in the hanger.

    note:this involves editing both the mainmenu.lua and the missioninfo_pc files.

    EDIT:Nvr mind the recommended plane is set. I swapped planes in the default_planes.lua file a long time ago but forgot to swap it back. but now it works.

    ill do some more testing b4 i host anything.

    note i was referring to the 1st mission only.

  12. Hey there, Bburn!

    Nice progress, you're making ill check the hosted mod soon.

    edit:when removing the plane restriction from the 1st mission, it causes the game to crash when loading that mission. i think its hardcoded.

    For some reason, people from Ubi forums end up here. Welcome to the forums Mig-29.

    Hey there!, I've seen you before also. ;)

    btw It was bBurn who redirected me here.

    You can download the mod file here that allows any plane selection. Any probs let me know.

    Thanks I'll check this out right now.

    btw, Can you host an unaltered version of the mod files. We need a stock version hosted.

    Edit:do we still need to remove the "missionimposedplane" line from the missioninfo_pc file? When we use this mod?

    Edit2:Can you make a version that keeps locked weapon packs unusable?

  13. Hey there, Bburn!

    Nice progress, you're making ill check the hosted mod soon.

    edit:when removing the plane restriction from the 1st mission, it causes the game to crash when loading that mission. i think its hardcoded.

×
×
  • Create New...