So this is my second post here, never got around to doing my idea from the first one. I have however, come quite a long way. Time to enlist help of people more intelligent than I am though. Probably behind the times here I'm sure but I'm trying to go about adding a weapon schematic for the Two-Handed Sith Sword in this case and eventually the rest of the other CU/NGE weapons. When I try to generate the schematic in the /object createitem command I get a message saying something to the effect of 'createitem' can't create the item because the template can't be found. Through a tremendous amount of double checking and a lot of cross referencing I came to the conclusion what I needed was something to the effect of:
object_tangible_loot_loot_schematic_shared_death_watch_pistol_de10_schematic = SharedTangibleObjectTemplate:new {
clientTemplateFileName = "object/tangible/loot/loot_schematic/shared_death_watch_pistol_de10_schematic.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "appearance/eqp_tool_engineering_analysis_board.apt",
arrangementDescriptorFilename = "",
certificationsRequired = {},
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 8211,
collisionActionBlockFlags = 0,
collisionActionFlags = 51,
collisionActionPassFlags = 1,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 1,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 1,
customizationVariableMapping = {},
detailedDescription = "@craft_item_ingredients_distol_de_10_schematic",
gameObjectType = 8211,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "@craft_item_ingredients_nistol_de_10_schematic",
onlyVisibleInTools = 0,
paletteColorCustomizationVariables = {},
portalLayoutFilename = "",
rangedIntCustomizationVariables = {},
scale = 1,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 1,
socketDestinations = {},
structureFootprintFileName = "",
surfaceType = 0,
targetable = 1,
totalCellNumber = 0,
useStructureFootprintOutline = 0,
clientObjectCRC = 44057344,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_tangible_loot_loot_schematic_shared_death_watch_pistol_de10_schematic, "object/tangible/loot/loot_schematic/shared_death_watch_pistol_de10_schematic.iff")
but of course with my weapon instead. The bolded CRC there troubled me for quite some time just figuring out how that number came to be. I had been using SIE and found that the number listed there is in base-10 and needed to be converted to base-16. Win. Anyway, intially I didn't even know I needed what's above me here as oppossed to just in that particular objects.lua.
object_tangible_loot_loot_schematic_shared_2h_sword_sith_schematic = SharedTangibleObjectTemplate:new {
clientTemplateFileName = "object/tangible/loot/loot_schematic/shared_2h_sword_sith_schematic.iff"
}
ObjectTemplates:addClientTemplate(object_tangible_loot_loot_schematic_shared_2h_sword_sith_schematic, "object/tangible/loot/loot_schematic/shared_2h_sword_sith_schematic.iff")
All I had to reference in making this was the deeds for the atat house, yoda house etc which are indeed spawnable on the server I'm on with the /object createitem command. All of the deeds only have the above line here instead of what I posted for the DE-10. So I dunno if house deeds are different somehow? Off-track again. The whole reason I'm here is because I am unsure how to get the new clientObjectCRC for my Sith Sword so I can make this schematic work.
So if someone could please shed some light for me I would greatly appreciate it and I apologize if this thread is all over the place it's been a long day haha.
object_tangible_loot_loot_schematic_shared_death_watch_pistol_de10_schematic = SharedTangibleObjectTemplate:new {
clientTemplateFileName = "object/tangible/loot/loot_schematic/shared_death_watch_pistol_de10_schematic.iff"
--Data below here is deprecated and loaded from the tres, keeping for easy lookups
--[[
appearanceFilename = "appearance/eqp_tool_engineering_analysis_board.apt",
arrangementDescriptorFilename = "",
certificationsRequired = {},
clearFloraRadius = 0,
clientDataFile = "",
clientGameObjectType = 8211,
collisionActionBlockFlags = 0,
collisionActionFlags = 51,
collisionActionPassFlags = 1,
collisionMaterialBlockFlags = 0,
collisionMaterialFlags = 1,
collisionMaterialPassFlags = 0,
containerType = 0,
containerVolumeLimit = 1,
customizationVariableMapping = {},
detailedDescription = "@craft_item_ingredients_distol_de_10_schematic",
gameObjectType = 8211,
locationReservationRadius = 0,
lookAtText = "string_id_table",
noBuildRadius = 0,
objectName = "@craft_item_ingredients_nistol_de_10_schematic",
onlyVisibleInTools = 0,
paletteColorCustomizationVariables = {},
portalLayoutFilename = "",
rangedIntCustomizationVariables = {},
scale = 1,
scaleThresholdBeforeExtentTest = 0.5,
sendToClient = 1,
slotDescriptorFilename = "",
snapToTerrain = 1,
socketDestinations = {},
structureFootprintFileName = "",
surfaceType = 0,
targetable = 1,
totalCellNumber = 0,
useStructureFootprintOutline = 0,
clientObjectCRC = 44057344,
derivedFromTemplates = {"object/object/base/shared_base_object.iff", "object/tangible/base/shared_tangible_base.iff"}
]]
}
ObjectTemplates:addClientTemplate(object_tangible_loot_loot_schematic_shared_death_watch_pistol_de10_schematic, "object/tangible/loot/loot_schematic/shared_death_watch_pistol_de10_schematic.iff")
but of course with my weapon instead. The bolded CRC there troubled me for quite some time just figuring out how that number came to be. I had been using SIE and found that the number listed there is in base-10 and needed to be converted to base-16. Win. Anyway, intially I didn't even know I needed what's above me here as oppossed to just in that particular objects.lua.
object_tangible_loot_loot_schematic_shared_2h_sword_sith_schematic = SharedTangibleObjectTemplate:new {
clientTemplateFileName = "object/tangible/loot/loot_schematic/shared_2h_sword_sith_schematic.iff"
}
ObjectTemplates:addClientTemplate(object_tangible_loot_loot_schematic_shared_2h_sword_sith_schematic, "object/tangible/loot/loot_schematic/shared_2h_sword_sith_schematic.iff")
All I had to reference in making this was the deeds for the atat house, yoda house etc which are indeed spawnable on the server I'm on with the /object createitem command. All of the deeds only have the above line here instead of what I posted for the DE-10. So I dunno if house deeds are different somehow? Off-track again. The whole reason I'm here is because I am unsure how to get the new clientObjectCRC for my Sith Sword so I can make this schematic work.
So if someone could please shed some light for me I would greatly appreciate it and I apologize if this thread is all over the place it's been a long day haha.