flameshiva Posted February 20, 2020 Share Posted February 20, 2020 Console commands or Geck functions. Is there anyway to '' add '' tempory boosts such as magazines, well rested, the effects of chems, etc etc. ? maybe even a custom boost. I am making an NPC and doing the buff through Dialogue. Think something like the Dragon Slayer Buff that Esbern gives the player in Skyrim but yeah thats Skyrim. Also as this seems quite complicated I was going to leave this for now as I'm new to the Geck , is there a way for a custom sound file to be played while talking to an NPC. I could link to the character topic but of course the sounds stop as soon as you change subject or exit conversation and I want it to keep playing. Besides that replaces their dialogue. Thanks :smile: Link to comment Share on other sites More sharing options...
WarMachineDD7 Posted February 20, 2020 Share Posted February 20, 2020 The only way to do that immediately is through scripting, so you would have to set up an object or quest that runs a script and applies the effects you want when you tell it to (after a dialogue, the NPC could give you an item which has a script attached that applies all the buffs you want, for example). But if you don't wanna deal with that, you can also make a perk (although this would also make it permanent unless you remove the perk later through another script). Look up how you receive the Ranger Takedown perk from Ranger Andy to see how you can make dialogue grant perks (editor ID is VDialogueNovac), and then look up Actor Effects to see how to make buffs and debuffs (when you get a perk, you can apply an Actor Effect). Link to comment Share on other sites More sharing options...
Radioactivelad Posted February 20, 2020 Share Posted February 20, 2020 (edited) You could secretly feed the player a hidden ingestible that provides the temporary buff using Equipitem.This would require the items being in the Players inventory though The way I would do it is to add the Ingestibles to the player when entering the "Buff Hub" topic using additem in the result script. When the player selects their desired buff, call Equipitem on the desired Ingestible and RemoveItem on the unused ones. If the player rethinks their to decision to use a buff, remove all the items from their inventory using RemoveItem. RemoveItem and Additem have optional flags that allow you to skip showing the Item Added/Removed message in the corner. Edited February 20, 2020 by Radioactivelad Link to comment Share on other sites More sharing options...
flameshiva Posted February 21, 2020 Author Share Posted February 21, 2020 Duplicating an item effect and changing the pop up message would be great too but I am getting ahead of myself. Thank you both for the information, using the not showing function of adding and equiping ingestibles will work for now. Link to comment Share on other sites More sharing options...
Recommended Posts