Jump to content

Creating new weapons


Xwad

Recommended Posts

Posted

@Dealman , Can you tell me what is MTA Eir? never heard that.

@Xward , use the following functions if you want to replace some existing weapons models.

engineLoadTXD 
engineImportTXD 
engineLoadDFF 
engineReplaceModel 

Also , it's possible to create weapons , but they can't be used by players ( as i know )

createWeapon 

Posted

no i mean that on my server there are to teams. team 1 has the mp5 weapon and the team2 has the tec9. My problem is that the tec9 weapon has another catch (there is an image link above). And i want to change the tec9 catche to mp5 weapon catch,hilt.

Posted

No, you just need to follow these steps.

1. Get the texture name

2. Get the original texture and edit it

3. dxCreateTexture + dxSetShaderValue

I think these were they

Posted
You can make new weapons using shaders.

How in the hell do you make a new weapon using an existing original texture?

By using shaders in that way you could only modify the existing weapon's texture(look) but not create/make a completely new weapon

Posted

listen its not important to create a new weapon. I jst want to change the tec9 catch to mp5 catch. Is it possible with script or animation or with everything else?

Posted

Is it so good? i Thing i have do something wrong xD

  
setWeaponProperty(32, "pro", "flags", 0x000002) 
setWeaponProperty(32, "pro", "maximum_clip_ammo", 20) 
  

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...