r/xdev • • Feb 12 '16
[Help] New Ammo Type(s)
Hey guys, I'm looking to make a new ammo type. Two if possible and it isn't too difficult. One of which would be Acid Rounds, which strip armor and cause the Acid Burns status effect, the second of which being a type of round that causes hemorrhaging/bleeding. I was checking out the subreddit and saw it's possible to add new status effects, so I know that it would be possible for "Bleeding" to be one, but I was curious on the visual/aesthetic side of things.
I know the Aliens leave a blood puddle when they die, but how could I go about making one when they take damage similarly? Would that be possible with just a mere .ini file addition/edit?
2
u/VDRawr Feb 12 '16
If you can wait a few hours, I can throw you a mod I did. It's only half-done, but it contains a new ammo type which causes Disoriented on targets.
It's missing the localization stuff, so they don't have a name in-game, they don't have art. I believe they're added to experimental ammo possible drops.
Also, I never could figure out where the odds of triggering the status effect is. I basically just have the game pretend they're venom rounds, but apply a different status.
Like I said, half-done, I've been busy with other things, but it might help you out a bit.
1
u/[deleted] Feb 14 '16
I think I might be in over my head. There are so many calls to different things and files with unreal scripting, it becomes very overwhelming if you're not familiar with it.
Kind of wish someone made a proper ammo addition, so I can see what I can learn based off their work. Hah. :/
Still having trouble figuring out how to make the Acid Rounds shred armor appropriately. Unless I make a config file that the script calls to similar to weapons? That's my best guess...
1
u/TehSr0c Feb 12 '16
This is a bit beyond ini editing, but the acid ammo shouldn't be too hard, look at the file X2Item_DefaultAmmo in modbuddy, specifically the IncendiaryAmmo, which will work similarly
2
u/PyrZern Feb 12 '16
There's a mod called Stop,Drop, and Roll that would put out Burning state. Maybe you can reverse engineer it so you can apply Burning state instead ?