Jump to content

Weapon ID to two Model ID's


dewu

Recommended Posts

Posted (edited)

Hi guys. I got the question,

is this way to use one weapon ID to two Model ID's?

Expample:

{weapon id, model id},

{33, 357}, 

and i want:

{33, 357 and 372}, 

I want to use same weapon ID's in two models of weapons.

I'm newbie in LUA scriptering :)

Edited by Guest
Posted

I use

weaponTXD = engineLoadTXD("items/crossbow.txd") 
engineImportTXD(weaponTXD, 372) 
weaponDFF = engineLoadDFF("items/crossbow.dff", 372) 
engineReplaceModel(weaponDFF, 372) 
  
weaponTXD = engineLoadTXD("items/lee_enfield.txd") 
engineImportTXD(weaponTXD, 357) 
weaponDFF = engineLoadDFF("items/lee_enfield.dff", 357) 
engineReplaceModel(weaponDFF, 357) 

it's really hard to explain, but I want to use one weapon ID to both.

Please about some easier instructions :D

Posted

So, how to add new Weapon ID?

If not, , maybe is way to duplicate Weapon ID (ex. 33 - Country Rifle) for ex. 32 (Tec-9)?

I don't use Tec-9 ID and i want to have the same animation effects ingame like in Country-Rifle.

Posted

You could use sniper rifle. It uses the same animations but you'd have to change the weapon property to disable first person view.

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