Notifications
Clear all

Ammo types

10 Posts
3 Users
4 Reactions
32 Views
087d06654f4dc47aa440159767336493
(@jstudios)
Trusted Member
Joined: 5 months ago
Posts: 43
Topic starter   [#66]

Hello I was following the combination example in the documentation on how to have different ammo for specific weapons but I seem to not be able to use them in game when I pick them up. For example I made Magnum ammo for a magnum everything seems to be fine I created the ammo and my weapon but they don’t work with one another. Idk what I’m missing



   
Quote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 5 months ago
Posts: 287
 

Posted by: @jstudios

Hello I was following the combination example in the documentation on how to have different ammo for specific weapons but I seem to not be able to use them in game when I pick them up. For example I made Magnum ammo for a magnum everything seems to be fine I created the ammo and my weapon but they don’t work with one another. Idk what I’m missing

Could you please show the issue with a video or a few screenshots? That would help me understand it better and guide you more accurately.

 


This post was modified 1 week ago by Hosna

   
ReplyQuote
087d06654f4dc47aa440159767336493
(@jstudios)
Trusted Member
Joined: 5 months ago
Posts: 43
Topic starter  

Was I suppose to also create a Data_Table as well?



   
ReplyQuote
087d06654f4dc47aa440159767336493
(@jstudios)
Trusted Member
Joined: 5 months ago
Posts: 43
Topic starter  

sorry last reply video file was to large message was sent without the video. 😆 

https://youtu.be/dd6Bws-uPME



   
ReplyQuote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 5 months ago
Posts: 287
 

@jstudios There’s no need to create a Data Table for ammo items. The ammo system is designed to be automatically handled by the weapon, so you don’t need to manually combine anything.

we’ve added two videos to the documentation showing how to add a new weapon, how to use shared ammo between weapons, and how to create unique ammo for a specific weapon. The second video will probably be more useful for your case, since you need to understand how to properly set up ammo for your new weapon.

That said, I’d recommend watching both videos in order.

How To Create a New Weapon from an Existing Weapon Type

How To Add a New Ammo Type to a New Weapon

 

If you still have any questions, let me know ... I’m here to help 😊 

---------------------------------------------------

One quick tip that might solve your issue:

Make sure that in your weapon’s Data Asset, "AmmoItemName" is correctly set to match your ammo item name.


This post was modified 1 week ago 2 times by Hosna

   
JStudios reacted
ReplyQuote
087d06654f4dc47aa440159767336493
(@jstudios)
Trusted Member
Joined: 5 months ago
Posts: 43
Topic starter  

@hosna I will definitely look into it thank you so much.😊



   
Hosna reacted
ReplyQuote
Ben4886
(@ben4886)
Patreon Hunter Registered
Joined: 4 months ago
Posts: 79
 

@hosna Would these tutorials work on the Classic framework as well?



   
ReplyQuote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 5 months ago
Posts: 287
 

@ben4886 These tutorials are only for the Modern Survival Horror Framework. The Classic framework has a different design in this area and the ammo setup is handled in a different way.

However, for CSHF V2, we are planning to introduce a similar design using a Data Asset-based structure, along with several new features as well.


This post was modified 1 week ago 3 times by Hosna

   
JStudios reacted
ReplyQuote
Ben4886
(@ben4886)
Patreon Hunter Registered
Joined: 4 months ago
Posts: 79
 

@hosna Is there any chance you could do a short tutorial video for the Classic version?



   
ReplyQuote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 5 months ago
Posts: 287
 

@ben4886 We don’t have it for this section in classic? Hmm 🧐 … I’ll check and If it’s missing, I’ll add it .


This post was modified 1 week ago 2 times by Hosna

   
JStudios reacted
ReplyQuote
Share: