Advanced Search

Author Topic: New custom weapon is being a V1A Plant Barrier.  (Read 2055 times)

0 Members and 1 Guest are viewing this topic.

March 11, 2016, 07:09:42 PM
Read 2055 times

Offline BiscuitSlash

  • MM8BDM Extender
  • *
  • Date Registered: November 20, 2010, 12:49:25 PM

    • View Profile
New custom weapon is being a V1A Plant Barrier.
« on: March 11, 2016, 07:09:42 PM »
I'm making a new weapon as part of V2 of my weapon pack, however, one of these new weapons is acting odd and I have no idea why.

I can summon the weapon through the console, but cannot collect it. Getting it through "give (weaponname)" and "give all" will not make the weapon usable, neither will typing in "use (weaponname) afterwards. The first bunch of coding is no different from my other custom weapons aside from name changing, and all those other weapons work fine.

The only time I've remembered this happening is during V1A with Plant Barrier, hence the thread title. Thing is, I have no knowledge of how that incident happened, so I'm completely stuck here.

March 11, 2016, 11:46:42 PM
Reply #1

Offline Russel

  • MM8BDM Extender

  • Doc Croc
  • ***********
  • Date Registered: December 17, 2010, 11:11:25 PM

    • View Profile
Re: New custom weapon is being a V1A Plant Barrier.
« Reply #1 on: March 11, 2016, 11:46:42 PM »
I can't say I know what your issue is off hand, but I have two possible solutions.

1) Check to make sure the code file for it is included properly. If it's not included in any DECORATE file, then it literally wasn't defined and as a result cannot be summoned.
2) Make sure the sprite names for the weapon are correctly named. If the game doesn't have most of the sprites for a weapon, then it won't stay in your inventory, nor can you select it.

March 12, 2016, 09:40:09 PM
Reply #2

Offline BiscuitSlash

  • MM8BDM Extender
  • *
  • Date Registered: November 20, 2010, 12:49:25 PM

    • View Profile
Re: New custom weapon is being a V1A Plant Barrier.
« Reply #2 on: March 12, 2016, 09:40:09 PM »
Solution 2's done the trick! Many thanks!

Kinda surprised that I missed that. Is this what happened with V1A's Plant Barrier?

March 13, 2016, 10:00:59 AM
Reply #3

Offline Russel

  • MM8BDM Extender

  • Doc Croc
  • ***********
  • Date Registered: December 17, 2010, 11:11:25 PM

    • View Profile
Re: New custom weapon is being a V1A Plant Barrier.
« Reply #3 on: March 13, 2016, 10:00:59 AM »
I went and downloaded v1a just to answer that last question, and...

Yes, this does appear to be what happened.
Was a bit of a trip down memory lane seeing the old organization scheme the game used to use, even if I hadn't touched v1a in my entire time being here.
But I digress.