Originally posted by blackdude
View Post
Announcement
Collapse
No announcement yet.
Action RPG Inventory System
Collapse
X
-
\\VANGUARD INTERACTIVE
Marketplace - Action RPG Inventory System | Multiplayer TopDown Kit | Advanced Social System
Multiplayer TopDown Kit Tutorials - Merging The Action RPG Inventory System | Removing the Fog of War
Action RPG Inventory Tutorials - Merging Into Your Project | Adding New Items | FPS Controls w/ UI Mode Toggle
-
Originally posted by Pirate View PostAre you running your logic as the server?
Originally posted by Pirate View PostMerchants and vending machines just involve setting up a UMG UI window and logic which should extend off OnUsed interface on ether the NPC or world actor.
Creating a filter is simple do it within the inventory widget and simply loop your inventory items and match your filter name with the item type of each item collapsing and showing the items matching.Last edited by SlightlyLive; 11-07-2016, 07:41 PM.
Comment
-
Originally posted by Pirate View PostThose are just warnings that happen on initialization of the Inventory array. In 4.12 (maybe 4.11) they added a bunch of new warnings and I believe that's when they started showing up. It's nothing to worry about it's just a warning when you are dynamically adding to an array. I suspect it will be removed as a warning again in future engine updates.
Comment
-
Is there any recommendation for implementing functional melee weapons? Right now i would attach a collider on AddItem if Main-Hand slot is true, but scaling and positioning seems difficult, and you cannot add colliders directly from within Skeletal Mesh editor?
Thus, I thought to use static meshes for the main hand at least, positioning via hand/gun socket on the base skeleton.
Any ideas, would appreciate some input before i begin to tackle this. Thanks
Comment
-
Okay so i testing now a trace channel, and then on success apply damage. Next i will try to make a trace from a weapon skeleton socket, with a tiny continuously sphere trace. The thing is that i cannot use a target based damage mechanic, since the player can hit without targeting.
Update
Now with weapon socket trace, so not sure how good this approach is, still curious how others do melee weapons with skeletal meshes
Last edited by unit23; 11-08-2016, 04:47 PM.
Comment
-
Originally posted by SlightlyLive View PostYes, that's the intent.
How would I go about doing any of this? These statements are really vague. I tried looking at the inventory widget and I don't see or understand how I could even loop or filter anything. "Set up logic here" I mean? What logic? Sorry, I don't understand how to go about following this advice, solid as it clearly is.
In the Inventory hud theres an array of inventory slots widget these are is what you'll need to loop though to do your checks.
Comment
-
Originally posted by SlightlyLive View PostYes, that's the intent.
How would I go about doing any of this? These statements are really vague. I tried looking at the inventory widget and I don't see or understand how I could even loop or filter anything. "Set up logic here" I mean? What logic? Sorry, I don't understand how to go about following this advice, solid as it clearly is.\\VANGUARD INTERACTIVE
Marketplace - Action RPG Inventory System | Multiplayer TopDown Kit | Advanced Social System
Multiplayer TopDown Kit Tutorials - Merging The Action RPG Inventory System | Removing the Fog of War
Action RPG Inventory Tutorials - Merging Into Your Project | Adding New Items | FPS Controls w/ UI Mode Toggle
Comment
-
Originally posted by SlightlyLive View Post[IMG]http://i.imgur.com/nDvgv5d.png[/I okMG]
I'm definitely not doing this right. =/ How do I make this work?
Also does your print string trigger? And does it say Server: or Client#: before your string you are outputting?\\VANGUARD INTERACTIVE
Marketplace - Action RPG Inventory System | Multiplayer TopDown Kit | Advanced Social System
Multiplayer TopDown Kit Tutorials - Merging The Action RPG Inventory System | Removing the Fog of War
Action RPG Inventory Tutorials - Merging Into Your Project | Adding New Items | FPS Controls w/ UI Mode Toggle
Comment
-
Originally posted by Pirate View PostCan you send me a support email and we can cover more topics in depth. I'll also be available this weekend to skype for a bit if you'd like to pick my brain.
I would really appreciate any of your time. I'll send you an email within the next day.
Originally posted by Pirate View PostI didn't notice it before my phone viewing the forums makes it hard to see images. You don't need the IMC cast. Just plug it directly into the TryToAddItem target node.
Also does your print string trigger? And does it say Server: or Client#: before your string you are outputting?
I revised my attempts on this entirely, based on the logic used to load inventories on initialisation.
So, this works. When called, this event will add items/currency and I can customise it with a list of what I want to add, and even using a filter to make multiple lists and choose which one to use or use a variable to filter - like class specific items even.
For the print string, it does not say either "Server:" or "Client#:" before the string, just the string itself.
Comment
-
Originally posted by phantom530 View Post[MENTION=39476]Pirate[/MENTION] Could I have some help with the icons? When I follow the tutorial, I do not get the "capture thumbnail" option.\\VANGUARD INTERACTIVE
Marketplace - Action RPG Inventory System | Multiplayer TopDown Kit | Advanced Social System
Multiplayer TopDown Kit Tutorials - Merging The Action RPG Inventory System | Removing the Fog of War
Action RPG Inventory Tutorials - Merging Into Your Project | Adding New Items | FPS Controls w/ UI Mode Toggle
Comment
-
Originally posted by Pirate View PostIt looks like in newer versions of the engine it is just auto generating thumbnails now so this shouldn't be needed. You'll want to just use the thumbnail maker just for creating UI Icons for your items.
Comment
-
Originally posted by phantom530 View PostYeah that's the problem. I don't know how. Thanks for the reply btw.
Comment
-
Hey guys still having trouble when adding new items to the Inventory and tooltipinfo structs....
its a super big hassle each time I add a new variable... am I the only one having this issue?
Upgraded to 4.12.5 but Still having trouble with adding new variables to InventoryItems and Tooltipitems structs...
if I add a new variable such as "price" to the struct and then compile and run... it works great... but if I try to package the game... then I get these errors.
Code:
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:777][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:LoadInventoryItems.InventoryItems.InventoryItem
MainFrameActions: Packaging (Windows (32-bit)): s'. Unknown structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:779][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:IncreaseInventorySize.Temp_struct_Variable'. Un
MainFrameActions: Packaging (Windows (32-bit)): known structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:779][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetInventoryItemCount.CallFunc_Array_Get_Item'.
MainFrameActions: Packaging (Windows (32-bit)): Unknown structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:780][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetEmptyInventorySpace.CallFunc_Array_Get_Item'
MainFrameActions: Packaging (Windows (32-bit)): . Unknown structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:781][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:ClearInventoryItem.Temp_struct_Variable'. Unkno
MainFrameActions: Packaging (Windows (32-bit)): wn structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:781][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:SetInventoryItem.InventoryItem'. Unknown struct
MainFrameActions: Packaging (Windows (32-bit)): ure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:782][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetInventoryItem.InventoryItem'. Unknown struct
MainFrameActions: Packaging (Windows (32-bit)): ure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:783][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetInventoryItem.CallFunc_Array_Get_Item'. Unkn
MainFrameActions: Packaging (Windows (32-bit)): own structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:784][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:InitInventory.Temp_struct_Variable'. Unknown st
MainFrameActions: Packaging (Windows (32-bit)): ructure.
I fixed it previously by setting Inventory variable to a bool(or anything else) and then switching it back to inventoryitems struct and relinking all the nodes
but obviously that is a lot of work to do each time I want to add a new var...expecially since I have to do it all over again for the "tooltipinfo" struct also
Someone mentioned simply "recompiling all the functions" that use those structs... but that doesn't seem to be working for me (unless I am doing it wrong)
I am doing a search for "InventoryItems" struct variable and then re-compiling each Blueprint that has that variable in it (even though it already has a Green checkmark as if it's already compliled - so not sure if that's actually re-compiling the function)
Comment
-
Originally posted by wrfstudios View PostHey guys still having trouble when adding new items to the Inventory and tooltipinfo structs....
its a super big hassle each time I add a new variable... am I the only one having this issue?
Upgraded to 4.12.5 but Still having trouble with adding new variables to InventoryItems and Tooltipitems structs...
if I add a new variable such as "price" to the struct and then compile and run... it works great... but if I try to package the game... then I get these errors.
Code:
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:777][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:LoadInventoryItems.InventoryItems.InventoryItem
MainFrameActions: Packaging (Windows (32-bit)): s'. Unknown structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:779][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:IncreaseInventorySize.Temp_struct_Variable'. Un
MainFrameActions: Packaging (Windows (32-bit)): known structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:779][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetInventoryItemCount.CallFunc_Array_Get_Item'.
MainFrameActions: Packaging (Windows (32-bit)): Unknown structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:780][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetEmptyInventorySpace.CallFunc_Array_Get_Item'
MainFrameActions: Packaging (Windows (32-bit)): . Unknown structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:781][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:ClearInventoryItem.Temp_struct_Variable'. Unkno
MainFrameActions: Packaging (Windows (32-bit)): wn structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:781][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:SetInventoryItem.InventoryItem'. Unknown struct
MainFrameActions: Packaging (Windows (32-bit)): ure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:782][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetInventoryItem.InventoryItem'. Unknown struct
MainFrameActions: Packaging (Windows (32-bit)): ure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:783][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:GetInventoryItem.CallFunc_Array_Get_Item'. Unkn
MainFrameActions: Packaging (Windows (32-bit)): own structure.
MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2016.08.01-14.20.07:784][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/InventorySystem/Blueprints/Components/InventoryComponent.InventoryComponent_C:InitInventory.Temp_struct_Variable'. Unknown st
MainFrameActions: Packaging (Windows (32-bit)): ructure.
I fixed it previously by setting Inventory variable to a bool(or anything else) and then switching it back to inventoryitems struct and relinking all the nodes
but obviously that is a lot of work to do each time I want to add a new var...expecially since I have to do it all over again for the "tooltipinfo" struct also
Someone mentioned simply "recompiling all the functions" that use those structs... but that doesn't seem to be working for me (unless I am doing it wrong)
I am doing a search for "InventoryItems" struct variable and then re-compiling each Blueprint that has that variable in it (even though it already has a Green checkmark as if it's already compliled - so not sure if that's actually re-compiling the function)
I'm happy to try and help but not sure what I can do. I would suggest also deleting your saved and intermediate(and build) folders. Maybe it's an editor caching issue when packaging in 4.12\\VANGUARD INTERACTIVE
Marketplace - Action RPG Inventory System | Multiplayer TopDown Kit | Advanced Social System
Multiplayer TopDown Kit Tutorials - Merging The Action RPG Inventory System | Removing the Fog of War
Action RPG Inventory Tutorials - Merging Into Your Project | Adding New Items | FPS Controls w/ UI Mode Toggle
Comment
Comment