RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

Custom weapon not appearing in armoury
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=7&t=3021
Page 1 of 1

Author:  Mirror517 [ Thu Jul 21, 2016 1:42 pm ]
Post subject:  Custom weapon not appearing in armoury

I'm making a custom weapon for a personal mod, but it's not showing up in the armoury. I've added it to all_weapons.xml, invasion_all_weapons.xml and grey_primaries.resources. I've tried loading with an without in_stock=1 in both the weapon file and invasion_all_weapons.xml. Nothing seems to work, it just doesn't appear in the armoury. I also set the commonness value really high to see if the AI would spawn with it, and they don't. I've tried looking for help, but nobody seems to have had the same problem.

Relevant files:

plasmarifle.weapon: http://pastebin.com/XZ6JwRKB
grey_primaries.resources: http://pastebin.com/kXUicMNp
all_weapons.xml: http://pastebin.com/mDDW72QG
invasion_all_weapons.xml: http://pastebin.com/0VhjSdYd

I'd really appreciate any help, because this has already consumed one afternoon and I'd like to move on! :x

Author:  The Soldier [ Thu Jul 21, 2016 2:49 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

It looks good from here, but check for two things - typos (e.g., missing quotes or arrows, etc.) and make sure you've actually enabled the package when you start a quick match or campaign.

Author:  Mirror517 [ Thu Jul 21, 2016 3:56 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

I changed the name of the AK47 as a test, and it looks like problem is that the game isn't recognizing any changes I make. I'm definitely loading my custom campaign, so I don't know what's causing this.

Author:  The Soldier [ Thu Jul 21, 2016 4:15 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

What does the setup of your package look like? It should look exactly like the vanilla package, except with only what you need in the proper folders, as most moddable games have it set up.

Author:  Mirror517 [ Thu Jul 21, 2016 4:46 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

https://gyazo.com/7a88a87954db2dd37925bcb4948d4d5a

I deleted all unmodified files leaving only my mod content, but now the campaign won't even launch. When I hit start it freezes for a second then nothing happens.

Author:  The Soldier [ Thu Jul 21, 2016 4:57 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

Let me see the mod and look it over, I can't tell from here.

Author:  Mirror517 [ Thu Jul 21, 2016 5:26 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

I think I'm done for now. This is getting to be more trouble than it's worth. Thanks for helping me, though.

Author:  The Soldier [ Thu Jul 21, 2016 5:30 pm ]
Post subject:  Re: Custom weapon not appearing in armoury

It may be a problem with your computer, since it didn't seem to work with just changing out the name on an AK-47.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/