Creating Infinite Javelins

Creating Infinite Javelins

Description: by Nefarius

Categories: Tutorials (1.09x)


What you will need:
Automagic.txt
Weapons.txt



Step 1
Open up automagic.txt in your spreadsheet and add a new row to the file, change
the entry under the name column to INFINITE_AMMO (it doesn’t matter what you
name it thought), set the version column to 100, which tells the game its an
expansion only modifier, now set spawnable, rare, level and frequency columns to
1 (all of them of course) set group to 600, this will give our new INFINITE_AMMO
modifier the group ID 600, which isn’t used anywhere.
Set mod1code to 'throw' (without the quotes!) next set mod1min and mod1max
to 1, because 'throw' is a boolean modifier.
Now set itype1 to 'weap', again without the quotes of course.
To finish this file set divide, multiply and add to 0 and your done with
automagic.txt.



Step 2
Now open up weapons.txt, go down to the javelin row and scroll over to the
stackable column, set it to 0, do the same for mistack, maxstack and spawnstack.
Now scroll back to the 'auto affix' column and enter 600, this will tell the
game to use the affix group with the ID 600 for this item.
Now scroll over to qntwarning and set it to 0 as well, this will prevent you
from always having a no ammo symbol in the top right corner of the screen.
That’s actually all that there is to it, open a game and buy some javelins.

Link to this article: Select all

[url=https://d2mods.info/forum/kb/viewarticle?a=201&sid=a859e9471cdc19413d258604e5f17718]Knowledge Base - Creating Infinite Javelins[/url]