Good afternoon, any insight will be appreciated.
I have created a few test weapons. I wanted to make a custom mutator for my dedicated server so my friends and I can play with some weapons and custom perks we design.
My issue is after creating a custom trader (following both Tripwire's tutorial and I saw a video on youtube also.) They are failing to not show.
Even though I am able to copy the default trader and then create a sub arch. It is not showing when referencing it in the code. My weapons work fine when I add them through the console, but the trader fails to load. The game mode also fails to load but I think that is a direct result of the compile 'warning'.
FYI; I copied the location directly from Killingfloor 2's SDK as the tutorial explained.
GameInfo : really simple
ReplicationInfo
Looking at the log I get the below:
TLDR; - KFGame.KFGameReplicationInfo:TraderItems: unresolved reference to 'KFGFxObject_TraderItems'sdo.CustomTrader''
[0017.26] Log: Loading global macros for sl33pSurvival
[0017.29] Warning: Z:\Steam\steamapps\common\killingfloor2\Development\Src\sl33pSurvival\Classes\sl33pGameReplicationInfo_Survival.uc(5) : Warning, ObjectProperty KFGame.KFGameReplicationInfo:TraderItems: unresolved reference to 'KFGFxObject_TraderItems'sdo.CustomTrader''
[0017.29] Warning: Z:\Steam\steamapps\common\killingfloor2\Development\Src\sl33pSurvival\Classes\sl33pGameReplicationInfo_Survival.uc(5) : Warning, Invalid property value in defaults: TraderItems=KFGFxObject_TraderItems'sdo.CustomTrader'
[0017.29] Log: Success: Compiled 6 line(s), 2 statement(s).
I have created a few test weapons. I wanted to make a custom mutator for my dedicated server so my friends and I can play with some weapons and custom perks we design.
My issue is after creating a custom trader (following both Tripwire's tutorial and I saw a video on youtube also.) They are failing to not show.
Even though I am able to copy the default trader and then create a sub arch. It is not showing when referencing it in the code. My weapons work fine when I add them through the console, but the trader fails to load. The game mode also fails to load but I think that is a direct result of the compile 'warning'.
FYI; I copied the location directly from Killingfloor 2's SDK as the tutorial explained.
GameInfo : really simple
Code:
class sl33pGameInfo_Survival extends KFGameInfo_Survival;
defaultproperties
{
GameReplicationInfoClass=class'sl33pSurvival.sl33pGameReplicationInfo_Survival'
}
ReplicationInfo
Code:
class sl33pGameReplicationInfo_Survival extends KFGameReplicationInfo;
defaultproperties
{
TraderItems=KFGFxObject_TraderItems'sdo.CustomTrader'
}
Looking at the log I get the below:
TLDR; - KFGame.KFGameReplicationInfo:TraderItems: unresolved reference to 'KFGFxObject_TraderItems'sdo.CustomTrader''
[0017.26] Log: Loading global macros for sl33pSurvival
[0017.29] Warning: Z:\Steam\steamapps\common\killingfloor2\Development\Src\sl33pSurvival\Classes\sl33pGameReplicationInfo_Survival.uc(5) : Warning, ObjectProperty KFGame.KFGameReplicationInfo:TraderItems: unresolved reference to 'KFGFxObject_TraderItems'sdo.CustomTrader''
[0017.29] Warning: Z:\Steam\steamapps\common\killingfloor2\Development\Src\sl33pSurvival\Classes\sl33pGameReplicationInfo_Survival.uc(5) : Warning, Invalid property value in defaults: TraderItems=KFGFxObject_TraderItems'sdo.CustomTrader'
[0017.29] Log: Success: Compiled 6 line(s), 2 statement(s).