HazyAssaulter Posted March 8, 2016 Share Posted March 8, 2016 I tried really hard to use this thread http://forums.nexusmods.com/index.php?/topic/3850855-modifying-uc-files/ to learn how to modify .uc files to my liking, but I can't find a straight answer. I've really been trying for hours to learn how to change a couple lines of code in .uc files, but all I can find are tutorials about adding to .uc files or changing variables with config files. But I can't find anything for editing templates inside functions.For example, if I wanted to changeTemplate.bShowRewardOnPin = true;toTemplate.bShowRewardOnPin = false;how would I go about that? I have limited programming experience but if anyone could help and ELI5 it'd be a big help. I have a very simple mod that I think will be liked by a lot of people. If anyone can help me figure out how to implement it I will be sure to credit them as a contributor. To give a little more context around the code, another example would be changingstatic function X2DataTemplate CreateRecoverFlightDeviceTemplate(){local X2MissionSourceTemplate Template;`CREATE_X2TEMPLATE(class'X2MissionSourceTemplate', Template, 'MissionSource_RecoverFlightDevice');Template.bSkipRewardsRecap = true;to read asstatic function X2DataTemplate CreateRecoverFlightDeviceTemplate(){local X2MissionSourceTemplate Template;`CREATE_X2TEMPLATE(class'X2MissionSourceTemplate', Template, 'MissionSource_RecoverFlightDevice');Template.bSkipRewardsRecap = false; Link to comment Share on other sites More sharing options...
Recommended Posts