The changes I'd LIKE to make to the trade routes require access to the formula, which requires C++, which is so far past what I can cobble together from a class in highschool on visual basic it's not even worth considering. So this is a thread mostly to ask if pursuing these changes, without having to do anything to the formula, is possible. I don't mind having to find some LUA resources and learn a bit, it's part of the fun, but I'd rather know if I'm chasing phantoms going in.
First off, is it possible to create a new variable for International trade routes only, and give a given city only ONE internal trade route, AND one interNATIONAL trade route, with a building? Would discourage/limit the way a large number of trade routes going in or out allow you to ascend to godhood at either science of production.
Secondly, is it possible to re-instate national wonders using existing code, in the vein of "Every city must have a forge/autoplant to build"? I think I remember seeing some things commented out, and I feel a lot of interesting things could be done with these and added quests.
Third, is it possible to create additional wonders in the vein of the Spy Agency? No special requirement, and you can only build one, but each nation gets to build one once it's researched. Things that give a bonus of some sort, that persists through the game.
Fourth, assuming the third is possible, is it possible to attach existing quest/affinity perks to buildings, instead? I expect MAKING something not get attacked by aliens is more complicated then finding a "Attackable by aliens = true" flag, but if I could call on an existing reward, I would like to move the quest reward of invincible trade caravans to a national wonder. Preferably a national wonder that requires ultrasonic fences in every city, but failing that, I'll take one that I can put at the mid game so that early trade routes are dangerous.
I'll likely have more questions along this vein at some point, hell I can think of a couple more already, but those are the only ones where I'm here browsing through the XML files and thinking "Well, uh... hrm. Maybe... but what about... argh I don't freaking know or even know how to go about knowing".
Thanks in advance for any help, even if the help is to just list 1-4 and say Yes/No, it'd be lovely to know which of these are worth an initial shot.
Edit: Bloody hell I posted this in general instead of mod help, if a mod sees this could you shove this over to the other forum please. Could have sworn I was in Modding Help & Creation.
First off, is it possible to create a new variable for International trade routes only, and give a given city only ONE internal trade route, AND one interNATIONAL trade route, with a building? Would discourage/limit the way a large number of trade routes going in or out allow you to ascend to godhood at either science of production.
Secondly, is it possible to re-instate national wonders using existing code, in the vein of "Every city must have a forge/autoplant to build"? I think I remember seeing some things commented out, and I feel a lot of interesting things could be done with these and added quests.
Third, is it possible to create additional wonders in the vein of the Spy Agency? No special requirement, and you can only build one, but each nation gets to build one once it's researched. Things that give a bonus of some sort, that persists through the game.
Fourth, assuming the third is possible, is it possible to attach existing quest/affinity perks to buildings, instead? I expect MAKING something not get attacked by aliens is more complicated then finding a "Attackable by aliens = true" flag, but if I could call on an existing reward, I would like to move the quest reward of invincible trade caravans to a national wonder. Preferably a national wonder that requires ultrasonic fences in every city, but failing that, I'll take one that I can put at the mid game so that early trade routes are dangerous.
I'll likely have more questions along this vein at some point, hell I can think of a couple more already, but those are the only ones where I'm here browsing through the XML files and thinking "Well, uh... hrm. Maybe... but what about... argh I don't freaking know or even know how to go about knowing".
Thanks in advance for any help, even if the help is to just list 1-4 and say Yes/No, it'd be lovely to know which of these are worth an initial shot.
Edit: Bloody hell I posted this in general instead of mod help, if a mod sees this could you shove this over to the other forum please. Could have sworn I was in Modding Help & Creation.