MarkAm_i Posted September 1, 2014 Share Posted September 1, 2014 Hello, I have been hoping to figure out how to disable the claymores in the Mission HX mod for a long while now. I contacted harntrox and was pleasantly surprised to get a response from him. I need help deciphering his advice though. He said: "Claymores are stripped out by making the exclusion radius larger than the game level (change from 50 to 500 i think in the Constants)" I don't know anything about scripts or modding, but I think that it might just be a matter of getting pointed in the right direction by someone who does. Can someone tell me where I can locate them? Thanks. Quote Link to comment Share on other sites More sharing options...
wombat50 Posted September 2, 2014 Share Posted September 2, 2014 If you want to edit a .gtf file in Igor: -Have the mod containing the .gtf activated in GR. It's usually in the missions folder. -Open Igor -Go to Script in the top toolbar -Click import and browse for and open the .gtf file. -Go to script again and choose edit. -The gtf will open in a window -make changes -To save choose export from the Script sub-menu We like assualtHX gametype but the scripting in some cases really jacks with the draw and spotting distance. Had a look at it but it is way beyond me. Quote Link to comment Share on other sites More sharing options...
MarkAm_i Posted September 2, 2014 Author Share Posted September 2, 2014 If you want to edit a .gtf file in Igor: -Have the mod containing the .gtf activated in GR. It's usually in the missions folder. -Open Igor -Go to Script in the top toolbar -Click import and browse for and open the .gtf file. -Go to script again and choose edit. -The gtf will open in a window -make changes -To save choose export from the Script sub-menu We like assualtHX gametype but the scripting in some cases really jacks with the draw and spotting distance. Had a look at it but it is way beyond me. So, I assume that I can find the Constants once I do this? I thought it might be menus and submenus to locate it. What you're describing sounds more like an ini? I should have clarified that I know nothing about modding. Quote Link to comment Share on other sites More sharing options...
wombat50 Posted September 2, 2014 Share Posted September 2, 2014 (edited) Make a backup copy of the .gtf that is to be edited in case the original is edited beyond repair. I chose "(sp) hx_mission.gtf" as the one to edit. Initially I left the backup copy in the GR directory in the missions folder of the MissionHX mod. This will cause confusion when picking the gametype as there will be two entries for Mission HX in Quick Missions. Save the copy outside the GR directory so as not to cause confusion. After importing the script and choosing to edit it by again going to script in the toolbar and choosing edit a window opens. On the left hand portion are 3 columns: Group, Trigger and Comment. These are all clickable and will put the particular column in alphabetical order. The right-hand portion of the window contains these buttons: New, Edit, Delete, Constants, Tags, Summary, Close. All are clickable when appropriate. What I tried: I imported (sp) hx_mission.gtf and chose to edit it. I clicked on constants as harntrox alluded to. This opens a new window. The upper portion is where the constants can be edited. The lower portion is the list of constants. I saw nothing about an "exclusion radius" but I did see the value "50" in the value column and it is in the line called "distance prox allow mine" This is all trial and error so I edited the value to 500, clicked applied, closed the constants window, closed the Script window and exported the gtf as (sp) hx_mission.gtf I tried it on the Plantation map ingame and did not encounter any mines. I used the teamshadow cheat so my teams would not be shot while searching for the mines during the test. Been awhile since I have played Mission HX. The HX gametypes I alluded to came with Frostbite and they do not include mines at least the HX Assualt one we play. If I remember the mines are visible? That's my stab at it and I'm a novice scripter. The HX gametypes are a simple idea but the scripting to get there is very convoluted. If this is not the answer I have no idea what else to try. Edited September 2, 2014 by wombat50 1 Quote Link to comment Share on other sites More sharing options...
MarkAm_i Posted September 2, 2014 Author Share Posted September 2, 2014 Hey wombat, the clays are visible most of the time. If I can get this mod working without clays I will come back and share it. I gotta create a readme because there are a lot of updates, but it's what I find funnest for GR. I don't play much without Mission HX because of how the randomness replaces 'script traps' very well. Thanks for taking the time to test it and for the instructions. Hopefully within the next week or two I will be back online to share it, I'll try and make an effort. I haven't played GR in over a year and if this works, I can see myself getting back into some missions more regularly. I really appreciate the speedy response too, I am only online every 1-2 weeks so this is great. 1 Quote Link to comment Share on other sites More sharing options...
pagey Posted September 2, 2014 Share Posted September 2, 2014 AAAAhhh MHX, randomness as its best. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.