Mandingo112 Posted January 12, 2018 Share Posted January 12, 2018 I'm trying to modify the Ranger Bow blueprint so that it requires the basic bow as a base item but I can't get it working. I tried adding BaseItem("ZZZZ_Bow", "", ""); as well as BaseItem("ZZZZ_Bow_Composite", "", ""); and neither works. The in-game menu shows a base item is required but it's empty. Any suggestions? Link to comment Share on other sites More sharing options...
StinVec Posted January 16, 2018 Share Posted January 16, 2018 Instead of marking the bow item as a base item, include it as an additional required item: RequiredItem("ZZZZ_Bow_Composite", 1);orRequiredItem("ZZZZ_Bow", 1); This would make the blueprint require the bow item as a specific additional item instead of using the bow as a base, which functions differently than just noting a required weapon type as an ingredient. Regarding the bebhvior of the "BaseItem" function, it doesn't seem to be configured to accept a specific item name and instead seems to require a specific naming scheme associated with the generated weapons found in the inventory_gen.scr file. The empty quotes may also be required elements that may only accept certain values that correspond to elements of the Gen item naming families - removing them doesn't seem to work to remove looking for additional naming elements as would be expected if they were not present as it appears to be configured for specific variablesMelee_BaseballBat "*" "*" where the asterisks would only allow matching characters on valid item names like "zzz_Melee_BaseballBatAGenPearl" or "zzz_Melee_BaseballBatCGenFight" ("AGen" "Pearl" and "CGen" "Fight" that denote the weapon model version and the skin they are configured to use) Not entirely sure on the above theory about the attribute, but it at least seems like how Techland has it configured. Link to comment Share on other sites More sharing options...
Mandingo112 Posted January 17, 2018 Author Share Posted January 17, 2018 I actually figured it out a couple of days ago. Thanks for the response though. :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts