San Andreas / Mods / CLEO Modifications

Custom Ammunation V3.5


  • cjfan | uploaded by CJfan
  • 09/15/2021
  • 14433 Downloads

Ratings:

Please sign in first.


Favorites:

Download
16.31Kb
Virus detection rate: 0%
See Virus Scan Report

Videos


You need to be signed in to add videos to this mod.

Description

V3.5 Update
• Improved compatibility with other mods


WARNING:
If you have V3+ versions installed you can just copy amunew.cs to your CLEO folder.
If you have any version of this mod before V3 delete it before installing this.



Now you can add your own weapons to Ammunation. All weapon data is stored in data\ammun.dat. Weapon names stored in CLEO\cleo_text\amutext.fxt.

To add your weapon add your added weapon id (from gtasa_weapon_config.dat) to ammun.dat and all the other properties and add a name to amutext.fxt.

There are 19 comments posted yet.

QWARTY
Local Hustler
1
Profile
01/29/2024 14:02

Hi, I'm using your mod for my project and I ran into this problem: I added a huge number of weapons and I either don't have enough slots for the Machineguns category, or I did it wrong * although I double-checked everything 100 times).Would you like to make 4 tabs of this script individually for my project for me? (I will definitely include you in the project) :)

Quote | Reply | (0)
CJfanModder badge
Kingpin
12
Profile
04/04/2022 16:44

@Shimada

I'd have to manually add it to every script. Also originally i wanted to make the menu scroll down but I thought it wasn't possible so I made it use pages (it is possible to make it scrollable but I'm not redoing it now).

Quote | Reply | (0)
Mr.BerikModder badge
Kingpin
70
Profile
12/17/2021 23:54



Quote | Reply | (0)
Junior_Djjr
Heist Specialist
75
Profile
10/10/2021 14:04

@CJfan I just checked CHud::DrawAmmo and there the game divides the amount of ammo by 10 if the weapon is the flamethrower, very interesting, I didn't imagine that.

Quote | Reply | (1)
CJfanModder badge
Kingpin
12
Profile
10/10/2021 09:17

@Junior_Djjr I just made a script to check the ammo and the game thinks you have 100 when 0-10 is displayed. So it's not an error from my part. There's probably some maths going on when you fire the flamethrower.

Also if you notice the weapons.dat file says 500 ammo per clip but in the game the max clip ammo is 50.

Quote | Reply | (0)
Junior_Djjr
Heist Specialist
75
Profile
10/09/2021 23:33

Finally, people want a mod like this so bad they've even offered me money to create it, lol. But I never created it, and you created in the perfect way.

You could add my WeaponNames.fxt to your mod, it makes it easier for people to find the weapon ID and define its name.
https://gist.github.com/JuniorDjjr/30a3db9aa52d5e28543a89708d0c0d3f
I usually include this file in my mods in a "Weapon Names" folder in ModLoader.

By the way, when I add a flamethrower:
37 WEAP37 1 8 9 5000 100
Ammo gets 10 instead of 100, if I try 300 it gets 30. It could be a game problem, I don't know.

Quote | Reply | (2)
BMW M3GTR
Wheelman
13
Profile
10/01/2021 23:53

much appreciated,by the way is there anyway to adjust this limit?

Quote | Reply | (0)
BMW M3GTR
Wheelman
13
Profile
10/01/2021 18:59

it works perfectly for the 37 weapons to i added to ammunation,but when i add 38th weapon and walk in ammunation and it crashes,does it have a limit?



Quote | Reply | (0)
ShaktarV
Local Hustler
3
Profile
09/19/2021 21:43

Excellent, now it works just perfect, i was looking for a mod that could do this same thing without edit main.scm. Good job bud.

Quote | Reply | (0)
CJfanModder badge
Kingpin
12
Profile
09/19/2021 13:33

@ShaktarV

I uploaded the wrong file. Just wait for me to upload the correct files. It takes a long time because it needs admin approval.

Quote | Reply | (1)
ShaktarV
Local Hustler
3
Profile
09/19/2021 13:09

Game crashes after entering in a ammunation store even when no gun has been loaded yet on the .dat file. Help!

Quote | Reply | (1)
MDXNaTioNModder badge
Criminal Mastermind
681
Profile
09/17/2021 03:19

its much better than spawn only.
Oh yeah, i ll make sa extender like another website
give me a like if you wanna it

Quote | Reply | (1)
GregorHeckerModder badge
Criminal Mastermind
82
Profile
09/16/2021 18:06

Good mod its very great... Good job

Quote | Reply | (0)
official general 79Modder badge
Heist Specialist
37
Profile
09/16/2021 13:49

@ cjfan does this replace or add weapon IDs ?

Quote | Reply | (0)
KeiTran1Modder badge
Los Santos Veteran
25
Profile
09/16/2021 11:05

Nice mod!

Quote | Reply | (0)
KiloRyuModder badge
Criminal Mastermind
837
Profile
09/16/2021 03:08

This is great! I've been waiting for decades for adding a added weapons to ammunation and you came with this mod, Truly, you did a gread job. And can you make a similar mod like this but it's adding a new vehicle to export/import on easter basin docks? It will be great, I'm just curious

Quote | Reply | (2)
pleinaruModder badge
Criminal Mastermind
5649
Profile
09/15/2021 19:43



Quote | Reply | (0)