New coins not working like the default coins. Solutions?

Post » Thu Jan 16, 2014 11:28 pm

I'm trying to make a mod that adds two new coins in the game. Silver and Copper coins. And I want them to work just like the default gold coins. Where when you pick them up they go into your inventory and add to your total income.

I know how to get the coins in game but, when ever I pick them up they just go straight into my inventory as a sellable item, rather then add to my total income. I found a way around this, but this time it, has the opposite problem.

If I make the new coins act like coin purses, that way when you pick up, lets say a silver coin it will give you 50 gold001 coins (the default gold coin is now copper) but now the problem is that the new coins don't show up in my inventory since they are just being replaces with gold001. So when ever you pick up a silver coin it is replaced with 50 copper coins. But I want my new coins to act the same way as the default coin, where as when you pick it up, it adds to your total income while also going into your inventory.

Does anyone know how the vanilla coins work and if it's even possible to make multiple new coins that work just like em?

User avatar
carley moss
 
Posts: 3331
Joined: Tue Jun 20, 2006 5:05 pm

Post » Fri Jan 17, 2014 1:46 am

Default coins are somehow hardcoded, I started a topic here about them too. You should probably script yours with onContainerChanged event and add real septims when those are picked up.

User avatar
Chris BEvan
 
Posts: 3359
Joined: Mon Jul 02, 2007 4:40 pm

Post » Fri Jan 17, 2014 12:50 pm

I was wondering if they were hardcoded in the game. I guess I'll just have to continue with my current solution. Make the new coins act like coin purses so that when you pick them up they add the default coins. Thanks.

User avatar
jodie
 
Posts: 3494
Joined: Wed Jun 14, 2006 8:42 pm


Return to V - Skyrim