Jump to content

Beginner needs help...


Ole122

Recommended Posts

Hi, I'm a beginner in modding, though I tried to do the Tutorial for the Fallout 3 GECK (but then that was some time ago and I never finished).

 

Anyway, I've already managed to make 12.7mm Ammo craftable at a reloading bench (seeing that in NV there are cases for it, but no way to use them), but now I'd like to go one step further and add a 12.7mm AP Ammo.

I believe that I have managed to do the ammo itself by basically duplicating the 12.7mm entry, changing value+weight and adding AP modifiers to it. I also added the newly created ammo to the ammo list for 12.7mm Ammo, so that the pistol and smg should be able to use it.

 

What I can't figure out however, is how to enable merchants (preferably Gun Runners, BoS and the NCR guys at McCarran+Hoover Dam) to actually sell it. I looked up the tutorial on the GECK wiki, but to be honest, I couldn't make it work. I mean, I'd be content if just one trader would actually sell a fixed amount of it (although I'd naturally prefer if it worked just like any other sort of ammo, including a chance to get it and so on), but I just can't figure out how to do this. Would be great iIf somebody could enlighten me...

Link to comment
Share on other sites

You could just add the item to their merchant container, but that will conflict with any other mod that modifies those containers. You may be able to just create a new container owned by their faction, and that will add it to their barter menu.

The best was is probably to add it to their merchant container via quest script.

Create a new quest and make sure start game enabled is ticked. Add a new script. Make sure you make it a quest script in the dropdown. It will look something like:

 

scn myquestscript

 

short doonce

 

Begin GameMode

 

merchantcontainerref.additem mynewitem <qty>

stopquest mynewquest

 

End

[/code}

 

That will add it to their merchant container at the beginning of the game but not conflict with any mod that does things the wrong way and adds items directly.

Link to comment
Share on other sites

Hm, I tried to do it by script, pretty much worked out alright, but to be honest, I'd really like to do it right - meaning that some more merchants trade in it, that there's a variable amount of ammo sold and that this restocks along with the other merchandise of the traders.

 

However, I haven't managed to do this, even with the article from the GECK wiki. Any help would be appreciated - I could even upload the .esp, which so far enables crafting of normal 12.7mm Ammo and has added 12.7mm AP Ammo if that would help.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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