oscarvdhooft Posted October 2, 2017 Share Posted October 2, 2017 I modified the hunting rifle and changes its formID and name so it's a separate weapon but I was wondering how I'd spawn this in the game through the console? Or do I have to place it somewhere in the world first? Thanks in advance Link to comment Share on other sites More sharing options...
dubiousintent Posted October 2, 2017 Share Posted October 2, 2017 (edited) Either way, you have to add your custom weapon to the game by way of an ESP file. Where the ESP is located in your load order determines it's "mod index" (in hex). That mod index is the first two (of 8 ) characters of your Base-ID as it is represented in the "Objects" window of GECK under "Weapons". That is the FormID you need to use with a "player.additem" console command. If you drag that record into the "Render Window" and drop into the game world, you create an in-game object with a Ref-ID. You can't use "additem" with a Ref-ID, but you can pick that object up (which adds it to your inventory with the Base-ID). Please see the 'GECK Form-ID, Base-ID, Ref-ID, and Editor-ID' section of the wiki "Getting started creating mods using GECK" article. -Dubious- Edited October 2, 2017 by dubiousintent Link to comment Share on other sites More sharing options...
SGTbayk47 Posted October 6, 2017 Share Posted October 6, 2017 (edited) If you're using NVSE you can also search for the item in the console if you know what in game name you gave the weapon. If it's still just named 'Hunting Rifle' it'll be the one with a base id that starts with something other than '00'. Edited October 6, 2017 by SGTbayk47 Link to comment Share on other sites More sharing options...
Recommended Posts