|
|
|
|
|
|
|
River_God
Member
Offline
Posts: 184
|
|
« Reply #22 on: April 30, 2008, 11:31:59 AM » |
|
If you insist. Here are the lines I added (these plus the line shown above):
/*RG*/ if(TheName=="ypAgraFort"){return ("Agra Fort");} if(TheName=="ypStableJapanese"){return ("Stable");} if(TheName=="ypBarracksJapanese"){return ("Barracks");} if(TheName=="ypCastleJapanese"){return ("Castle");} if(TheName=="ypWarAcademy"){return ("War Academy");} if(TheName=="ypCastle"){return ("Castle");} if(TheName=="ypCastleIndians"){return ("Castle"); if(TheName=="ypCaravanserai"){return ("Caravanserai");} if(TheName=="ypBarracksIndian"){return ("Barracks");} -->This is from the realName function
/*RG*/ addXS("trForbidProtounit(p, \"YPDockAsian\");"); /*RG*/ addXS("trForbidProtounit(p, \"ypMonastery\");");
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypMonkJapanese"; /*RG*/ if(rmGetPlayerCiv(i)==civChinese) varx1="ypMonkChinese"; /*RG*/ if(rmGetPlayerCiv(i)==civIndians) varx1="ypMonkIndian"; placeunit(i, spawn, varx1, rmXFractionToMeters(rmPlayerLocXFraction(i)), rmZFractionToMeters(rmPlayerLocZFraction(i))); /*RG if(varx1=="ypMonkJapanese") placeunit(i, spawn, varx1, rmXFractionToMeters(rmPlayerLocXFraction(i)), rmZFractionToMeters(rmPlayerLocZFraction(i))); if(varx1=="ypMonkIndian") placeunit(i, spawn, varx1, rmXFractionToMeters(rmPlayerLocXFraction(i)), rmZFractionToMeters(rmPlayerLocZFraction(i))); if(varx1=="ypMonkChinese") placeunit(i, spawn, "ypMonkDisciple", rmXFractionToMeters(rmPlayerLocXFraction(i)), rmZFractionToMeters(rmPlayerLocZFraction(i))); */ -->This was added with the explorer placement trigger in the player bases
var3 = rmCreateObjectDef("FortI"+i); /*RG*/ varx1="FortFrontier"; rmAddObjectDefToClass(var3, clForts); rmAddObjectDefItem(var3,"HotAirBalloon",1,0.0); rmPlaceObjectDefAtAreaLoc(var3,i,rmAreaID("PlayerBridge"+i+"_1"),1); /*RG*/ if(rmGetPlayerCiv(i)==civIndians) varx1="ypAgraFort"; /*_RG*/ changeunit(""+var3, varx1);
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypStableJapanese";
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypBarracksJapanese";
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypStableJapanese";
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypBarracksJapanese"; /*RG*/ if(rmGetPlayerCiv(i)==civChinese) varx1="ypWarAcademy"; /*RG*/ if(rmGetPlayerCiv(i)==civIndians) varx1="ypBarracksIndian";
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypStableJapanese"; /*RG*/ if(rmGetPlayerCiv(i)==civIndians) varx1="ypCaravanserai"; /*RG*/ if(rmGetPlayerCiv(i)==civChinese) varx1="ypWarAcademy";
/*RG*/ if(rmGetPlayerCiv(i)==civJapanese) varx1="ypCastleJapanese"; /*RG*/ if(rmGetPlayerCiv(i)==civIndians) varx1="ypCastleIndians"; /*RG*/ if(rmGetPlayerCiv(i)==civChinese) varx1="ypCastle";
This I only modified: /*_RG*/ addXS("if(getCiv(p)=="+civAztec+"||getCiv(p)=="+civSioux+"||getCiv(p)=="+civIroquois+"||getCiv(p)=="+civJapanese+") {");
I have a feeling it would be better if you saw the whole thing, if you hadn't noticed, I added /*RG*/ before every line I made so it would be easy to search through what I changed.
|
|
« Last Edit: April 30, 2008, 11:33:49 AM by River_God »
|
Logged
|
"I am not sure why people are so afraid of new ideas, I am afraid of the old ones" :p
|
|
|
|
|
|
|
|
|
|