Jump to content


Photo

how to make special units buildable


  • Please log in to reply
14 replies to this topic

#1 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 08 June 2018 - 12:19 AM

hello every one

 

i would like to make some special units ( like space commando , cyborg commando , vanguard , yuri , sam stallion ) to be buildable in for example custom twin bridge map

 

any help would be appreciated



#2 Terminal Velocity

Terminal Velocity
  • Members
  • 138 posts

Posted 08 June 2018 - 08:17 AM

Open the map in editor and go to Edit- INI Editing. Add a new section for a unit.

You'll have to specify the Owner, Prerequisite and TechLevel values.

Just in case, here's the names of houses in MO:

USSR,Latin,Chinese,PsiCorps,Headquaters,ScorpionCell,Europeans,UnitedStates,Pacific,Guild1,Guild2,Guild3

27xkqr7.jpg


Edited by Terminal Velocity, 08 June 2018 - 08:23 AM.

My maps:

Spoiler

#3 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 08 June 2018 - 11:55 AM

Open the map in editor and go to Edit- INI Editing. Add a new section for a unit.

You'll have to specify the Owner, Prerequisite and TechLevel values.

Just in case, here's the names of houses in MO:

USSR,Latin,Chinese,PsiCorps,Headquaters,ScorpionCell,Europeans,UnitedStates,Pacific,Guild1,Guild2,Guild3

27xkqr7.jpg

 

 

thanks for your response ... can you pls be more detailed ? take for example space commando to be buildable for russia



#4 Terminal Velocity

Terminal Velocity
  • Members
  • 138 posts

Posted 08 June 2018 - 01:27 PM

[CBRIS]
Owner=USSR
TechLevel=10
Prerequisite=NAHAND,NATECHR // Soviet Barracks + Palace, change it to whatever you wish
Prerequisite.RequiredTheaters=NEWURBAN  // Change it to the theater of your map

There's a small problem with space commando and some other units: they don't have a cameo.


My maps:

Spoiler

#5 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 08 June 2018 - 05:14 PM

[CBRIS]
Owner=USSR
TechLevel=10
Prerequisite=NAHAND,NATECHR // Soviet Barracks + Palace, change it to whatever you wish
Prerequisite.RequiredTheaters=NEWURBAN  // Change it to the theater of your map

There's a small problem with space commando and some other units: they don't have a cameo.

what is the theater of map ?



#6 Terminal Velocity

Terminal Velocity
  • Members
  • 138 posts

Posted 08 June 2018 - 06:17 PM

The map Theatres assign the tileset that the map uses in game. Like snow, temperate, urban, newurban,desert and lunar. The reason I specified the Prerequisite.RequiredTheaters is because by default the space commando was restricted to the lunar maps only.


Edited by Terminal Velocity, 08 June 2018 - 06:19 PM.

My maps:

Spoiler

#7 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 09 June 2018 - 01:47 AM

The map Theatres assign the tileset that the map uses in game. Like snow, temperate, urban, newurban,desert and lunar. The reason I specified the Prerequisite.RequiredTheaters is because by default the space commando was restricted to the lunar maps only.

thanks a lot my man it worked with temperate

 

ok now how can i enable this ins tech share and ultimate alliance and make boris default for all maps

secondly how do i know the codes of characters like boris is ( CBRIS )  ?

thanks in advance



#8 Terminal Velocity

Terminal Velocity
  • Members
  • 138 posts

Posted 09 June 2018 - 06:10 AM

Second question: Just place that unit on a map, than hover your cursor over it. Look at the status bar at the bottom.

Spoiler

Now, for your first question: that will require you to modify game's files.

Go to Your MO Directory/INI/Map Code and you will see configs for every game mode.

Just open it with a text editor, paste your code somewhere (it will look like my space commando example above,every section should be placed between [ ] ) ,and save the file.


Edited by Terminal Velocity, 09 June 2018 - 06:27 AM.

My maps:

Spoiler

#9 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 09 June 2018 - 01:43 PM

Second question: Just place that unit on a map, than hover your cursor over it. Look at the status bar at the bottom.

Spoiler

Now, for your first question: that will require you to modify game's files.

Go to Your MO Directory/INI/Map Code and you will see configs for every game mode.

Just open it with a text editor, paste your code somewhere (it will look like my space commando example above,every section should be placed between [ ] ) ,and save the file.

like this ??

 

Capture.png



#10 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 09 June 2018 - 01:50 PM

and can i use more than 1 theater for a character ? like

 

Prerequisite.RequiredTheaters=NEWURBAN,temperate,urban,snow



#11 Terminal Velocity

Terminal Velocity
  • Members
  • 138 posts

Posted 09 June 2018 - 02:46 PM

and can i use more than 1 theater for a character ? like

 

Prerequisite.RequiredTheaters=NEWURBAN,temperate,urban,snow

^ Yeah,something like that. Not 100% sure about using multiple theaters, but I think it should work.


My maps:

Spoiler

#12 Handepsilon

Handepsilon

    Mapper and Mix Hacker

  • Members
  • 1,790 posts
  • Location:Indonesia
  •  No, I don't main PsiCorps. I suck at it.

Posted 09 June 2018 - 03:05 PM

Note : I will recommend you to backup the original ini file before you go online


I like gnomes

 

YunruThinkEmoji.png

(Sorry for any double posts, my mobile browser is messed up atm)


#13 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 13 June 2018 - 01:02 AM

sorry to bother

 

but cyborg commando doesnot show up in barracks i did this in the tech share ini

[CYCOM]
Owner=Guild1,Guild2,Guild3
TechLevel=10
Prerequisite=FABARR,FACLDP
Prerequisite.RequiredTheaters=TEMPERATE,SNOW,Urban,Desert,NewUrban
 
whats wrong ?
 
and also paradox engine


#14 Handepsilon

Handepsilon

    Mapper and Mix Hacker

  • Members
  • 1,790 posts
  • Location:Indonesia
  •  No, I don't main PsiCorps. I suck at it.

Posted 13 June 2018 - 02:07 AM

it still has Stolen Tech prerequisite

 

Paradox Engine is very complicated one because the weapons were removed due to many people using ini files to cheat online.

 

Tbh, this is a very sensitive topic. I don't really want to disclose this kind of thing, especially out in the open where many people can see. A lot of variables can be tweaked without causing the game to crash online.


I like gnomes

 

YunruThinkEmoji.png

(Sorry for any double posts, my mobile browser is messed up atm)


#15 shinmarwan

shinmarwan
  • Members
  • 8 posts

Posted 13 June 2018 - 11:24 PM

it still has Stolen Tech prerequisite

 

Paradox Engine is very complicated one because the weapons were removed due to many people using ini files to cheat online.

 

Tbh, this is a very sensitive topic. I don't really want to disclose this kind of thing, especially out in the open where many people can see. A lot of variables can be tweaked without causing the game to crash online.

alright thanks and i am sorry :good:






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users