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 → Weapon Autoselect
Weapon Autoselect
2003-07-27, 6:31 PM #1
Okay, here goes. Firstly I think this is cog related as I cant find anything in the items.dat or static.jkl. I have edited the conc rifle cog and I do not want it to be autoselected if you run out of bullets in another weapon.

I tried to edit the "autoselect" module but if you make it ReturnEx() a value of -1 it makes it so you cant pull out the gun at all. Which is probably pretty obvious. I was so sure this had an easy solution, but I cant seem to find one.

Anyone got any ideas or suggestions?

------------------
Team Battle.
Team Battle.
2003-07-27, 7:04 PM #2
I'm not much of a cogger, but what if you have ReturnEX() return a value of 0?

Just a thought....

------------------
Look for my current project, The Force in Your Soul.
Last week I cudn't evn spel grajuat, but now I is one.

*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "S-TROOPER WUZ 'ERE!!!"
2003-07-27, 7:48 PM #3
Thanks, I think that worked!

------------------
Team Battle.
Team Battle.
2003-07-28, 12:37 PM #4
Glad I could help. [http://forums.massassi.net/html/smile.gif]

------------------
Look for my current project, The Force in Your Soul.
Last week I cudn't evn spel grajuat, but now I is one.

*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "S-TROOPER WUZ 'ERE!!!"

↑ Up to the top!