Jump to content

Scripting Help Neeed


Nazrog

Recommended Posts

Hi all,

 

Not sure if the answer to this exsist out there, but can't find it.

 

I'm trying to make a mod which manages your money. Sort of like a banking mod. Basicly, in the mansion I'm building, I want an Accountant, who will look after and manage your money. What I would like him to do is as follows.

 

Four main functions:

 

1 - Deposit (Gives the option to deposit All - Deposit All Gold, Gems and Precious Metals / Deposit Gold - Gives option to deposit either 100, 500, 1000 or 10000 / Deposit Gems & Precious Metals - Deposits ALL of these)

 

2 - Withdraw (Gives the option to withdraw either 100, 500, 1000 or 10000 Gold - Gems & Precious Metals are manually recovered)

 

3 - Invest (5 incremental increases in 'Payment', to increase the amount of 'Interest' returned from Deposits - Gold weekly, Gems & Precious Metals monthly)

 

4 - Conversation with NPC Accountant to explain what he dose.

 

So what happens is, you give the Accountant Money, Gems or Precious Metals and he 'Invests' it. Every week, you recieve a 'Return' from your 'Gold' investment. Every month you get a 'Return' from your 'Gems & Precious Metals' Investments. By talking to the NPC and asking him to take some of your money (Spend it) and invest in toher business ventures. This could work in say five levels (1st level is free, 2nd level requires a payment of 2000 and increases your 'Interest Rate' by say 1.5%, upto level five which costs 50000 and gives you a max 'Interest Rate' of say 12%.

 

When you give the accountant Money, Gems or Precious Metals, each item is then stored in a separate chest, which you can then access yourself if you want to, or via the Accountant for Money Withdrawals.

 

I suppose this is a summary of what I would like it to do, the problem I have, is I am AWFUL at scripting, I simply don't know where to start with something like this. I'm 100% sure its possable, becuase other mods do similar things, but not them all.

 

I hope someone can help, I think it would be a really good mod that I would like to offer as a modders resource (build a room for accountant with everything needed, then upload it an let people link it with there own house mods.

 

Thanks for your time all, hope this can be done.

Link to comment
Share on other sites

 

 

Yeah, that's what gave me the idea sort of. But i really want it to be a 'Personal Accountant' for the Mansion Lord (Player). And the Bank Of Cyrodill dosn't do Gems, or Precious Metals. Although it dose 'Interest', not quite in the way I'm thinking for my idea. It's a great MOD, but I think my idea and it are quite different, except in basic principle. I suppose it would be good if the 'Interest Rate' varies between a set percentage for your level, so some months may be good, others not so good.

 

Thanks anyway Slawter!

Link to comment
Share on other sites

I am big on reverse-engineering. I suggest that you find a script that is sort of like what you want. Perhaps from the Bank of Cyrodiil. Cut out everything that is not what you want, change the numbers and settings on a bunch of things to bring them in line with what you want, add a bunch of stuff which is missing from the script. Soon it will be working like you want it to, and no one would recognize it for what it used to be. This might seem like plagiarism, but this is a limited computer language. There is often only one way to say a given thing. You will be forced to give exactly the same command the other folks did. There may be no other way. If your new script is almost identical to someone else's work, you might contact them and let them know what you are doing and give them some credit in your readme file.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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