How to call weapons from other mutators when making my own perks?

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

SCArchon

FNG / Fresh Meat
Apr 18, 2017
0
0
0
22
Well this might be a tedious question but I am really confused now.
I am new to the game and coding and want to set my own server with friends. Till now I've created some really exciting new perks(well at least to me) and the problem is that I have no idea how to add weapons from other mutators to the perks' .uc files to make them compatible with the perks' attributes.
For instance When calling addExtraAmmofor function and add something like "AmmoType == class'CoolgunAmmo'". It says that the class cannot be found. I've tried "Coolgun.Coolgunammo" and it doesn't work either. I think I need a tutorial on how the weapons and relative "class" work in game but I could not find any.