IIRC. clip_size -1 means noclip is used. Instead, RPG code directly modifies the player ammo value when fired and doesn't hold a seperate clip/magazine value.
I would imagine if you: - Modify the max ammo for RPG to where you want it to be (ammodef). - keep clip_size -1 - set default_clip to your new default ammo value It should be fine. Look @ how the clip/noclip stuff is implemented, either in the huds ammo indicator, weapon classes, or in player classes. Adam "amckern" Mckern wrote:
Simple quistion, that i have yet to come across in my code time on source. How do i incrase the clip on the rpg to 6 rounds over 3? I have changed the default_clip to 6 in the script file but it still is not showing up, and also have changed all the refrences in the code that point to rpg_round from 3 to 6, and still nothing. If i change the line clip_size to anything other then -1, the gun runds around in infinte ammo. Help? Thanks Adam -------- Nigredo Studios http://www.nigredostudios.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders