Xwad Posted February 13, 2015 Share Posted February 13, 2015 Hi is it possible to create a second mp5 weapon? i mean forexample that there are 2 mp5 gun in mta Link to comment
Dealman Posted February 13, 2015 Share Posted February 13, 2015 With the current version of MTA, no, you can only replace models - you can not add any. You'd have to wait for MTA Eir to be able to do that. Link to comment
xeon17 Posted February 13, 2015 Share Posted February 13, 2015 @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 Link to comment
Xwad Posted February 13, 2015 Author Share Posted February 13, 2015 its very pity:( i want to create a new weapon becaouse of this: https://forum.multitheftauto.com/viewtopic.php?f=91&t=84985 Link to comment
Dealman Posted February 13, 2015 Share Posted February 13, 2015 Do you mean to dual-wield MP5 like you can with the pistols and Tec9? Link to comment
Xwad Posted February 13, 2015 Author Share Posted February 13, 2015 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. Link to comment
Anubhav Posted February 13, 2015 Share Posted February 13, 2015 You can make new weapons using shaders. Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 And is it difficult? Link to comment
Anubhav Posted February 14, 2015 Share Posted February 14, 2015 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 Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 is there any tutorial video for this? Link to comment
xTravax Posted February 14, 2015 Share Posted February 14, 2015 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 Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 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? Link to comment
Dealman Posted February 14, 2015 Share Posted February 14, 2015 Sorry, but I really do not understand what you mean with "catch". Do you mean the stance when firing it? Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 yes stance i mean stance!! Link to comment
Dealman Posted February 14, 2015 Share Posted February 14, 2015 Not too sure, haven't been working with weapons before - but you could check out and play around with setWeaponProperty. Looking at it, I would assume that the flag "flag_aim_arm" is what you want. Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 Is it so good? i Thing i have do something wrong setWeaponProperty(32, "pro", "flags", 0x000002) setWeaponProperty(32, "pro", "maximum_clip_ammo", 20) Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 But how can i adjust that the tec9 stance change to mp5 stance? Link to comment
Dealman Posted February 14, 2015 Share Posted February 14, 2015 Well, I would think it would need to be like this; setWeaponProperty(32, "poor", "flags", "flag_aim_arm") But unfortunately it does not work. Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 noooo:((( its pity..But thanks! Link to comment
Xwad Posted February 14, 2015 Author Share Posted February 14, 2015 And is there any another way to make it? Link to comment
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