MPI Map Conversions

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MPI Map Conversions

Post by MrTwosheds » Fri Apr 25, 2014 10:01 pm

Hmm, turretEnemy3 and 4 seem to work in mpi too.
I used to know all this stuff.
1st test on mpi fever. Result: Mr2's lame noob butt on a plate :)

what was the form of the mpic_???? unit definitions? ie both races hmmm mpic_ivtank_fvtank ?
Probably not a good idea to use them, in case it goes funny with mods.
The Silence continues. The War Of Lies has no end.

User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: MPI Map Conversions

Post by Red Spot » Fri Apr 25, 2014 11:09 pm

There is a way to use generic pathpoints, but I am not sure if the following format is correct.
mpic_*vturret

Something like that forces the dll to try and use a unit for the used AI race.
But I advice you to search the modlogs before actually using it .. :mrgreen:

User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: MPI Map Conversions

Post by Red Devil » Sat Apr 26, 2014 12:09 am

weird, they are not specified in the code; preplaced, maybe?

Also redid the mpic*/mpih* pathpoint code, used between IA, MPI
DLLs. It can support only one item, e.g. a name of "mpic1_ivturr", or
the more traditional "mpic1_fvturr_ivturr". If it starts with
mpic/mpih, it checks the ODF(s) specified, and builds them only if the
race matches the current cpu/human team. Alternatively, if it starts
with mpiC/mpiH (note the capitalization!), it replaces the first
character of the ODF(s) [note the pural!] with the current race of the
team, and builds the object(s). This allows you to do something like
"mpiC1_*vturr", which will build a CPU turret of the current CPU race,
no matter what the CPU race is. [NM]
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA

User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MPI Map Conversions

Post by MrTwosheds » Sat Apr 26, 2014 1:18 am

weird, they are not specified in the code; preplaced, maybe?
I don't know it all gets a bit confusing what with turrets spawning at gtow points and moving to hold positions as well.
They are not preplaced.
I think the "mpiC1_*vturr" is probably the thing to use, it will work ok as long as modders use the standard naming conventions.
The Silence continues. The War Of Lies has no end.

User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: MPI Map Conversions

Post by Red Devil » Sat Apr 26, 2014 2:37 am

it probably does that since, unlike spires, gtows are not self-powered.

BuildStartingVehicle(m_CPUTeamNumber, m_CPUTeamRace, "*bspir", "*vturr", "gtow2");
BuildStartingVehicle(m_CPUTeamNumber, m_CPUTeamRace, "*bspir", "*vturr", "gtow3");
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA

User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: MPI Map Conversions

Post by Red Devil » Sat Apr 26, 2014 7:27 am

linked to some more mpi map conversions in the first post.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA

User avatar
AI_Unit
Thunderbolt
Posts: 186
Joined: Fri Mar 30, 2012 11:53 pm
Location: Mire, negotiating with Scions.
Contact:

Re: MPI Map Conversions

Post by AI_Unit » Mon Apr 28, 2014 5:16 pm

I assume these maps also contain the 1.3 path points for AI assault towers and anti-air?

- Edit NVM I read previous posts.

Do you mind if I use these in my mod?
Current Mod: AI's Expansion Pack

AI_Unit was here.

User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MPI Map Conversions

Post by MrTwosheds » Mon Apr 28, 2014 6:44 pm

It seems there is a need to add some custom units, specifically fvartl with poppers and laser poppers. maybe even a cpu only one with gas too.
Scion cpu team have no air defense in their stock state other than fvturr's.
The Silence continues. The War Of Lies has no end.

User avatar
AI_Unit
Thunderbolt
Posts: 186
Joined: Fri Mar 30, 2012 11:53 pm
Location: Mire, negotiating with Scions.
Contact:

Re: MPI Map Conversions

Post by AI_Unit » Mon Apr 28, 2014 6:55 pm

MrTwosheds wrote:It seems there is a need to add some custom units, specifically fvartl with poppers and laser poppers. maybe even a cpu only one with gas too.
Scion cpu team have no air defense in their stock state other than fvturr's.
Scion CPU's can start with Scion Rocket Towers if the Path is found by the DLL.
Current Mod: AI's Expansion Pack

AI_Unit was here.

User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MPI Map Conversions

Post by MrTwosheds » Mon Apr 28, 2014 7:02 pm

Yes. But I was trying to do these maps with just the traditional stock units and I notice that there are no fvartl variants.
There is an ivrcktaa, an ISDF rocket tank with hornet.
Just to give a cpu base a basic defense rather than the GH style fortress.
The Silence continues. The War Of Lies has no end.

User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: MPI Map Conversions

Post by Red Spot » Mon Apr 28, 2014 7:30 pm

Not only that, the tower is a 'works untill destroyed' defensive feature and wont be rebuild while the AI-ISDF will rebuild lost AA-Rtanks. Not even mentioning its other limitations.

User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: MPI Map Conversions

Post by MrTwosheds » Mon Apr 28, 2014 7:35 pm

It will not rebuild ivrcktaa the aip does not build these. It certainly won't park them on top of mountains. :) And it won't send them off to attack.
I'm not trying to build massive defenses, just give the cpu a limited defense to start off with.
The Silence continues. The War Of Lies has no end.

User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: MPI Map Conversions

Post by Red Devil » Mon Apr 28, 2014 7:43 pm

good catch; i have them in the base map, but hadn't finished copying the mpic/mpiC/mpih/mpiH path points to the rest of the maps yet. :-/ should have left a note for myself after i took a break from it. i think i'll leave the gh path points out for now, though (at least on the small maps).

i've made the isdf half of the gh aip's so far, so i'll be sure to add some gh scion units.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA

User avatar
AI_Unit
Thunderbolt
Posts: 186
Joined: Fri Mar 30, 2012 11:53 pm
Location: Mire, negotiating with Scions.
Contact:

Re: MPI Map Conversions

Post by AI_Unit » Mon Apr 28, 2014 8:08 pm

Just use the Hold Priority? I'm sure it will re-build if it's missing a defensive unit. + If you're converting maps, you can put the necessary path point in for the hold plan :P
Current Mod: AI's Expansion Pack

AI_Unit was here.

User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: MPI Map Conversions

Post by Red Devil » Mon Apr 28, 2014 8:16 pm

hold priority? saw the missing path points in logs h-b sent me.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA

Post Reply