Jump to content

[Help] Add New Weapons and New Vehicles


HɪᴅᴅᴇN

Recommended Posts

Posted

It's more complicated than that. The createWeapon function doesn't create a player held weapon, but a weapon on the world. You can use models, attach it to the players body, and create a custom damage system. You'd have to create a texture that would hide the "default" weapon that the player is holding all the time. Then using that custom damage system, you'd be able to create weapons till you'd run out of usable world models that you'd overwrite.

Posted

Make default weapons invisible by txd or other ways, use bone_attach resource to add models of "weapons" and attach them to hands, mute default sounds and add sounds by OnClientPlayerWeaponFire and then add custom damage and etc through scripting.

Posted

use scripts from an open source dayz resource, there could be some usefull functions and scripts

or you can create a new weapon using bone_attach, elementData, the new IFP functions and any other weapon models you could found on the internet.

on adding vehicles i don't think so

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