Jump to content

Simple add ammo type script


ZippyDSMlee

Recommended Posts

Need a simple script that can add stuff from custom ammo list and vendor lists.

 

I think I grasp the process to make one, make the custom lists,make the script save esp, do I need to change it to a esm, I get confused passed this point.

 

 

Would this script be any different for Fallout 3? I might polish up my mods for it more....

Link to comment
Share on other sites

 

Need a simple script that can add stuff from custom ammo list and vendor lists.

You're not saying much. Please be more specific - what, exactly, are you trying to accomplish?

 

Ah sorry, I want to add more ammo types for all default weapons to use, I want to use a script rather than just override the default lists. I also would like to add to the vendor lists as so they can sell the ammo.

Link to comment
Share on other sites

The following is an example script you can use as skeleton:

scn	AddNewAmmoToListsScript

begin GameMode

	if GetGameRestarted
		ListAddForm SomeAmmoList1 NewAmmoType1
		ListAddForm SomeAmmoList1 NewAmmoType2
		ListAddForm SomeAmmoList2 NewAmmoType3
		ListAddForm SomeAmmoList3 NewAmmoType4
		; (...)
	endif

end

This script should be attached to a Start Game Enabled quest.

Link to comment
Share on other sites

AddNewAmmoToLists is the name of the script thus can be changed right?

 

SomeAmmoList calls to the ammo list in the game where as NewAmmoType calls to the custom list file. Correct? Can you do this with vendor lists(dumb Q I know but I have to ask)?

 

Now one last quest this will only work if you load then merge it? Or do you have to merge it I am unsure thus why I asked.

 

 

And thanks so much!!!!

Link to comment
Share on other sites

 

 

 

 

AddNewAmmoToLists is the name of the script thus can be changed right?

Yes.

 

 

 

SomeAmmoList calls to the ammo list in the game

Yes.

 

 

 

NewAmmoType calls to the custom list file. Correct?

NewAmmoType is the Editor ID of your custom ammo, not a list.

 

 

 

Can you do this with vendor lists(dumb Q I know but I have to ask)?

I reckon you can, though I've never done anything with vendor lists, so I can't say for certain what is the proper way to work with those.

 

 

 

Now one last quest this will only work if you load then merge it? Or do you have to merge it I am unsure thus why I asked.

I'm not sure what you mean, exactly. The quest and script should both be created in the same ESP/ESM file containing the new ammo types.

Link to comment
Share on other sites

 

 

 

AddNewAmmoToLists is the name of the script thus can be changed right?

Yes.

 

 

 

SomeAmmoList calls to the ammo list in the game

Yes.

 

 

 

NewAmmoType calls to the custom list file. Correct?

NewAmmoType is the Editor ID of your custom ammo, not a list.

 

 

 

Can you do this with vendor lists(dumb Q I know but I have to ask)?

I reckon you can, though I've never done anything with vendor lists, so I can't say for certain what is the proper way to work with those.

 

 

 

Now one last quest this will only work if you load then merge it? Or do you have to merge it I am unsure thus why I asked.

I'm not sure what you mean, exactly. The quest and script should both be created in the same ESP/ESM file containing the new ammo types.

 

Okay dose this look half right?

scn	ZippyLabsAmmoListsScript

begin GameMode

	if GetGameRestarted
		ListAddForm AmmoList10mm Ammo10mmzippyex
		

               // ListAddForm VendorAmmo10mm Ammo10mmzippyex

		; (...)
	endif

end

I block quoted out the vendor stuff I need more information on how to do that and the ammo amounts.

 

Now I am looking up how to make a quest that is finished once the player loads up, so far I am not finding much.

Link to comment
Share on other sites

The script looks right.

 

 

 

Now I am looking up how to make a quest that is finished once the player loads up, so far I am not finding much.

Simply create a new Quest form, tick Start Game Enabled, then select ZippyLabsAmmoListsScript from the Script dropbox. If it's is not listed there, open the script again and make sure Script Type is set to Quest.

Note that the quest is not supposed to be "finished", ever. Its only purpose is to run the script once, every time you launch the game.

Link to comment
Share on other sites

The script looks right.

 

 

 

Now I am looking up how to make a quest that is finished once the player loads up, so far I am not finding much.

Simply create a new Quest form, tick Start Game Enabled, then select ZippyLabsAmmoListsScript from the Script dropbox. If it's is not listed there, open the script again and make sure Script Type is set to Quest.

Note that the quest is not supposed to be "finished", ever. Its only purpose is to run the script once, every time you launch the game.

Okay it won't let me save it and since there is not something to locate errors by the line I have no idea what I did wrong.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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