InsertCoins

Having weapons spawn without the ammo

11 posts in this topic

Hi guys (and girls),

Long time listener, first time caller. I was wondering if there is a way to have weapons spawn without ammo?

Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement

I shall sift through the files tonight and see what I can find.

Share this post


Link to post
Share on other sites

You could override ExileServer_system_lootManager_spawnLootInBuilding.sqf
and comment out the section that adds the magazines http://pastebin.com/wNBSK5wC

That would essentially mean you wouldn't have any magazines spawning with weapons but you should still get magazines spawning on their own

1 person likes this

Share this post


Link to post
Share on other sites
12 minutes ago, second_coming said:

You could override ExileServer_system_lootManager_spawnLootInBuilding.sqf
and comment out the section that adds the magazines http://pastebin.com/wNBSK5wC

That would essentially mean you wouldn't have any magazines spawning with weapons but you should still get magazines spawning on their own

:D

Share this post


Link to post
Share on other sites
7 hours ago, second_coming said:

You could override ExileServer_system_lootManager_spawnLootInBuilding.sqf
and comment out the section that adds the magazines http://pastebin.com/wNBSK5wC

That would essentially mean you wouldn't have any magazines spawning with weapons but you should still get magazines spawning on their own

I will give this a try. Would it spawn the axe without the swing also? :o

 

Share this post


Link to post
Share on other sites

as far as I'm aware, picking up an axe automatically adds the swing ammo

1 person likes this

Share this post


Link to post
Share on other sites

Looking at the code there it looks like the Axe is exempt from the ammo portion of the script anyway.

1 person likes this

Share this post


Link to post
Share on other sites

right, right. Too many beers I think. thanks guys!

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.