Hididety Posted August 28, 2009 Share Posted August 28, 2009 im trying to make a mod for droppable gold what i want it to do is have it so that when you try to drop your gold indicator it bings up the how many menu then after it is dropped it will calculate what stacks to make appear for instace i want to drop 468 gold it would then spawn 4 stacks of 100, 1 stack of 50 a stack of 10 a stack of 5 and 3 single coins another way that i would be happy with is that if you try to drop gold it brings up a menu with different denominations to drop then spawns the appropriate stack i have the modles for the stacks just need some code if you can help please do i've never done script before so i am lost Link to comment Share on other sites More sharing options...
shadyhasankhan Posted August 28, 2009 Share Posted August 28, 2009 :biggrin: Why you want to drop gold ? Link to comment Share on other sites More sharing options...
D_Von_Rommel Posted August 28, 2009 Share Posted August 28, 2009 :biggrin: Why you want to drop gold ? Maybe he want's different stacks of gold to put in his chosen redisence. Link to comment Share on other sites More sharing options...
Pronam Posted August 28, 2009 Share Posted August 28, 2009 Hm, I guess it could be solved easily using some algebra.. Link to comment Share on other sites More sharing options...
Hididety Posted August 29, 2009 Author Share Posted August 29, 2009 Hm, I guess it could be solved easily using some algebra..Well hey if you think it could be done thats good news for me and for the guy who wanted to know why i want to drop gold it is for my house in morrowind you could drop your gold and make yourself look like a millionaire which me and my buddies thought was cool but any ways i need some good script tutorials so i can start at least trying to figure out how it can be done and pleeeeeeeeeeeeeeease don't tell me the wiki. Link to comment Share on other sites More sharing options...
David Brasher Posted August 29, 2009 Share Posted August 29, 2009 I suggest that you download the mod "fwDropGold" from TES Nexus and examine script fwDropGoldScript. I imagine that you know that clicking the pencil icon in TES CS will take you to the scripts? This is a very long script. It seems that the line where the rubber meets the road is something like: Player.Drop Gold001 100 This command would drop one gold-piece representing 100 Septims. (Console command:) Player.Drop 0000000F 100 So in your script, the simplest way would be to give the player a menu with the following options:(1) Drop 100 GP(2) Drop 50 GP(3) Drop 10 GP(4) Drop 5 GP(5) Drop 1 GP The script following choice (3) would be something like:Player.RemoveItem Gold001 10 Player.AddItem MyModelForStackOfTenGold 1 Player.Drop MyModelForStackOfTenGold 1 If you went back and picked up your models of stacks of gold, you wouldn't be able to buy anything with them, so you will need to have somewhere in your scripts where you can turn all your stacks that you have picked up back into individual gold coins usable in trade. Something sort of like:If Player.GetItemCount MyModelForStackofTenGold >= 1 Player.RemoveItem MyModelForStackofTenGold 1 Player.AddItem Gold001 10 Endif But you would need to have the proper conditions on it or use it in the proper type of script block in order to keep it from making the script above it inoperative. You might need to be sure that the bottoms of your models of stacks of gold are really heavy so that that don't tip over. They would look silly if tipped over. You have a long road ahead of you. Good luck! Link to comment Share on other sites More sharing options...
Hididety Posted August 29, 2009 Author Share Posted August 29, 2009 I suggest that you download the mod "fwDropGold" from TES Nexus and examine script fwDropGoldScript. I imagine that you know that clicking the pencil icon in TES CS will take you to the scripts? This is a very long script. It seems that the line where the rubber meets the road is something like: Player.Drop Gold001 100 This command would drop one gold-piece representing 100 Septims. (Console command:) Player.Drop 0000000F 100 So in your script, the simplest way would be to give the player a menu with the following options:(1) Drop 100 GP(2) Drop 50 GP(3) Drop 10 GP(4) Drop 5 GP(5) Drop 1 GP The script following choice (3) would be something like:Player.RemoveItem Gold001 10 Player.AddItem MyModelForStackOfTenGold 1 Player.Drop MyModelForStackOfTenGold 1 If you went back and picked up your models of stacks of gold, you wouldn't be able to buy anything with them, so you will need to have somewhere in your scripts where you can turn all your stacks that you have picked up back into individual gold coins usable in trade. Something sort of like:If Player.GetItemCount MyModelForStackofTenGold >= 1 Player.RemoveItem MyModelForStackofTenGold 1 Player.AddItem Gold001 10 Endif But you would need to have the proper conditions on it or use it in the proper type of script block in order to keep it from making the script above it inoperative. You might need to be sure that the bottoms of your models of stacks of gold are really heavy so that that don't tip over. They would look silly if tipped over. You have a long road ahead of you. Good luck!Thenks your the only one to attempt helping me. I did download the mod you metioned and contacted the creator who stopped emailing me back for some reason, but yeah ill see what i can do im just a noob here so it's gonna be tough Link to comment Share on other sites More sharing options...
Pronam Posted August 30, 2009 Share Posted August 30, 2009 As this topic became a cross-forum (non-nexus) topic, here is some more info:...when you pick up the stack it adds the amount specified to your gold and doesn't appear in your inventory. To drop it you would shift click the gold indicator and it would calculate the stacks to drop, or a more probable way would be when you drop it a menu appears and you select the denomination you want to drop 1, 5, 10, 25, 50, 100. I think the second way is the best route for me and since the creator of the ring seems to have lost intrest in helping me i could use advice from someone else. Link to comment Share on other sites More sharing options...
Recommended Posts