 |
|  |
 |
|
sadistiq
|
|
I've been playing this game for a while now and I'm getting pretty bored of building a massive empire and crushing the Mexican's warriors with my tanks. I know there's a way to modify the game to do things you want. I can barely operate a microwave.
If any one of you genius modifier's could help me out, all I really want to do is limit the technology to infantry, cannon, cavalry, ship of the line, ironclad, carack, and spy perhaps, sort of a civil war type deal.
Also I'd like to disable the wonders. I think they are useless in a game. The first time they were fun to watch the little movies, but now they just prevent me from being equal to enemy civs: either they have all of them, or I do.
I know there's probably a way to do this, so if anyone knows how and wanted to tell me I'd be really grateful .
|
|
|  |
 |
|
sadistiq
|
|
Thanks alot. One more idiot question, which is completly unrelated: when ever loading a map from the editor in game I crash back to the desktop. Only on downloaded maps though. Perhaps it's just my computer, but I was wondering if anyone had any insight into the matter.
|
|
|  |
 |
|
sadistiq
|
|
exactly what i thought at first. so i went through the entire map and erased all of the ruins ( i hate those anyway ). the ai is building more than just one's they've found though. they have 12 artillery units fortified in their cities, machine gunners coming and filling my entire 3rd corps full of lead. this is vexing i realize, but then again that's nothing new for me!
|
|
|  |
 |
|
Immortal Wombat
|
 |
in perpetuity
Dec 2000 time: 05:14
|
|
Do you want the techs restricted, or the allowable units restricted.
For now, I will assume you want to be able to get more advanced buildings and techs, so this is how to disable just the units.
Open scenario.slc, and add to it :
code:
void_f Setupunits (){
int_t POW_TYPE[];
int_t ForbiddenUnitNumber;
ForbiddenUnit[0] = UnitDB(UNIT_ARTILLERY);
ForbiddenUnit[1] = UnitDB(UNIT_MACHINE_GUNNER);
ForbiddenUnit[2] = UnitDB(UNIT_FASCIST);
ForbiddenUnit[3] = UnitDB(UNIT_WAR_WALKER);
ForbiddenUnit[4] = UnitDB(UNIT_TANK);
ForbiddenUnit[5] = UnitDB(UNIT_FUSION_TANK);
ForbiddenUnit[6] = UnitDB(UNIT_ECO_WARRIOR);
ForbiddenUnit[7] = UnitDB(UNIT_HOVER_INFANTRY);
ForbiddenUnitNumber = 8;
}
int_f mod_CanCityBuildUnit(city_t theCity, int_t theUnit)
{
city_t tmpCity;
unit_t tmpUnit;
tmpCity = theCity;
tmpUnit = theUnit;
SetupUnits();
for(i = 0; i < ForbiddenUnitNumber; i = i + 1){
if(tmpUnit == ForbiddenUnit[i]){
return 0;
}
else{
return 1;
}
}
}
Note, this is untried, untested, and incomplete!
You will need to fill in all the ForbiddenUnits, following the pattern, until all the forbidden units are listed, then count how many you have, and in the line
code:
ForbiddenUnitNumber = 8;
change 8 to the number of forbidden units.
This should stop everyone from building the listed units... Be aware there are probably simpler ways of doing this, but I don't know how.
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|