Jump to content

Invisible weapons


#Just_Me

Recommended Posts

Posted

hello guys, i'm trying to make an invisible weapons

i know that i should use DFF + TXD

i tried to remove the weapon from DFF and reuploaded the weapon to the server

all i got is a Crash

is there any mod or something that can do this ?

  • Discord Moderators
Posted (edited)

setElementAlpha, since a weapon is an element.

If i helped you, press like :D

Edited by Pirulax
Posted
local skin = engineLoadTXD("chnsaw.txd")
engineImportTXD(skin, 341)
local skin = engineLoadDFF("chnsaw.dff", 341)
engineReplaceModel(skin, 341)

this should work, provided that you place both files in the resource root folder and add them to the resource folder. works for me, at least.

Posted

ok let's say that it works

that's not for all weapons

cause i took the image inside the txd

and used it for another weapon but it still the same weapon

Posted

okey, is it possible to set the property of the weapon on the local player only ?

not for all weapons with same model ?

like for making custom weapon,  if i used 2 Deagles with different textures

how to make the first texture with private property ? and the second one also ?

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