Chemist18 Posted February 21, 2009 Share Posted February 21, 2009 I wanted to start my modding out simple. I decided to start by replacing the megaton house. Well I have a building with all the stuff in it. Now I'm trying to understand the process that allows me to hide say the workbench until the player buys it. I tried reverse engineering:I can see that the workbench in the house is linked to an "XMarker" with an ID of "HD01Workbench"I can see that this XMarker is set to "Initially Disabled" I can see where Moira has the HD00Workbench item in her inventoryI can see the script that sets the HD00Workbench value to 0 upon purchase But I see no connection between the HD00Workbench item and the HD01Workbench marker Link to comment Share on other sites More sharing options...
Yossarian22 Posted February 21, 2009 Share Posted February 21, 2009 I wanted to start my modding out simple. I decided to start by replacing the megaton house. Well I have a building with all the stuff in it. Now I'm trying to understand the process that allows me to hide say the workbench until the player buys it. I tried reverse engineering:I can see that the workbench in the house is linked to an "XMarker" with an ID of "HD01Workbench"I can see that this XMarker is set to "Initially Disabled" I can see where Moira has the HD00Workbench item in her inventoryI can see the script that sets the HD00Workbench value to 0 upon purchase But I see no connection between the HD00Workbench item and the HD01Workbench marker Well you think changing the Megaton Interior is something simpel? If you aren't experianced with referances, scripts, enable parents and so on I would highly recommend to change something else or just make a new, different Playerhouse somewhere. Link to comment Share on other sites More sharing options...
Chemist18 Posted February 21, 2009 Author Share Posted February 21, 2009 A pointer in the right direction would be appreciated. I've looked through GECK, the Noob stickie on the forum, I don't seen any mention of this process. Actually I got all the items you purchase from Moira to work in the new house but I cheated, I moved them. Since I cheated that means I didn't learn how the bobblehead display works :) Link to comment Share on other sites More sharing options...
Yossarian22 Posted February 21, 2009 Share Posted February 21, 2009 A pointer in the right direction would be appreciated. I've looked through GECK, the Noob stickie on the forum, I don't seen any mention of this process. Actually I got all the items you purchase from Moira to work in the new house but I cheated, I moved them. Since I cheated that means I didn't learn how the bobblehead display works :) Ok, for the workbench: The xmarker is enableparent for the workbench. If you enable the xmarker, the workbench is enabled too. For Bobbleheadstand.... well that's a little bit more difficult. Here a script I wrote to move the bobblehead-stand: MEGAGLRef.moveto PositionBHCSREFMEGAGLRef.SetPos x 2670.7720MEGAGLRef.SetPos y 842.2413MEGAGLRef.SetPos z 20665.8125MEGAGLRef.Setangle z -157.0815MEGCHARef.moveto PositionBHCSREFMEGCHARef.SetPos x 2650.8533MEGCHARef.SetPos y 846.6730MEGCHARef.SetPos z 20665.8125MEGCHARef.Setangle z -162.8111MEGExplosivesRef.moveto PositionBHCSREFMEGExplosivesRef.SetPos x 2661.0947MEGExplosivesRef.SetPos y 830.9084MEGExplosivesRef.SetPos z 20652.0801MEGExplosivesRef.Setangle z -162.8111MEGBigGunsRef.moveto PositionBHCSREFMEGBigGunsRef.SetPos x 2640.3123MEGBigGunsRef.SetPos y 831.1472MEGBigGunsRef.SetPos z 20652.0801MEGBigGunsRef.Setangle z -179.9998MEGENDRef.moveto PositionBHCSREFMEGENDRef.SetPos x 2640.3845MEGENDRef.SetPos y 845.5087MEGENDRef.SetPos z 20665.7402MEGENDRef.Setangle z 174.2706MEGEnergyWeaponsRef.moveto PositionBHCSREFMEGEnergyWeaponsRef.SetPos x 2650.6094MEGEnergyWeaponsRef.SetPos y 832.1469MEGEnergyWeaponsRef.SetPos z 20652.0801MEGEnergyWeaponsRef.Setangle z -168.5407MEGINTRef.moveto PositionBHCSREFMEGINTRef.SetPos x 2660.8540MEGINTRef.SetPos y 845.6120MEGINTRef.SetPos z 20665.7402MEGINTRef.Setangle z -168.5407MEGLockpickRef.moveto PositionBHCSREFMEGLockpickRef.SetPos x 2670.6794MEGLockpickRef.SetPos y 828.2421MEGLockpickRef.SetPos z 20652.0801MEGLockpickRef.Setangle z -157.0815MEGBarterRef.moveto PositionBHCSREFMEGBarterRef.SetPos x 2630.5457MEGBarterRef.SetPos y 828.0099MEGBarterRef.SetPos z 20652.0801MEGBarterRef.Setangle z 168.5410MEGLUKRef.moveto PositionBHCSREFMEGLUKRef.SetPos x 2679.3904MEGLUKRef.SetPos y 836.9730MEGLUKRef.SetPos z 20665.7402MEGLUKRef.Setangle z -145.6223MEGMedicineRef.moveto PositionBHCSREFMEGMedicineRef.SetPos x 2630.6519MEGMedicineRef.SetPos y 815.5319MEGMedicineRef.SetPos z 20638.4141MEGMedicineRef.Setangle z 168.5411MEGScienceRef.moveto PositionBHCSREFMEGScienceRef.SetPos x 2661.0427MEGScienceRef.SetPos y 818.3742MEGScienceRef.SetPos z 20638.4141MEGScienceRef.Setangle z -162.8111MEGSmallGunsRef.moveto PositionBHCSREFMEGSmallGunsRef.SetPos x 2670.8772MEGSmallGunsRef.SetPos y 815.3297MEGSmallGunsRef.SetPos z 20638.4141MEGSmallGunsRef.Setangle z -162.8111MEGSneakRef.moveto PositionBHCSREFMEGSneakRef.SetPos x 2640.4309MEGSneakRef.SetPos y 803.5651MEGSneakRef.SetPos z 20624.5527MEGSneakRef.Setangle z -168.5407MEGSpeechRef.moveto PositionBHCSREFMEGSpeechRef.SetPos x 2650.7620MEGSpeechRef.SetPos y 804.8066MEGSpeechRef.SetPos z 20624.5527MEGSpeechRef.Setangle z -174.2702MEGSTRRef.moveto PositionBHCSREFMEGSTRRef.SetPos x 2621.9541MEGSTRRef.SetPos y 837.0279MEGSTRRef.SetPos z 20665.8125MEGSTRRef.Setangle z 157.0820MEGUnarmedRef.moveto PositionBHCSREFMEGUnarmedRef.SetPos x 2661.1799MEGUnarmedRef.SetPos y 803.4859MEGUnarmedRef.SetPos z 20624.5527MEGUnarmedRef.Setangle z -159.0815MEGPERRef.moveto PositionBHCSREFMEGPERRef.SetPos x 2630.7913MEGPERRef.SetPos y 841.9753MEGPERRef.SetPos z 20666.1621MEGPERRef.Setangle z 168.5412MEGMeleeRef.moveto PositionBHCSREFMEGMeleeRef.SetPos x 2640.5425MEGMeleeRef.SetPos y 818.2155MEGMeleeRef.SetPos z 20638.2676MEGMeleeRef.Setangle z -179.9998MEGRepairRef.moveto PositionBHCSREFMEGRepairRef.SetPos x 2650.7712MEGRepairRef.SetPos y 819.5671MEGRepairRef.SetPos z 20638.4141MEGRepairRef.Setangle z -179.9998 You not really want to do this? Do you? Well ok, this here is a little bit extreme... but for the bobbleheadstand you still have to set all 20 referances new in your new interior. Link to comment Share on other sites More sharing options...
Chemist18 Posted February 21, 2009 Author Share Posted February 21, 2009 A pointer in the right direction would be appreciated. I've looked through GECK, the Noob stickie on the forum, I don't seen any mention of this process. Actually I got all the items you purchase from Moira to work in the new house but I cheated, I moved them. Since I cheated that means I didn't learn how the bobblehead display works :) Ok, for the workbench: The xmarker is enableparent for the workbench. If you enable the xmarker, the workbench is enabled too. For Bobbleheadstand.... well that's a little bit more difficult. Here a script I wrote to move the bobblehead-stand: MEGAGLRef.moveto PositionBHCSREFMEGAGLRef.SetPos x 2670.7720MEGAGLRef.SetPos y 842.2413MEGAGLRef.SetPos z 20665.8125MEGAGLRef.Setangle z -157.0815MEGCHARef.moveto PositionBHCSREFMEGCHARef.SetPos x 2650.8533MEGCHARef.SetPos y 846.6730MEGCHARef.SetPos z 20665.8125MEGCHARef.Setangle z -162.8111MEGExplosivesRef.moveto PositionBHCSREFMEGExplosivesRef.SetPos x 2661.0947MEGExplosivesRef.SetPos y 830.9084MEGExplosivesRef.SetPos z 20652.0801MEGExplosivesRef.Setangle z -162.8111MEGBigGunsRef.moveto PositionBHCSREFMEGBigGunsRef.SetPos x 2640.3123MEGBigGunsRef.SetPos y 831.1472MEGBigGunsRef.SetPos z 20652.0801MEGBigGunsRef.Setangle z -179.9998MEGENDRef.moveto PositionBHCSREFMEGENDRef.SetPos x 2640.3845MEGENDRef.SetPos y 845.5087MEGENDRef.SetPos z 20665.7402MEGENDRef.Setangle z 174.2706MEGEnergyWeaponsRef.moveto PositionBHCSREFMEGEnergyWeaponsRef.SetPos x 2650.6094MEGEnergyWeaponsRef.SetPos y 832.1469MEGEnergyWeaponsRef.SetPos z 20652.0801MEGEnergyWeaponsRef.Setangle z -168.5407MEGINTRef.moveto PositionBHCSREFMEGINTRef.SetPos x 2660.8540MEGINTRef.SetPos y 845.6120MEGINTRef.SetPos z 20665.7402MEGINTRef.Setangle z -168.5407MEGLockpickRef.moveto PositionBHCSREFMEGLockpickRef.SetPos x 2670.6794MEGLockpickRef.SetPos y 828.2421MEGLockpickRef.SetPos z 20652.0801MEGLockpickRef.Setangle z -157.0815MEGBarterRef.moveto PositionBHCSREFMEGBarterRef.SetPos x 2630.5457MEGBarterRef.SetPos y 828.0099MEGBarterRef.SetPos z 20652.0801MEGBarterRef.Setangle z 168.5410MEGLUKRef.moveto PositionBHCSREFMEGLUKRef.SetPos x 2679.3904MEGLUKRef.SetPos y 836.9730MEGLUKRef.SetPos z 20665.7402MEGLUKRef.Setangle z -145.6223MEGMedicineRef.moveto PositionBHCSREFMEGMedicineRef.SetPos x 2630.6519MEGMedicineRef.SetPos y 815.5319MEGMedicineRef.SetPos z 20638.4141MEGMedicineRef.Setangle z 168.5411MEGScienceRef.moveto PositionBHCSREFMEGScienceRef.SetPos x 2661.0427MEGScienceRef.SetPos y 818.3742MEGScienceRef.SetPos z 20638.4141MEGScienceRef.Setangle z -162.8111MEGSmallGunsRef.moveto PositionBHCSREFMEGSmallGunsRef.SetPos x 2670.8772MEGSmallGunsRef.SetPos y 815.3297MEGSmallGunsRef.SetPos z 20638.4141MEGSmallGunsRef.Setangle z -162.8111MEGSneakRef.moveto PositionBHCSREFMEGSneakRef.SetPos x 2640.4309MEGSneakRef.SetPos y 803.5651MEGSneakRef.SetPos z 20624.5527MEGSneakRef.Setangle z -168.5407MEGSpeechRef.moveto PositionBHCSREFMEGSpeechRef.SetPos x 2650.7620MEGSpeechRef.SetPos y 804.8066MEGSpeechRef.SetPos z 20624.5527MEGSpeechRef.Setangle z -174.2702MEGSTRRef.moveto PositionBHCSREFMEGSTRRef.SetPos x 2621.9541MEGSTRRef.SetPos y 837.0279MEGSTRRef.SetPos z 20665.8125MEGSTRRef.Setangle z 157.0820MEGUnarmedRef.moveto PositionBHCSREFMEGUnarmedRef.SetPos x 2661.1799MEGUnarmedRef.SetPos y 803.4859MEGUnarmedRef.SetPos z 20624.5527MEGUnarmedRef.Setangle z -159.0815MEGPERRef.moveto PositionBHCSREFMEGPERRef.SetPos x 2630.7913MEGPERRef.SetPos y 841.9753MEGPERRef.SetPos z 20666.1621MEGPERRef.Setangle z 168.5412MEGMeleeRef.moveto PositionBHCSREFMEGMeleeRef.SetPos x 2640.5425MEGMeleeRef.SetPos y 818.2155MEGMeleeRef.SetPos z 20638.2676MEGMeleeRef.Setangle z -179.9998MEGRepairRef.moveto PositionBHCSREFMEGRepairRef.SetPos x 2650.7712MEGRepairRef.SetPos y 819.5671MEGRepairRef.SetPos z 20638.4141MEGRepairRef.Setangle z -179.9998 You not really want to do this? Do you? Well ok, this here is a little bit extreme... but for the bobbleheadstand you still have to set all 20 referances new in your new interior. Thanks :). Actually I just finished with the Bobblehead display. Though your script would have been much easier on the alignments :) For the workbench, I know the Xmarker enables the workbench, I just don't see a script, etc. to toggle the Xmarker. Link to comment Share on other sites More sharing options...
Chemist18 Posted February 21, 2009 Author Share Posted February 21, 2009 The Bobblehead display was easier to trace because there was a Script that executed when the display was activated. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.