dewu Posted January 10, 2014 Posted January 10, 2014 (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 January 10, 2014 by Guest
Castillo Posted January 10, 2014 Posted January 10, 2014 You can't have two models at the same time, but you can change them, it would be global of course.
Castillo Posted January 10, 2014 Posted January 10, 2014 engineLoadTXD engineImportTXD engineLoadDFF engineReplaceModel
dewu Posted January 10, 2014 Author Posted January 10, 2014 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
Forrest Posted January 11, 2014 Posted January 11, 2014 Not possible, you were already told. You can replace ONE with ONE, but you can't use two models on one ID.
dewu Posted January 11, 2014 Author Posted January 11, 2014 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.
50p Posted January 11, 2014 Posted January 11, 2014 You could use sniper rifle. It uses the same animations but you'd have to change the weapon property to disable first person view.
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