Jump to content

De-Compiling CC Content Scripts


chucksteel

Recommended Posts

I was wandering if anyone could ether de-compile for me or give me pointer on de-compiling some of the CC content scripts. I've tried to use Chanpolion to do it but it always fails in one way or another. What I want to do is to simply remove the "On Game load Add item for the shotgun and the backpack" I would like to have to find them or buy them and not just magically be given them when I load a new game or a save. It just really bugs me to get stuff for free!

 

I know how to edit the scripts if I had the source code but the lovely CC content doesn't give us source code. :wallbash:

 

Thanks for any help or pointers

Link to comment
Share on other sites

For my next question, how do I get the Ckit to read the Creation Club source files?

 

I've added


[Papyrus]
sAdditionalImports = "$(source);.\Data\Scripts\Source\CreationClub;.\Data\Scripts\Source\DLC01;.\Data\Scripts\Source\DLC02;.\Data\Scripts\Source\DLC03;.\Data\Scripts\Source\DLC04;.\Data\Scripts\Source\DLC05;.\Data\Scripts\Source\DLC06;.\Data\Scripts\Source\Base"

To my CreationKitCustom.ini, All DLC are now readable but, when I try to edit creation club source files it's just grayed out.

 

Did I do something wrong when adding to the .ini?

 

Thanks

Link to comment
Share on other sites

Well there is always stuff I don't understand in these scripts but, I don't think so, at least not in this one.

ScriptName CreationClub:FRSFO4001:Fragments:Quests:QF_InjectAdd_Quest_01000825 extends Quest Const hidden

;-- Properties --------------------------------------
LeveledItem Property ccFRSFO4001_LL_HandmadeShotgun Auto Const
LeveledItem Property ccFRSFO4001_LL_HandmadeShotgunTriple Auto Const
LeveledItem Property ccFRSFO4001_LL_HandmadeShotgun_Unique_Any_50 Auto Const
LeveledItem Property LLI_Raider_Weapons Auto Const
LeveledItem Property LLI_Raider_Weapons_Boss Auto Const

;-- Variables ---------------------------------------

;-- Functions ---------------------------------------

Function Fragment_Stage_0010_Item_00()
	Quest __temp = Self as Quest
	creationclub:vendorlistinjectorscript kmyQuest = __temp as creationclub:vendorlistinjectorscript
	Game.GetPlayer().AddItem(ccFRSFO4001_LL_HandmadeShotgun as Form, 1, False)
	kmyQuest.AddToVendorWeaponLists(ccFRSFO4001_LL_HandmadeShotgun, 1, 1, False)
	kmyQuest.AddToVendorWeaponLists(ccFRSFO4001_LL_HandmadeShotgunTriple, 1, 1, False)
	kmyQuest.AddToVendorWeaponLists(ccFRSFO4001_LL_HandmadeShotgun_Unique_Any_50, 1, 1, False)
	LLI_Raider_Weapons.AddForm(ccFRSFO4001_LL_HandmadeShotgun as Form, 1, 1)
	LLI_Raider_Weapons.AddForm(ccFRSFO4001_LL_HandmadeShotgunTriple as Form, 7, 1)
	LLI_Raider_Weapons_Boss.AddForm(ccFRSFO4001_LL_HandmadeShotgun as Form, 1, 1)
	LLI_Raider_Weapons_Boss.AddForm(ccFRSFO4001_LL_HandmadeShotgunTriple as Form, 7, 1)
	Self.stop()
EndFunction

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...