Jump to content

Need help: Workshop


Recommended Posts

Hi all,

I have a workshop workbench in my interior (player home in dc from Geneva) by default it's activated after you buy the place from Geneva. I wanted to be activated after the place is cleared out. I put some Radroaches and look into the script of the workshop can't figure out how?

Can someone help me or a link to a Tut can't find one?

Link to comment
Share on other sites

Make sure that the Workshop is showing up as WorkshoprefType in the location record so it all connects up.

 

Don't modify the workshop script as the defaults will grant ownership when the player activates the workshop after clearing the location.

Link to comment
Share on other sites

Make sure that the Workshop is showing up as WorkshoprefType in the location record so it all connects up.

 

Don't modify the workshop script as the defaults will grant ownership when the player activates the workshop after clearing the location.

 

It's not really working maybe cuz it's part of a quest of FFDiamondCity02 or did i do something wrong?

So i find this in the stages of the quest :

Stage 10 (player buys house)

;Tell player where to go
SetObjectiveDisplayed(10)

;remove money
Game.GetPlayer().RemoveItem(Caps001, ServiceCostBuyHouse.GetValueInt())

;give key and set ownership
Game.GetPlayer().AddItem(DmndPlayerHouseKey)
DmndPlayerHouse01.SetFactionOwner(PlayerFaction)
Alias_Door01.GetRef().SetFactionOwner(PlayerFaction)
Alias_Door02.GetRef().SetFactionOwner(PlayerFaction)
Alias_Door03.GetRef().SetFactionOwner(PlayerFaction)

;add map marker
DiamondCityPlayerHouseMapMarker.Enable()

Stage 100 (Player enters house)

Game.IncrementStat("Workshops Unlocked")
CompleteAllObjectives()
;Game.RewardPlayerXP(XPRadiant.GetValue() as int)
Stop()

It's a short quest do you think it will break the quest or the game if i change or delete something in the default scripts of the stages and what can i change to make it work ?

 

[EDIT] i tried deleting things in that scripts and still not working.

Edited by H3S
Link to comment
Share on other sites

Here is an even quicker workaround I use in one of my FastStart mods so the player can start from Homeplate without any caps:

Quest 		Property pFFDiamondCity02 	Auto Const Mandatory
GlobalVariable 	Property pServiceCostBuyHouse 	Auto Mandatory

Function Homeplate()
   Float fTemp = pServiceCostBuyHouse.GetValue() ; Must change the Global CONST flag
   pServiceCostBuyHouse.SetValue(0)
   pFFDiamondCity02.SetStage(10)
   pServiceCostBuyHouse.SetValue(fTemp)
EndFunction
Link to comment
Share on other sites

 

Here is an even quicker workaround I use in one of my FastStart mods so the player can start from Homeplate without any caps:

Quest 		Property pFFDiamondCity02 	Auto Const Mandatory
GlobalVariable 	Property pServiceCostBuyHouse 	Auto Mandatory

Function Homeplate()
   Float fTemp = pServiceCostBuyHouse.GetValue() ; Must change the Global CONST flag
   pServiceCostBuyHouse.SetValue(0)
   pFFDiamondCity02.SetStage(10)
   pServiceCostBuyHouse.SetValue(fTemp)
EndFunction

But i don't wanted to be free it's a factory and it cost 23000 caps only thing i want is that you have to clear out the Radroaches in the Factory to use the workshop every time i try it's already activated .

[EDIT] forget to mention when i keep pressing the select button on the joystick workshop mode opens. i don't really need the Radroaches if it's to complicated. i would be happy if i just have to go to the workshopworkbench and activated from there the first time.

[EDIT] I realize that it make sense that it already is activated cuz you buy it maybe was a stupid idea maybe ill keep it like how it is. don't need to make things to complicated :confused: .

Really sorry that i have wasted your time :sad: i wanna finish the mod don't wanna spent more time for it .Thanks anyway for your time :thumbsup:

Edited by H3S
Link to comment
Share on other sites

  • Recently Browsing   0 members

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