arms dealer mod?

cider

Chieftain
Joined
Dec 6, 2004
Messages
84
Location
Germany
Is there something like this already?

Sometimes my game is going well and peaceful.. and I miss some action. I don't wanna go to war myself though and risk my wealth and research, I just wanna lean back and make more money/faster research and see how other civs maul each other. :lol:
Yeah, I can gift units to Civs.. but that is not optimal. I want something in return.
So I am asking how hard would it be to mod something like this?

For example, in addition to the gifting button, there should be a "sell" button.
The price should be like the hammers you used for it in gold (plus maybe the transport costs :lol: ).
The AI Civ should decide, based on their own power/technological advancment if they want to buy this unit or not. Example: small but rich Mali more likely wants to buy some tanks, bigger nations like Germany or Russia, who produce fast on their own would only want to buy a unit if it is of a higher tech.
Civs at peace and with no real threat are less likely to buy like civs at war etc.
There should also be a low chance of (-) relations with a civ if you sell arms to their enemies while both are at war.

Add your ideas and thoughts... and maybe we can make something out of it. The "Pacifists" here should love it :D
 
Arms dealing is something I've always missed also, but there are many obstacles to overcome.

merijn_v1: What is the mod you're referring to? Perhaps it would be easy to port this functionality to RFC? (Preferable RFCM though.)
 
Arms dealing is something I've always missed also, but there are many obstacles to overcome.

merijn_v1: What is the mod you're referring to? Perhaps it would be easy to port this functionality to RFC? (Preferable RFCM though.)

Rise of Mankind has this function IIRC. (Maybe you'll have to download A new Dawn as well) But I think it is a component you can download without a whole mod attached to it.

EDIT:
Found it. (It a component of this) Maybe it has to be modified a little.
http://forums.civfanatics.com/downloads.php?do=file&id=15120
 
Aha, but that mod-comp only allows trading of Workers and siege units, right?
 
In Rom/AND, it also allows you to sell ships and tanks. About all "machines".

I think it just need some little modifications to do the same for human units.
 
I noticed that the mod comes with a custom DLL file, so it might not be easy to merge then.
 
I'm not an coding expert. But if you manage to merge it in, it is really easy to make other units also tradable. (Just copy a line of XML) So merging it in is the biggest issue.
 
Yeah, for sure. I think this would be a job for someone like Embryodead... :p
 
but how does it work in detail? on the screenshots I only saw that one can trade workers in the diplomacy window.. that's fine. but other units? I mean, they can have different upgrades.. how does the mod know which exact tank or infantry you wanna trade?
and after the trade, does it spawn right in the capital of the other civ?
 
I guess you could download, install and find out... I'd be interested to know about your findings, in any case. :D
 
@ cider

I don't know what changes are made in the CvGameCore.dll, but if you have the changes, you only have to add a tech to an unit to make it tradable. (If it has the tag, you can trade it, if it hasn't the tag, you can't trade it)

Examples:
This unit is tradable (catapult):
Code:
			<bSuicide>0</bSuicide>
			<bHiddenNationality>0</bHiddenNationality>
			<bAlwaysHostile>0</bAlwaysHostile>
[B]			<!-- Afforess Advanced Diplomacy -->
			<bMilitaryTrade>1</bMilitaryTrade>
			<!-- Afforess Advanced Diplomacy -->[/B]
			<UnitClassUpgrades>
				<UnitClassUpgrade>
					<UnitClassUpgradeType>UNITCLASS_CANNON</UnitClassUpgradeType>
					<bUnitClassUpgrade>1</bUnitClassUpgrade>
				</UnitClassUpgrade>
			</UnitClassUpgrades>
			<UnitClassTargets/>

This unit isn't (horse archer):
Code:
			<bSuicide>0</bSuicide>
			<bHiddenNationality>0</bHiddenNationality>
			<bAlwaysHostile>0</bAlwaysHostile>
			<UnitClassUpgrades>
				<UnitClassUpgrade>
					<UnitClassUpgradeType>UNITCLASS_KNIGHT</UnitClassUpgradeType>
					<bUnitClassUpgrade>1</bUnitClassUpgrade>
				</UnitClassUpgrade>
			</UnitClassUpgrades>
			<UnitClassTargets/>
 
I love it when SDK modders expose their changes to XML - it expands the game for real. :king:
 
Back
Top Bottom