Search the Community
Showing results for tags 'nobles'.
-
==/// ECONOMY SYSTEM MODEL UPDATE \\\== Here is the Model of the Economy System so far, i will update this small section of the first message time to time ////////////////== END UPDATE SECTION == \\\\\\\\\\\\\ Hi everyone!! This is my second Topic in this forum and also the extension of a discussion started here that naturally evolved in a Mod Project. So here we are. First of all i have to tell that i am not native english, i am Italian, so please be patient with me for my grammar. All started from the idea to create a economy structure of the game more complex, i feel all the cities i build with so much effort during the game are just like ghost city, with not real live in it if not for the traders go up and down.... i wanted to have something overall more strategic, not focus on the military where the game is already quite strong, but on the civilian side. To give life to this cities i think is necessary develop their economy dimension, so for example add buildings like Shops , Academies, Products, Markets (Extending that one already in the game) etc.. and Entities like Dealers, Traders, Professors, Artists, Nobles, Citizens, Slaves etc. Starting from this very draft Idea i start developing is something more structured as follow below: (All the Code of the Mod is freely available in this dedicated GitHub for who is interested to partecipate on the development don t hesitate to contact me.) Goal Create a Economy System for 0Ad to give more Realism and add Strategy to the Game. 3 Main Concepts of the Economy System : 1 Economy Entities Dividing the Military Unit from the Civilian , we focus just in the latter for our Economy. Civilian Entity can Upgrade from Slave to Noble paying fee to special structure ( like Academy) or collecting a certain amount of experience ( calculated in money earned ). There are two kind of entity in our model: Passive: Earn Money from the resource gathering job Active: Earn Money producing and selling products We can say that Passive Entity are just Consumer, and Active are both Consumer and Producer. All the Economy Entities consume product and resources, can stock products , have own money saved in them personal wallet and most important they can spend or earn. In more details: Slave work for free and consume just some food the only owner is the State which account for the food and benefits of the resources gathered Citizen the can earn and spend; they consume food and also other commodities like textile or wine, they can buy food from the State or from Food vendors, and the other commodities from the shops or in the market, the own the money earned but also the State own them: all resources gathered go to State which pay them producing money from free Shops, Market, Circus are instead Structures which spend money to buy resources from State and resell them to Citizens offering different products from clothes exotic food entreatment etc..also they need to pay a tax for each transaction to State Nobles instead they can own Slave and earn a percent for all the Lifecycles of them economy once they upgrade in the different economy entity described above. They Spend money for very expensive commodities and they influence the civ evolution like giving some very good benefits to win the game( not sure yet which one ) In more details: State: Ownership: Own Spend : Money / Technology, Weapon, Diplomacy, Super Unit, Corruption etc.. Earn : Money/ VAT Tax, Monthly Tax, Resources, Villas, Castles Consume: None Produce: Money, Slaves, Market Building Dedicated Building: Civ Center Slave: Ownership: State, Nobles Spend : NO Money Earn : NO Money Consume: 1 Food[fish,fruit,grain,meat]/Day Dedicated Building: No Produce: Labor Citizen: Ownership: State, Own Spend : Money / Products and Resources Earn : Money/ Resource Gathered Consume: 2 Food [fish, fruit, grain, meat]/Day 2 Food [wine, sausage, bread, steak]/Day 1 Clothes/Week ( will be produced by some Shop or 1 Entertainment/Month Produce: Labor Dedicated Building: No Food Dealer: Ownership: Own Spend : Money / Resources, Products Earn : Money / Bread , Sausage Consume: 4 Food [fish, fruit, grain, meat]/Day 4 Food [wine, sausage, bread, steak]/Day 2 Clothes/Week 2 Entertainment/Month 1 Jewelry Produce: Sausages,Breads,Wines, Steak Dedicated Building: 1 Level : Street Vendor, 2 Level: Locand, Bakery, Butcher Clothes Dealer: Ownership: Own Spend : Money / Resources, Products Earn : Money / Clothes Consume: 4 Food [fish, fruit, grain, meat]/Day 4 Food [wine, sausage, bread, steak]/Day 2 Clothes/Week 2 Entertainment/Month 1 Jewelry Produce: Clothes Dedicated Building: 1 Level : Street Vendor, 2 Level: Clothes Shop Jewelry Dealer: Ownership: Own Spend : Money / Resources, Products Earn : Money / Jewelry Consume: 6 Food [fish, fruit, grain, meat]/Day 6 Food [wine, sausage, bread, steak]/Day 4 Clothes/Week 3 Entertainment/Month 2 Jewelry Produce: Jewelry Dedicated Building: 1 Level : Street Vendor, 2 Level: Jewelry Shop Trader: Ownership: Own Spend : Money / Resources, Products Earn : Money / Resources, Products Traded Consume: 6 Food [fish, fruit, grain, meat]/Day 6 Food [wine, sausage, bread, steak]/Day 4 Clothes/Week 3 Entertainment/Month 2 Jewelry Produce: Resources, Products Dedicated Building: 1 Level : Street Merchant, Artist: Ownership: Own Spend : Money / Resources, Products Earn : Money / Entreatment Consume: 6 Food [fish, fruit, grain, meat]/Day 6 Food [wine, sausage, bread, steak]/Day 4 Clothes/Week 3 Entertainment/Month 2 Jewelry Produce: Entreatment Dedicated Building: 1 Level : Street Vendor, 2 Level: Entreatment Building(Arena) Noble: Ownership: Own Spend : Money / Resources, Products, Slaves Earn : Money / Tax from his former Slaves Consume: 20 Food [fish, fruit, grain, meat]/Day 20 Food [wine, sausage, bread, steak]/Day 10 Clothes/Week 10 Entertainment/Month 10 Jewelry Produce: Technology Dedicated Building: 1 Level : Villa, 2 Level: Castle 2) Money Of course all is about money, so the first thing i did is to create the Money Resource. The Player represent the State in my Economy System, perceive a Tax for every transaction done in its kingdom, ( ex. 20%) plus it can collect money selling resources to the producers and adding other fee after a certain amount of time. More glorious is his economy more money he can make. 3) Products So far i created 8 products that can be sold: - Food: bread, wine, steak, sausage - Clothes - Entertainment - Jewelry - Slave Each Product has a price that change based on the Supply and Demand, they are being calculated by a PriceManager Component, which will calculate the demand and offer every tot amount of time, to give realism of the Economy Model. What i Achieved so far ... As you can see on the image i took the template of Female Support i add to the template EntityFinance, EntityConsumer and EntityProducer. With EntityFinance Component they can earn money every resources gathered, they automatically pay the tax to the State, they can store all money in a Balance which has a maximum capacity , depending if are just citizen or nobles. or dealer etc.. With EntityConsumer Component i track the need of the entity, every time she work one algorithm calculate different variables to define is actual need. these variables are : - Product Daily Consuming, - Product Daily Availability, - Product Already in Stock - Product Prices Compared with his Own Balance. The need is so calculated as a value between 0 and 2 , if the value of need of a product is major of 1 , the product is inserted inside a list of FirstChoiceProduct, which define the entity needed product in every given the moment Of course this component track all the product consumed and stocked by the entity With EntityProducer Component instead define the capabilities to produce products to resell later. all Products produced are in a catalogue that other entity can see , so far i developed just to let the entity purchase what she wants, still need to be developed to producing product etc.. To make the entity moving to buy product if needed i implemented a new order in unitAI Component, i called it "Shopping", which let the entity once she working checking if she has need, if there are producer with available product around and in case if go to them, buy the product, stock them and go back to work . Also For the Visual Part and GUI, i added the 8 product category for Entity Consumer in the left panel so to have a track of what the entity has in stock(you can see the tooltip) and the balance of money of the entity is showed on top of the head of the 3d woman and also in the central panel, where there is a more specific description with tot amount ant max capacity. Money resources are instead tracked in the top together with all other resources. Also i added one new animation once the entity approach the seller, is just a start but at least she do something like paying cash.( Is the third picture, i used another woman as a producer cause i don t have now 3d model of vendor to use) All the Code of the Mod is freely available in this dedicated GitHub for who is interested to partecipate on the development don t hesitate to contact me. Please give me Ideas and Feedback