Notifications
Clear all

[Sticky] Support – Modern Survival Horror Framework

57 Posts
11 Users
25 Reactions
3,864 Views
726bdf3533304dd8041f9ee1e1f37e1d4fba6acf0f9b41046ae62be36fa8a165?s=80&d=mm&r=g
(@kosur)
New Member
Joined: 2 weeks ago
Posts: 1
 

Does the Asset use modular component architecture or is everything in the Player BP graph?



   
ReplyQuote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 1 month ago
Posts: 66
 

@kosur Welcome to the forum! Most of the systems are component-based and are developed inside their own components (for example: Inventory in AC_Inventory, Interaction in AC_Interact, etc.), The goal is to make it even more modular with future updates.



   
ReplyQuote
3a52a3a065e0f2584ab9d3cc3bbac5fe759fae32233be9ef7a51eadb1f4bbc84?s=80&d=mm&r=g
(@sakuro)
Active Member
Joined: 1 week ago
Posts: 10
 

Hello! i have 2 questions , when i add more item slots on the players inventory for some reason the third row in not interactable(the fourth and fifth are tho) how can i fix that? also how can i make the inventory drag and drop and close with the tab button as well? (i changed it easily to open with tab from the inputs) Thanks for your time!



   
ReplyQuote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 1 month ago
Posts: 66
 

@sakuro The inventory for mouse & keyboard is originally designed to close with the right mouse button. However, if you would like to close it using the Tab key instead, you can do the following:

1- Open DT_FrameworkUIKeys.
2- Select the Keyboard row.
3- Change the Back key to Tab.
4- After that, open WB_Inventory and follow the setup shown in the image I shared.

Once this is done, the inventory will use Tab instead alongside right mouse button to return to the previous state and close the inventory.

Inventory slots:
The current layout is designed for a specific number of slots. Adding extra rows may cause some slots to become non-interactable. Making the inventory fully modular will require improvements to the system, which we plan for a future update. It’s still possible to adjust slots yourself, but it may require some additional changes to the inventory logic.

In upcoming updates, we are also developing a system where players can find an item that increase their inventory slots( like Resident Evil) at run time.

Drag & drop:
The framework follows the modern survival horror inventory style, similar to Resident Evil remakes, which uses select-based interactions rather than drag & drop.
Implementing full drag & drop would involve significant changes to the current inventory logic and UI.


This post was modified 1 week ago 3 times by Hosna

   
ReplyQuote
3a52a3a065e0f2584ab9d3cc3bbac5fe759fae32233be9ef7a51eadb1f4bbc84?s=80&d=mm&r=g
(@sakuro)
Active Member
Joined: 1 week ago
Posts: 10
 

@hosna Thank you so much! , I cant wait for future updates ^^.


This post was modified 1 week ago by Sakuro

   
Hosna reacted
ReplyQuote
212ceb9a9627603fd4afc50f32757b5a6e61dee5b9c8d22c97da72dbe0c05505?s=80&d=mm&r=g
 CaLo
(@calo)
Active Member
Joined: 1 month ago
Posts: 9
 

hi!, i am sorry if this is not the right place to ask, but, i created a Bp for points of interest, and in it i make the character invisible, the problem is that the flashlight still show, so i check the propagate to children, and now the flashlight doesn't show anymore, the thing is when the interaction is over and i make the character visible again (propagate to children check), i make also visible notes, and a knife on the character hand. So the question, how can i only toggle the visibility of the character and flashlight? 



   
JStudios reacted
ReplyQuote
3a52a3a065e0f2584ab9d3cc3bbac5fe759fae32233be9ef7a51eadb1f4bbc84?s=80&d=mm&r=g
(@sakuro)
Active Member
Joined: 1 week ago
Posts: 10
 

Hello again! Quick Question because i cant seem to find a solution , how can i make the 4 quickslots to cycle through with the mouse wheel?



   
ReplyQuote
526244fe117a850ffca19c2bc9edab40c7a380aec63368cd1b92623d5188ee81?s=80&d=mm&r=g
(@ironydev)
Active Member
Joined: 1 week ago
Posts: 10
 

Hi, i need to create a weapon of type rifle but i get the error "this item needs data asset" but i already created a file of type weapons base data and assigned to the new rifle weapon blueprint but it do not works.
Please i need an example of how to create a weapon of type rifle



   
ReplyQuote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 2 months ago
Posts: 98
Topic starter  

@sakuro

This is simple, just create a new integer variable, for example "ShortcutSpecificIndex", and set it to 0. Then, in the "BP_Character class", write the piece of code I provided. If you have any questions, feel free to ask.



   
ReplyQuote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 2 months ago
Posts: 98
Topic starter  

@calo You don’t need to use Propagate to Children. Just toggle the visibility of the mesh and flashlight, like in the image.



   
ReplyQuote
3a52a3a065e0f2584ab9d3cc3bbac5fe759fae32233be9ef7a51eadb1f4bbc84?s=80&d=mm&r=g
(@sakuro)
Active Member
Joined: 1 week ago
Posts: 10
 

@farshad Thank you!



   
ReplyQuote
212ceb9a9627603fd4afc50f32757b5a6e61dee5b9c8d22c97da72dbe0c05505?s=80&d=mm&r=g
 CaLo
(@calo)
Active Member
Joined: 1 month ago
Posts: 9
 

@farshad how do i get a reference to the flashlight, do i have to add an interface to the bp, if so which one? (Sorry for the silly question, i am at a begginer level)



   
ReplyQuote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 2 months ago
Posts: 98
Topic starter  

@calo No worries, feel free to ask any questions in this topic.

If you want to access the flashlight inside the player class, you can simply get it from the character’s components. However, if you want to access it from somewhere else, first call GetPlayer (the function from BFL_BaseGameLib). Once you have the player reference, you can get the Flashlight from it.



   
CaLo reacted
ReplyQuote
212ceb9a9627603fd4afc50f32757b5a6e61dee5b9c8d22c97da72dbe0c05505?s=80&d=mm&r=g
 CaLo
(@calo)
Active Member
Joined: 1 month ago
Posts: 9
 

@farshad thank You!



   
Farshad reacted
ReplyQuote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 2 months ago
Posts: 98
Topic starter  

Posted by: @ironydev

Hi, i need to create a weapon of type rifle but i get the error "this item needs data asset" but i already created a file of type weapons base data and assigned to the new rifle weapon blueprint but it do not works.
Please i need an example of how to create a weapon of type rifle

Hello, and thank you for your question. Please make sure to download the latest version(0.2.2) of the framework released today. It includes a good update regarding Data Assets and weapons. The documentation for adding weapons from existing types has been updated, and support for adding entirely new weapons will be updated soon.

In short, first, create your new weapon class and data asset, and make sure all the information is filled in accurately. Then, in the player Animation Blueprint, add a new pin for the rifle(image provided). You can use shotgun animations for the rifle or add your own custom animations.

Next, in AC_Combat, in the Action section, add the rifle to the branch according to the provided screenshot. Then, in the Inspect Object section in the character class, add the rifle to the selector in both areas as shown in the screenshot.

Now you can use your rifle; if you want to make it automatic, you will need to create a custom function for it. In the next update, these parts will also be added to the framework. If you run into any problems, feel free to let us know here.

Screenshots

 


This post was modified 1 week ago 5 times by Farshad
This post was modified 6 days ago 2 times by Farshad

   
ReplyQuote
Page 2 / 4
Share: