Hi.
Is it possible to mod a building, so it needs a bonus in the city radius?
For example. I want to make a Refinery that requires oil in the city radius. This allows me to do a new bonus "gasoline". By this way, i can split the resource in two; production and processing, just like real life.
Thanks
----
I do something about this but is not the better. I do a new building so, when i have access to the oil (in this case), i can build the refinery and this building gives me "gasoline".
What´s the problem about this? If i give oil to another player, he could build the refinery and produce "gasoline". If i end the oil trade, the another player would continue producing gasoline.
So, i want to limit the building to a city radius resource. By this way, if i sell oil, no one can build the refinery.
There´s another way to limit it; i can put down the IA wiling for the oil to 0 (in the Bonus XML file) so it will never trade oil. But i found another problem. What´s about if i have ALL the oil in my power? I can build only one refinery and it will produce only 5 "gasoline", but it can be inssufficient for all the players on the game.
I want to do the same with the copper (for electricity-need buildings), uranium and maybe the food resources (food needed to build units?).
P.D. Sorry for my english. This is not my mother language.
Is it possible to mod a building, so it needs a bonus in the city radius?
For example. I want to make a Refinery that requires oil in the city radius. This allows me to do a new bonus "gasoline". By this way, i can split the resource in two; production and processing, just like real life.
Thanks
----
I do something about this but is not the better. I do a new building so, when i have access to the oil (in this case), i can build the refinery and this building gives me "gasoline".
What´s the problem about this? If i give oil to another player, he could build the refinery and produce "gasoline". If i end the oil trade, the another player would continue producing gasoline.
So, i want to limit the building to a city radius resource. By this way, if i sell oil, no one can build the refinery.
There´s another way to limit it; i can put down the IA wiling for the oil to 0 (in the Bonus XML file) so it will never trade oil. But i found another problem. What´s about if i have ALL the oil in my power? I can build only one refinery and it will produce only 5 "gasoline", but it can be inssufficient for all the players on the game.
I want to do the same with the copper (for electricity-need buildings), uranium and maybe the food resources (food needed to build units?).
P.D. Sorry for my english. This is not my mother language.