Jump to content

Read Book/Magazine to learn Recipe ?


Kastergir

Recommended Posts

Hi .

 

Just one quick question - as the title says : With the tools avilable to mod FO4 at the moment, is it possible to say add a Book, or Magazine - or a Series of such - which makes the Player learn a crafting recipe and consequently adds said recipe to the appropriate Workbench when found and read ? ?

 

~k

Link to comment
Share on other sites

Think it's doable. There are a few items (like Wellingham's recipe) that give you access to new recipes, right? You might be able to use their forms/scripts as a template and apply them to a magazine.

 

Thanks for the hint . Did not know "Wellingham's recipe" existed, have not played FO4 to the point where I found it . Will look that up .

 

edit: I did lookup the BOOK records for Wellingham'S recipe and the Reactor Coolant List . While both display the text of the recipe, I can not see anything related to calling a Script . Need to add, I am a total newb to modding, and have only very little understanding of the internals of Fo4 yet . Any hint as to where I need to look to find how those 2 - Wellingham's recipe and Reactor Coolant List - actually add a recipe ?

 

2nd EDIT: Okeh, I started looking at DDProductions83's QuestMOD Prelude To Vault 273 . I did figure out the Basics of how he made the player acquire a new recipe . I think...

Edited by Kastergir
Link to comment
Share on other sites

Well, I know you can get Wellingham's recipe as a (possible) quest reward for The Devil's Due. So I'll have to assume that if it's not the item itself that gives the recipe, it's possible the quest itself does (so the quest forms/scripts then?).

 

Edit: Have you checked if the item form has any conditions set? Might also be it.

Edited by Guest
Link to comment
Share on other sites

Well, I know you can get Wellingham's recipe as a (possible) quest reward for The Devil's Due. So I'll have to assume that if it's not the item itself that gives the recipe, it's possible the quest itself does (so the quest forms/scripts then?).

 

Edit: Have you checked if the item form has any conditions set? Might also be it.

 

RIght, that is another nice lead to check, possibly finding an alternative way to add a recipe . If you mean the item Form of Wellingham's recipe, yes, I was looking for any hint towards how it adds a recipe .

 

But as said, I think I figured out how DDProduction83 makes the player learn a recipe for some special ammo in his Prelude To Vault 273 by looking at it . I think I can reproduce it with some tinkering and a lot of try and error . What I do NOT have a single clue about is how to place objects into the world XD .

Edited by Kastergir
Link to comment
Share on other sites

Placing an object isn't all that hard to do, annoying part is getting the cell ID and exact X/Y/Z positions of where you want to place your item.

 

After already having added the item to the game (not having placed it yet), go in-game, add the item to your inventory with the player.additem [itemID] (without the []) and go to the cell you want to place it at. Next find an object in the vicinity that's selectable through the console for it's refID and search through xEdit using that. You should now land in the cells tree where all the placed object forms 'n stuff are at. Copy one of the forms as a new entry and have it reference your item. Okay, now for the X/Y/Z positions. Place the item you've added to your inventory earlier on the ground (or wherever) where you want to place it and use the getpos x/y/z and getangle x/y/z to get it's exact coordinates. Enter those coordinates into the form you've copied/created earlier and that's that, you've placed an item in the world.

 

This might not be the best way to go about it and certainly not the fastest way, but it's what I've done before and know works.

 

Note: Creating new placed objects or editing existing placed objects WILL cause the cell reset bug to occur for that cell.

Edited by Guest
Link to comment
Share on other sites

Wow. Great advice, thanks . Especially the heads up about the cell reset . I had read about it happening under the mentioned conditions before, but did not think of it in regards to what I want to do XD .

 

Using leveled List(s) was suggested to me as a way to distribute the Items I want to use to make the Player learn a recipe. Maybe I just do that . Kindof not EXACTLY what I wanted, since I do not want to spam recipe magazines into the world, and also would prefer a bit more control over where they are found instead of random chance, but I think it would be nice practice to just see whether I can get the Basic idea to work .

 

I assume its nothing big, and fairly simple, but me being a total newb it feels like some project... XD .

Link to comment
Share on other sites

You could divide the recipe's so only certain recipes drop from certain mobs and only with a slight drop chance. Think this should be doable and might prevent spamming them all over the place.

Wouldn't do this manually it would kill any compatibility of ANY mod that edits leveled list. wait for GECK make a quest to add it into the level list using script. Is easy.

 

@ Kastergir

BTW what you are asking is incredibly simple :)

You can create a new perk and add the perk when the recipe is read, then add condition to the recipe:

 

Is Equal

1.0

HasPerk

xxxx

unused 0

Parameter 3 -1

 

Good luck.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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