Jump to content
zeealex

Fifty Shades of MP7 - Release

Recommended Posts

Does anyone know what's causing it? How to resolve etc?

Share this post


Link to post
Share on other sites
49 minutes ago, zeealex said:

Does anyone know what's causing it? How to resolve etc?

If I recall right, this "missing from VA" is due to a weapon config enheriting attributes (no longer used by BIS) from vanilla weapons... and maybe the scope variable... does it rings any bells? 

 

Good luck, Zee

Share this post


Link to post
Share on other sites

da12thMonkey had posted about it in the RHS thread, IIRC, and had a handle on it. It was above my paygrade, so I can't specifically propose a fix :-/

  • Like 1

Share this post


Link to post
Share on other sites

Wasn't it because BI recently made it so that actual weapons require the baseWeapon parameter? If so, it's relatively easy to fix. Just add baseWeapon = "zee_mp7_blk" at the top of each weapon class in the config and it should be visible in the Arsenal again like so (replace zee_mp7_blk with the name of the weapon class for every single unique camo variant as well):

class zee_mp7_blk: zee_weap_mp7_Base_F
{
...
	baseWeapon = "zee_mp7_blk";
...
};

class zee_mp7_AOR: zee_weap_mp7_Base_F
{
...
	baseWeapon = "zee_mp7_AOR";
...
};

etc...

 

I believe this was to do with making sure that weapons with predetermined attachments (like arifle_MX_Hamr_pointer_F as an example) don't show up in the Arsenal. scope shouldn't be the cause of it unless you set them private (1) for whatever reason.

 

EDIT: And just a small nitpick zee. You could really simplify your config by having all the subsequent camo variants inherit from the black MP7 instead of the base class and having redefine your scope and WeaponSlotsInfo every time:

class zee_mp7_blk: zee_weap_mp7_Base_F
{
...
(has all the scope attributes)
...
	baseWeapon = "zee_mp7_blk";
	author = "zeealex";
	_generalMacro = "zee_mp7_blk";
	// Make sure WeaponSlotsInfo inherits from the base class' WeaponSlotsInfo. No need to redefine it twice.
	class WeaponSlotsInfo: WeaponSlotsInfo
	{
		mass = 108;
	};
...
(has all the extra parameters like displayname, iteminfo, etc.)
...
};

class zee_mp7_AOR: zee_mp7_blk
{
(now inherits scopeArsenal, scope, hiddenSelections[], weaponInfoType, initSpeed, inertia, WeaponSlotsInfo, and itemInfo from zee_mp7_blk)
	// baseWeapon and _generalMacro changed to new class name
	baseWeapon = "zee_mp7_AOR";
	author = "zeealex";
	_generalMacro = "zee_mp7_AOR";
	displayName = "MP7A1 (AOR2)";
	hiddenSelectionsTextures[] = {"\zee_mp7\addons\zee_MP7\Data\mp7_aor2_co.paa"};
};

 

This way you only have to leave important stuff like the displayName, baseWeapon and hiddenSelectionsTextures[] parameters for each camo variant. Makes for a less cluttered config and is easier to update over subsequent updates since you will only have to change the parameters in the base class (zee_weap_mp7_Base_F) and the black MP7 (zee_mp7_blk).

Edited by drebin052
  • Like 4

Share this post


Link to post
Share on other sites

you're my hero drebin, thanks man i'll give it a go!

 

  • Like 4

Share this post


Link to post
Share on other sites

SURPRISE MOTHERF*CKERS!!

 

Changes:
-RHS config temporarily revoked pending some extra information needed

-fixed weapons not showing in VA
-added custom Icons
-added two new camos, Woodland and Desert Snakeskin
-fixed some config errors and optimized classes
-fixed damage
-fixed magazine weight being too high
-MP7A2 now has correct name. 


Thanks:
drebin052 - config help
MistyRonin - Initial configs
Reyhard - Anim and initial configs
Jeza - Screenshots
Vanschmoozin - testing
Jarrad96 - Ballistics info
Spartan - Ballistics info
Lappihuan - Config help
Uro - Config Help

 


Donors:
CrazyCorky
DeathDaisy
Nomisum
Julia Pliquett
Stefan Keßner
Janek Bender
Lars Jørstad
War_Lord
Natu
Eira Fagurfifill
Steel Shimsky
Pekewi
Toadie

 

If I missed anyone give me a shout!

Woodland and Desert Snakeskin Renders

screenshot1248_by_zeealex-db98rit.png
screenshot1241_by_zeealex-db98rnq.png

 

 

For those who are substance painter users, I will be putting my snakeskin material onto gumroad for free following some much needed tweaking. 

Steam version will be updated shortly

  • Like 10

Share this post


Link to post
Share on other sites

ERMAGERRRRRRRRRRRRRRRRDDDDDDDDDDDDDDDDDD THIS IS AWESOMEEEEEEEEEEEEEE

Share this post


Link to post
Share on other sites

Thanks Zee! Very cool updates!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×