Jump to content


Photo

Exclusive Units in map maker.


Best Answer Terminal Velocity, 21 July 2020 - 01:43 PM

I think you would have to edit the rules file to do that.

Go to the full post


  • Please log in to reply
12 replies to this topic

#1 MasterLeaf1

MasterLeaf1
  • Members
  • 89 posts

Posted 21 July 2020 - 04:22 AM

I was planning to make sidestory mission for Yunru. How and when she started creating foehn revolt for china. But after I started wondering there are certain campaign units which is not available in map maker like Heavy Trooper, Gharial old model(TOD) etc... Do i need to do some coding to make them available?? Also how can i get the light brown colour used only in campaign.

Edited by MasterLeaf1, 21 July 2020 - 04:29 AM.


#2 Terminal Velocity

Terminal Velocity

    title available

  • Members
  • 251 posts

Posted 21 July 2020 - 08:06 AM

Those are just different shp/voxels, they don't exist as an actual units.

So you need to go to INI Editor and replace the images for Knightframe,Gharial and Mastodon in this case.

[KNIGHT]

Image=CAPU

UIName=Name:CAPU

 

[GHTNK]

Image=GHTNK2

 

[PROME]

Image=PROME2

 

Edit- Houses,  in Color tab select Brown2.


MO2.0 Ares Port (Beta):

https://drive.google...BIYEYXz7u8KCAMr

My maps:


#3 MasterLeaf1

MasterLeaf1
  • Members
  • 89 posts

Posted 21 July 2020 - 01:01 PM

How can i make brown2 selectable in custom map in lobby



#4 Terminal Velocity

Terminal Velocity

    title available

  • Members
  • 251 posts

Posted 21 July 2020 - 01:43 PM   Best Answer

I think you would have to edit the rules file to do that.


MO2.0 Ares Port (Beta):

https://drive.google...BIYEYXz7u8KCAMr

My maps:


#5 LeonardHug

LeonardHug
  • New Members
  • 3 posts

Posted 22 August 2020 - 06:15 AM

Hello. I am trying to add an Cosmonaut unit to a custom map. I am using this code to unlock a unit to build, but it doesn't work.

[CYCOM]
Owner=USSR,Latin,Chinese,PsiCorps,Headquaters,ScorpionCell
TechLevel=1
Prerequisite=NAHAND
AllowedToStartInMultiplayer=yes

What needs to be done to unlock a unit?



#6 Terminal Velocity

Terminal Velocity

    title available

  • Members
  • 251 posts

Posted 22 August 2020 - 06:38 AM

[CYCOM] is a Cyborg Commando, not a Cosmonaut (LUNR).

Prerequisite.StolenTechs=-1 should do the job in your case.


MO2.0 Ares Port (Beta):

https://drive.google...BIYEYXz7u8KCAMr

My maps:


#7 LeonardHug

LeonardHug
  • New Members
  • 3 posts

Posted 22 August 2020 - 07:16 AM

[CYCOM] is a Cyborg Commando, not a Cosmonaut (LUNR).

Prerequisite.StolenTechs=-1 should do the job in your case.

Thanks, I'll check it out.
I took "CYCOM" from MOFilter. It means there is a mistake in it
gDAtSXAezMo.jpg


#8 Terminal Velocity

Terminal Velocity

    title available

  • Members
  • 251 posts

Posted 22 August 2020 - 07:25 AM

No idea what this MOFilter thing is, you can find the correct ini names in the map editor (place a unit/building somewhere on the map, hover your cursor over it and you'll see it at the bottom in the status bar).

Anyway, in LUNR's case, specifying Owner, TechLevel and Prerequisite should be enough.


MO2.0 Ares Port (Beta):

https://drive.google...BIYEYXz7u8KCAMr

My maps:


#9 LeonardHug

LeonardHug
  • New Members
  • 3 posts

Posted 22 August 2020 - 07:27 AM

Thank you so much. There is also a question: how in a custom map to change the list of units produced by AI?



#10 Terminal Velocity

Terminal Velocity

    title available

  • Members
  • 251 posts

Posted 22 August 2020 - 07:56 AM

Thank you so much. There is also a question: how in a custom map to change the list of units produced by AI?

In short, you'll have to add AI Triggers for that (Edit- AI Triggers in Map Editor).


MO2.0 Ares Port (Beta):

https://drive.google...BIYEYXz7u8KCAMr

My maps:


#11 MasterLeaf1

MasterLeaf1
  • Members
  • 89 posts

Posted 22 August 2020 - 11:58 AM

I figured out everything in MO Editor, The only thing that is confusing is AI Triggers :whathuh:



#12 Nuclear Winter

Nuclear Winter
  • Members
  • 13 posts

Posted 23 August 2020 - 03:24 PM

I figured out everything in MO Editor, The only thing that is confusing is AI Triggers :whathuh:

If you're still curious on AI Triggers, here is a nice guide about creating AI triggers:
https://forums.cncne...riggers-ts-ra2/



#13 MasterLeaf1

MasterLeaf1
  • Members
  • 89 posts

Posted 23 August 2020 - 04:56 PM

Thanks dude. I really needed this.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users