Jump to content

TES Construction set problems


Wafflezs

Recommended Posts

Hello there readers,

I've just recently started making my own custom weapon. I've been on the forums before asking for help with it since it is my first mod, and the problem i seem to be having this time is actually just lack of knowledge. This is my first time adding something into the game using TES Construction set and I don't know how to add anything into the players inventory and such. What I want to achieve is when loading into a new game, or an old save before the weapon was added in, that its auto added to the player's inventory. How would I go about doing this? I've searched google, but it doesn't really come up with any instructions (maybe i just don't know what to search)

Thank you all in advance!

 

~Wafflezs

Link to comment
Share on other sites

The easiest way is to put it on the floor somewhere and let the player pick it up (that's why there's so many of these ;)).

 

For a more elegant solution, you can create a dummy quest and a quest script to run once and add the item. Let's say you created a quest called WafflezsQuest - it doesn't need any quest stages but should be set to start automatically. Assign a script to it - let's call it WafflezsQuestScript.

 

The *quest* script (not object or spell effect) could be like this:

 

scn WafflezsQuestScript

short DoOnce

BEGIN GAMEMODE

if ( DoOnce == 0 )
player.additem MyNewItem 1
set DoOnce to 1
StopQuest WafflezsQuest
endif

END

 

I'm sure that there's many other ways, but this is the first that comes to mind. :)

Link to comment
Share on other sites

Thank you very much Lanceor! This should help nicely, it's exactly what I had in mind. I should most likely be able to find some noob quest creation tutorial and use what you've provided. Thank you very much again! Would you mind me sending you a private e-mail if you I have any trouble?
Link to comment
Share on other sites

  • Recently Browsing   0 members

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