Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → New cogger
New cogger
2001-02-25, 11:32 AM #1
How would i make it so you have unlimited ammo?
2001-02-25, 2:45 PM #2
In each weapon cog there is a line that has something along the lines of this in the fire message: ChangeInv(player, 11, -1.0);
That particular example is from the bryar cog. When fired it takes away one energy cell. If you were to make the 1.0 a 0, it would take no ammo. If you were to leave it as 1.0 and remove the negative sign (-), it would give you one energy cell per shot [http://forums.massassi.net/html/smile.gif]

------------------
Together we stand.
Divided we fall.

[This message has been edited by Aglar (edited February 25, 2001).]
2001-02-26, 10:38 AM #3
Cool thanx.

↑ Up to the top!