Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Problems with Taryn's Weapon Ammunition System

I have a problem with Taryn's Weapon Ammunition System by DerVVulfman.

Baisically, I have a set of Bows, and I want them all to use the same quiver, and all to be able to have the same arrows in them.

Here are the variables;
Code:
# Weapon / Clip Assignment Array
AMMO_TYPE = {28 => 16, 29 => 16, 30 => 16, 31 => 16, 32 => 16, 33 => 16,
             34 => 16, 35 => 16, 36 => 16, 37 => 16, 38 => 16}

# Weapon Empty SE Array
AMMO_EMPTY = {16 => "104-Attack16"}

# Weapon ReFill SE Array
AMMO_FILL  = {16 => "004-System04"}
                   
# Clip Max Fill Array
AMMO_CLIP_LIMIT = {16 => 30}

# Clip's Ammo Available Array
AMMO_CLIP_TYPE  = {16 =>  [17, 18, 19, 20, 21, 22] }
                   
# If true, weapon is loaded when the ammo is chosen in the ammo window.                   
AMMO_AUTOLOAD   = true                   

# If true, the Weapon ReFill SE will play in menu 
AMMO_AUTO_SE    = true
                   
# Connected Attacking Adaptation Switch
RTAB_CONNECTED = false

The other scripts i am using are;
  • SDK Part 1
  • Carnival Strength test
  • Blackjack
  • Ccoa's UMS
  • Ccoa's Advanced Weather
  • PrexCraft
  • Gradient bars

So I'm not using the other battle systems that came with the demo


My Problem is this:

When I select the quiver (Item 16) I can't use the selector. It comes up with the window of arrows, but doesn't let me select which arrows I can use. It just sits there. I can press escape and play the game, but not select the arrows to load into the quiver.

If anyone can help, that'd be great
 
I looked at your config section and was able to get it working. And as far as the SDK, well I got parts 1 to 4 in the demo so it isn't that. Ccoa's systems? Not a chance. Plugged in the UMS just to be safe.

Got a quickie 'limited-size' demo with these scripts?
 
DerVVulfman;256312 said:
I looked at your config section and was able to get it working. And as far as the SDK, well I got parts 1 to 4 in the demo so it isn't that. Ccoa's systems? Not a chance. Plugged in the UMS just to be safe.

Got a quickie 'limited-size' demo with these scripts?
Eh... Just tried putting the rest of the SDK in. It works now.

I was persoanlly hoping not to have to use the SDK. It makes the F12 function go all wonkey.

Edit: It still does damage even when there are no arrows equipped.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top