Author Topic: i want ammo for weapons that do not have built in ammo support.  (Read 4245 times)

If I recall there was a universal ammo system where I could just drop a few lines of code into a weapon and get ammo support.

Is this still a thing?

I want to set my own ammo pick up item and what weapons accept that type of ammo.




Gotta change the title because universal support that breaks T+T is not "universal" then and it's misleading!
« Last Edit: April 29, 2018, 06:40:51 PM by King Tøny »

Pick-ups, I dunno, but I've seen pieces of script for "ammo" in weapons that don't even handle ammo by any sense that we understand it in action.

As far as IF it exists already—I don't know.

Could it exist? Sure, and I feel like it should. It would be cool to see it work in tandem with things like Item Storage mod, too.

I recall pick ups where you can select the quiver pickup and assign it to any specific weapon you want.

Or a bolt pick up.

Musket ball pick ups.

Bullets.

etc

Eitherway I'm sure someone can make something quick if it doesn't exist.

I don't think it was released actually.

If I recall there was a universal ammo system where I could just drop a few lines of code into a weapon and get ammo support.

Is this still a thing?

I want to set my own ammo pick up item and what weapons accept that type of ammo.
Pretty sure it never existed unless you're on about a mod pack noone has access to now.
A universal ammo system would be pretty simple but it'd probably conflict with other ammo systems though
I'll aska  friend if they can do it.

it'd probably conflict with other ammo systems though
I'll aska  friend if they can do it.

That's fine with me.

The weapons I'm using don't have their own ammo.

A universal ammo system can't exist- only a dominant one, which i guess would be SWEPs or HL2 weapons

A universal ammo system can't exist-

What do you mean? It's impossible to develop a support system that can give ammo to even default weapons?

What do you mean? It's impossible to develop a support system that can give ammo to even default weapons?
Yes, you can give ammo to default weapons, but you have to define ammo count and usage for each weapon, as well as all other weapons that exist for blockland, such as addons and stuff, in order for it to be universal.

An ammo system for default weapons only isn't universal, its just an overhaul

Yes, you can give ammo to default weapons, but you have to define ammo count and usage for each weapon, as well as all other weapons that exist for

I don't see how you can't with prefs.

All you have to do is define the rocket launcher is a weapon that needs ammo.

Define the item pick up, being rockets.

Then set the rocket launcher's max ammo count and how much ammo it takes before reloading.

I don't see how you can't with prefs.

All you have to do is define the rocket launcher is a weapon that needs ammo.

Define the item pick up, being rockets.

Then set the rocket launcher's max ammo count and how much ammo it takes before reloading.
You need to make rocket items yourself. Also weapons that already use an ammo system will be thoroughly broken

You need to make rocket items yourself.

Okay so you take the rocket projectile model found in the default blockland files.

And turn it into a item you can pick up.

Easy 5 minutes of work.

Also weapons that already use an ammo system will be thoroughly broken

If I were using weapons that already have ammo support then chances are I probably wouldn't be using the universal ammo script to begin with.

But I'm not, I'm using weapons that do not have built in ammo support.

So I don't honestly care if it breaks stuff I'm not going to use like tier + tactical.



This is also easier on add-on makers because now they don't need to make their own ammo systems and they don't need to make sure if their ammo system is compatible with T+T or whatever.  
« Last Edit: April 29, 2018, 05:31:23 PM by King Tøny »

I'm not understanding the issue you're trying to present here.

If I want T+T I won't use universal ammo.

If I want universal ammo then I won't use T+T lol


And I'm sure someone could implement compatibility patches for T+T
« Last Edit: April 29, 2018, 05:35:08 PM by King Tøny »

Okay so you take the rocket projectile model found in the default blockland files.

And turn it into a item you can pick up.

Easy 5 minutes of work.
actually no the rocket has a trail and a cone effect that are part of the model so it would look pretty weird

Are we seriously going to argue the semantics over using a loving projectile model as an ammo pick up?

It can be a loving goldfish, who cares.