Faceman Posted February 15, 2008 Share Posted February 15, 2008 I'm having a bit of trouble creating a mod that changes the newly added M1014 shotgun from the 1.05 patch to the Secondary section in the inventory screen. I've tried editing the u_m1014.xml from the data/units/weapons path (changed "weapon_class" value to "secondary" and "inventory_slot" value to "secondary") but no luck. I know its definitely picking up my changes though as I also changed the strings for the weapon names and included that in my mod .bundle and they are coming through in the game. Anyone got any ideas? Quote Link to comment Share on other sites More sharing options...
SnowFella Posted February 15, 2008 Share Posted February 15, 2008 Check out the /lib/managers/xml/weapon_data.xml file Quote Link to comment Share on other sites More sharing options...
Faceman Posted February 15, 2008 Author Share Posted February 15, 2008 Check out the /lib/managers/xml/weapon_data.xml file Aha, thanks Snow I hate it when things are broken up all over the place with references. Object oriented principals and such, bah Quote Link to comment Share on other sites More sharing options...
Faceman Posted February 15, 2008 Author Share Posted February 15, 2008 (edited) Success! I was able to add the Aimpoint back onto it as an accessory too (looks like they originally intended on including it but didn't for some reason). Only problem is; there doesn't seem to be any associated animations for it or something as when you right-click to "aim" nothing happens. But the model appears fine, correctly aligned, etc and the UI and HUD graphics are all there. Strange. Edited February 15, 2008 by Faceman Quote Link to comment Share on other sites More sharing options...
GRIN_Wolfsong Posted February 15, 2008 Share Posted February 15, 2008 Success! I was able to add the Aimpoint back onto it as an accessory too (looks like they originally intended on including it but didn't for some reason). Only problem is; there doesn't seem to be any associated animations for it or something as when you right-click to "aim" nothing happens. But the model appears fine, correctly aligned, etc and the UI and HUD graphics are all there. Strange. That's why it's removed. Quote Link to comment Share on other sites More sharing options...
SnowFella Posted February 15, 2008 Share Posted February 15, 2008 Was it ever there though? Or have I missed something here? If there's only one aiming animation for it then we pretty much are in the same situation as with the SAW, nothing that can be done inregards to new sights. Quote Link to comment Share on other sites More sharing options...
GRIN_Wolfsong Posted February 15, 2008 Share Posted February 15, 2008 Was it ever there though? Or have I missed something here? If there's only one aiming animation for it then we pretty much are in the same situation as with the SAW, nothing that can be done inregards to new sights. It was an idea. But I'm guessing animation time didn't permit it due to other projects having high priority. Quote Link to comment Share on other sites More sharing options...
Yorkshire Sniper Posted February 15, 2008 Share Posted February 15, 2008 On a slight side note.... does anyone have any idea why the new patch.bundle wont extract with Nemon's bundle extractor? Quote Link to comment Share on other sites More sharing options...
SnowFella Posted February 16, 2008 Share Posted February 16, 2008 It didn't work with the earlier versions of GRAW2 either if I recall correctly. Use the bundler tool that came with GRAW2 instead, search the forum as there's plenty of information around on how to use it. Quote Link to comment Share on other sites More sharing options...
Yorkshire Sniper Posted February 16, 2008 Share Posted February 16, 2008 tried the command prompt method and the "run" method and im not getting anything to happen... on the command prompt i keep getting Unknown error, and the "run" i get nothing... all that extracts is the anims folder... Quote Link to comment Share on other sites More sharing options...
Faceman Posted February 16, 2008 Author Share Posted February 16, 2008 tried the command prompt method and the "run" method and im not getting anything to happen... on the command prompt i keep getting Unknown error, and the "run" i get nothing... all that extracts is the anims folder... Yorkshire, copy the bundler.exe from you public_tools/bundler folder to your bundles folder then create a folder called data in the same place. Next, open a command prompt, change to the bundles folder I just mentioned and run the following command: bundler extract -r patch.bundle data data That should do the trick. Anyway, back on topic... If there's only one aiming animation for it then we pretty much are in the same situation as with the SAW, nothing that can be done inregards to new sights. I thought maybe the animation was there but for some reason wasn't being used (ie. not polished enough or something like that). Anyway, is it possible to use the Aimpoint aim animation from Brettzies M4 Super 90 for this M4 Super 90? Quote Link to comment Share on other sites More sharing options...
pez2k Posted February 16, 2008 Share Posted February 16, 2008 Brettzie's shotgun uses the Crye MR-C animations, a different set. Quote Link to comment Share on other sites More sharing options...
Faceman Posted February 17, 2008 Author Share Posted February 17, 2008 Oh, you can only use a whole set of animations for a weapon? I was under the impression you could specify which animation to use for each action, ie: reload animation = MRC reload animation, aim animation = SCAR aim animation, etc. Quote Link to comment Share on other sites More sharing options...
Archer_337 Posted February 17, 2008 Share Posted February 17, 2008 Oh, you can only use a whole set of animations for a weapon? I was under the impression you could specify which animation to use for each action, ie: reload animation = MRC reload animation, aim animation = SCAR aim animation, etc. Yeah, thats right Quote Link to comment Share on other sites More sharing options...
Brettzies Posted February 17, 2008 Share Posted February 17, 2008 Oh, you can only use a whole set of animations for a weapon? I was under the impression you could specify which animation to use for each action, ie: reload animation = MRC reload animation, aim animation = SCAR aim animation, etc. That would actually be useful, and is somewhat do-able if you want to rename a bunch of files and combine them together. When I say bunch, I mean a boat load. Would still have hiccups but may work more or less. I did it once, but never got it to recognize it as a "new" animation set. In other words, I was using the mrc combined with something else, so it pretty much screwed up the normal mrc if you used that weapon. It could still probably work, but I did give up after a while to move on. Quote Link to comment Share on other sites More sharing options...
Bottman Posted February 18, 2008 Share Posted February 18, 2008 So is there an easy way to change the MR-C to a secondary spot? If so, how? Thanks. Quote Link to comment Share on other sites More sharing options...
GRIN_Wolfsong Posted February 18, 2008 Share Posted February 18, 2008 So is there an easy way to change the MR-C to a secondary spot? If so, how? Thanks. Exactly the same way as described for the M1014, but change the entries for the Crye instead. Quote Link to comment Share on other sites More sharing options...
pez2k Posted February 18, 2008 Share Posted February 18, 2008 Be warned however that the MR-C's grenade launcher uses the same slot as all the other GLs, so if you tried to equip a primary with a GL and a secondary MR-C with a GL, the MR-C would be rather broken. Quote Link to comment Share on other sites More sharing options...
GRIN_Wolfsong Posted February 18, 2008 Share Posted February 18, 2008 Yes. I suggest not using any GL on secondary weapons. Simply removing that attachment for the Crye in the weapon_data.xml should do it. Quote Link to comment Share on other sites More sharing options...
Bottman Posted February 19, 2008 Share Posted February 19, 2008 So is there an easy way to change the MR-C to a secondary spot? If so, how? Thanks. Exactly the same way as described for the M1014, but change the entries for the Crye instead. Ok, I obviously missed something. I unbundled the patch bundle, modified weapon_data.xml (changed the MR-C to secondary and the class id 3 to or something like that), rebundled the data folder called it my own bundle, placed it in the mods folder and modified the context.xml. What am I missing. Sill lost. Thanks for the help . Quote Link to comment Share on other sites More sharing options...
SpringMan Posted February 19, 2008 Share Posted February 19, 2008 i don't know what you missed, but why not skip all the rebundling, just keep your modified weapon_data.xml in your local\(your language)\lib\managers\xml folder. Maybe you rebundled the old XMB files too, you should delete those first. Quote Link to comment Share on other sites More sharing options...
MrNothing Posted February 20, 2008 Share Posted February 20, 2008 so could you do the same but with the rpg7 i want the rpg as a secondary on primary when i enabled it as a selectable weapon Quote Link to comment Share on other sites More sharing options...
Bottman Posted February 20, 2008 Share Posted February 20, 2008 i don't know what you missed, but why not skip all the rebundling, just keep your modified weapon_data.xml in your local\(your language)\lib\managers\xml folder. Maybe you rebundled the old XMB files too, you should delete those first. Ok, got it to work. Thanks Spring... You hit the nail on the head. Quote Link to comment Share on other sites More sharing options...
SpringMan Posted February 21, 2008 Share Posted February 21, 2008 (edited) you can do that with all weapons, but it sometimes produces an error when you order your team to go to recon mode with these guns. best solution is to use it only yourself then, or at least equip your mates with silenced sidearms. though i'm not so sure if the latter workaround really works. Edited February 21, 2008 by SpringMan 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.