Jump to content

How to create a new Weapon??


Cobain~~*

Recommended Posts

Posted

in the "ULTIMATE DAYZ" and "TOP GTA" server have two rifles: M4 and M16

Can anybody do this or have an idea?

by what I saw on their server, they turn the gun on a MTA object, and put in the hand of the character..

Someone from this community can do? :oops:

Posted

i think: you can create one object and one weapon (with alpha 0) attach with bone_attach resource and use any functions:

  
getElementPosition 
createWeapon 
setWeaponState 
setWeaponOwner 
setElementAlpha 
getElementRotation 
  

etc

tables and math function

do not know if it is possible to do this

good luck

Posted
i think: you can create one object and one weapon (with alpha 0) attach with bone_attach resource and use any functions:
  
getElementPosition 
createWeapon 
setWeaponState 
setWeaponOwner 
setElementAlpha 
getElementRotation 
  

etc

tables and math function

do not know if it is possible to do this

good luck

You can't create a new weapon, it has to be a model and/or texture replace.

Posted
i think: you can create one object and one weapon (with alpha 0) attach with bone_attach resource and use any functions:
  
getElementPosition 
createWeapon 
setWeaponState 
setWeaponOwner 
setElementAlpha 
getElementRotation 
  

etc

tables and math function

do not know if it is possible to do this

good luck

You can't create a new weapon, it has to be a model and/or texture replace.

Dont mentioning the fact that weapons are like "hard-coded" into gta, and cant be totally replaced, the aiming and stuff will be the same, like dont expect replacing a rocket laucher and making it a sub machine gun.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...