Thursday, March 12, 2015

[Help] Mod replacements for Jacket's Piece/hiding a common mod on just one weapon

Unknown
I have two questions.



---



First, I'm having trouble replacing the '80's Calling' upper receiver with the stock one.



The mod is in two parts, wpn_fps_smg_cobray_body_upper_jacket and wpn_fps_smg_cobray_body_lower_jacket.



Here's the code I'm using, postrequired to lib/managers/weaponfactorymanager.




Code:



tweak_data.weapon.factory.parts.wpn_fps_smg_cobray_body_upper_jacket.unit = "units/pd2_dlc_hotline2/weapons/wpn_fps_smg_cobray_pts/wpn_fps_smg_cobray_body_upper"

tweak_data.weapon.factory.parts.wpn_fps_smg_cobray_body_lower_jacket.unit = "units/pd2_dlc_hotline2/weapons/wpn_fps_smg_cobray_pts/wpn_fps_smg_cobray_body_lower"



The first line works, but the second doesn't. I have no idea why, since they appear to have identical formatting. It results in the top half of the weapon having the stock upper receiver, and the bottom half having the mod.



What am I missing here?



---



Second, is there a way to modify a common mod (eg a stock from the Gage DLC which can be applied to multiple weapons) for just one weapon?



In this case I'd like to replace the War-Torn Stock (wpn_fps_upg_m4_s_mk46) on Jacket's Piece with the gun's standard stock (wpn_fps_smg_cobray_s_standard).



I can accomplish this by replacing the stock adapter (wpn_fps_smg_cobray_s_m4adapter) with the standard stock (wpn_fps_smg_cobray_s_standard), and making the War-Torn stock invisible (wpn_upg_dummy), but then this obviously also makes the War-Torn Stock invisible on, for example, my Commando 553.



TL;DR: Is there a way to hide the War-Storn Stock on one weapon only?



---



Thanks.







Ver publicacion completa // See full post --> >>UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats<<




Thx Shark Teeth

PostDate: March 12, 2015 at 03:58AM

About the Author

Unknown / Author & Editor

Somos una comunidad de gamers estrategas. Buscamos las mejores y mas rapidas formas de realizar cosas en los juegos. Muchos ya nos conocen, visitanos https://www.facebook.com/TLTDLJ/

0 comments:

Post a Comment