Question about making race for MPI

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Question about making race for MPI

Post by Dianoga »

Greetings all. Basically I believe I have what is called a recycler variant right now. I start out with my own recycler and it spawns new units which makes new buildings, etc. Now I play online usually mpi with a buddy or two and we play against either the scions or the isdf. I'm wondering what it would take to be able to play against my units that I've made in a MPI map. No new map, just using the already available ones, just instead of the scions or isdf, the computer starts with the recycler I made. Now I'm guessing there is definitely going to be some work to this which is fine but just curious whether it's something I'm able to accomplish. Thanks for any info!
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Question about making race for MPI

Post by Red Devil »

first, you need a race name:

racenamex.txt, where x == your race identifier, which will be A..Z. check stock or mods for info.

first character of your recycler needs to be that character.

etc...
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Re: Question about making race for MPI

Post by Dianoga »

I have the race name, ultimately I want to make 4 races but for now I have the one I need.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Question about making race for MPI

Post by Nielk1 »

Once you have a race fully functional and self contained, to have the AI use it, you must write AIPs. In this case, you will likely have to extend the existing AIPs. The filenames for said AIPs contain the race letter of the AI race and the human race and the standard name for said AIP set. Some non-stock AIPs are far more generic and only specify the AI race letter as they are written to fight against any race (this works best when very generic provides are used as triggers and targets in the AIP, such as the new VIRTUAL_OBJECT odfs or other variations).

I myself have never made an AIP, RD has, as has TJ. Others have too but most of those AIPs are very simple. RD and TheJamsh have done the most complex recent AIPs. If you could find Wug, you could talk to him, but his AIPs use older methods anyway and I am sure have been edited by others since their initial inclusion in 1.3 .
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Re: Question about making race for MPI

Post by Dianoga »

Thanks Nielk, I'll have to take a look at the AIPs and see if they are anything I can figure out. I'm not any sort of programmer so I'll have to see if it's anything I can handle.
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: Question about making race for MPI

Post by Ded10c »

As far as I'm aware, to make a race playable in IA, you will also need a specific set of race-named objects (can't remember what they are, I've not made a race IA-playable in a long time).
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Re: Question about making race for MPI

Post by Dianoga »

Ok I'll keep that in mind as well, thanks. Just downloaded the aip editor so I'm going to have a look at that.
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Question about making race for MPI

Post by Nielk1 »

Dianoga wrote:Ok I'll keep that in mind as well, thanks. Just downloaded the aip editor so I'm going to have a look at that.
Be warned, the AIP editor does not have new 1.3 functions and will remove unknown AIP lines from files it opens.
User avatar
Dianoga
Rattler
Posts: 56
Joined: Sat Feb 26, 2011 1:00 am

Re: Question about making race for MPI

Post by Dianoga »

Ok good to know thanks. Well I took a quick look at it anyways and the link that Sub posted in the other thread and looks like it is going to take a lot of learning hehe. Also if the editor doesn't have the 1.3 functions, does that make the editor not really usable then?
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Question about making race for MPI

Post by Nielk1 »

Dianoga wrote:Ok good to know thanks. Well I took a quick look at it anyways and the link that Sub posted in the other thread and looks like it is going to take a lot of learning hehe. Also if the editor doesn't have the 1.3 functions, does that make the editor not really usable then?
To start with it might work but finishing with it is a no-no, and basing off other AIPs with it is a no-no. I think RD tried to recompile it with more functions, but he is a novice at programming so I don't know what came of that.
Post Reply