ElexTron Software Posted July 28, 2010 Posted July 28, 2010 Is it possible to add a new weapon for real MTA use? Like say, for example, edit the weapons.xml inside the freeroam resource and add a new weapon? I kind of doubt this because I think that the weapons are built into GTA instead of externally defined, but I was still wondering...
dzek (varez) Posted July 28, 2010 Posted July 28, 2010 if you will rebuild GUI, and script a lot, there is a way to script new weapon. it will be a much to code anyway, but you can try, but dont except us to do it
DiSaMe Posted July 28, 2010 Posted July 28, 2010 You can't add a weapon in a way that GTA would understand it as a new weapon. But scripting lets you 'edit' the weapons. Let's say you want to change damage inflicted by a certain weapon. To do that, you can attach player damage event to a function that checks which weapon caused damage and set player's health to something else. With Lua you can even add new functionality, such as this:
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now