Posted: Tue Aug 12, 2008 7:50 pm Post subject:
How to make an unholy alliance
Subject description: How to make an unholy alliance
Hi,
does anybody know how to make an unholy alliance. So that the gdi has also the nod construction yard for example.
Does anybody knoe where to change this so that you can start skimish and multiplayer with 2 cinstruction yards?
thank you in advance. QUICK_EDIT
I already tried this an it generally worked but then you get more and more problems for example the veterancy of the other mcvs units didnt work and you have to edit a lot because of requirements of an building in order to build it...
I didnt find a way to get an else requirement for example you have to build a nod or a gdi powerstation for the corresponding barracks... you can change the requirement but you have to choose one.
So I remebered the unholy alliance where you have to 2 bases and now i want to try it this way...
But i couldnt find the files where the starting units are located...
Does anyone knows more? QUICK_EDIT
i would say that what you might have to do is, if there is one, use a code that would make it so that you could build what ever buildings with the same tech lvl buildings.
eg: GDI powerplant/Nod powerplant/Alien power plant.
a code that would say if i have any one of them, then i can build the other things and not need the original ones.
As I recall one of the old .ini files (the one that specified starting units in Generals) still works and you could add an enemy team's MCV in there. _________________ WOL nick: migtybob
Adding another faction´s MCV on start:
Look for the file PlayerTemplate.ini and add it to your mod (there should be some threads on how to do this on the forum, just try the search function). On the PlayerTemplate of the faction you want to edit, look for the line
Code:
StartingBuilding = GDIConstructionYard
then add these lines after it
Code:
StartingUnit0 = NODMCV
StartingUnit1 = AlienMCV
(naturally, when editing Scrin and Nod, you have to add the MCVs of the other factions).
Changing the tech-tree for cross-teching:
This is just an idea I had when reading your question, I haven´t tested it but it will probably work: It should be possible to make prerequisites interchangeable by using the EquivalentTo tag on the prerequisites themselfs. The veteran reinforcement units use this for example to be treated as the stock units, even though they are technically separate objects. "Just" make every building EquivalentTo its equivalents of the other factions. For example, the GDI powerplant code should look like this:
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum