Problems in AMRTS Studio by David

Have modding questions or discovered something new? Post here.
User avatar
{RaheeXF}
Map Maker
Map Maker
Posts: 169
Joined: Tue Jun 15, 2021 6:45 am
Virgin Islands (USA)

Re: Problems in AMRTS Studio by David

Post by {RaheeXF} »

Can you please explain all Condition types or give me a link or file which contains explanations of all condition types?

For example:- What does HaveType condition do and how to write it?
*RaheeXF*
User avatar
TommyCD1
Moderator
Moderator
Posts: 1146
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Problems in AMRTS Studio by David

Post by TommyCD1 »

In the top left corner of the manual, it will say "Technical Reference Manual" Click on that to be taken to where it is all explained.

Although it is outdated and not 100%, what it does have is still accurate and should be suficcient for that you need for now.

https://pandemic.bzscrap.org/dr2/tools/ ... veobj.html
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
User avatar
{RaheeXF}
Map Maker
Map Maker
Posts: 169
Joined: Tue Jun 15, 2021 6:45 am
Virgin Islands (USA)

Re: Problems in AMRTS Studio by David

Post by {RaheeXF} »

Tommy, can you tell me, how to add goals and name the goals like "Finish in under 25 minutes"? Also, where are the goal titles are stored? For example:- #mission.story.goal.S17.1, where is it stored? Anyway, how are you?
*RaheeXF*
User avatar
TommyCD1
Moderator
Moderator
Posts: 1146
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Problems in AMRTS Studio by David

Post by TommyCD1 »

Inside the ingame.x archive there is a file called 'If_game_medalgoals.cfg'. If you copy this file into your mission's working folder, you can then edit it like so to create custom text for your mission.

Code: Select all

    CreateControl("Goal-0", "Client::Debriefing::Goal")
    {
      GoalIndex(0);
      Pos(0, 10);

      CreateControl("Title1", "Static")
      {
        Font("System");
        ColorGroup("Game::Text");
        Geometry("ParentWidth", "ParentHeight");
        Size(-39, 0);
        Text("#missions.story.S05.goal-0");
        Style("Transparent");
      }
    }

    CreateControl("Goal-1", "Client::Debriefing::Goal")
    {
      GoalIndex(1);
      Geometry("Bottom");
      Pos(0, -10);

      CreateControl("Title2", "Static")
      {
        Font("System");
        ColorGroup("Game::Text");
        Geometry("ParentWidth", "ParentHeight");
        Size(-39, 0);
        Text("#missions.story.S05.goal-1");
        Style("Transparent");
      }
    }
You can edit the "Text" parameter to create custom medal goal text, although you will also have to create objectives in order to satisy these goals. This file itself does not determine your goals. It merely tells you what they are, and if you have accomplished them.

All the localized text can be found inside english.dat which is located in the library/langauge folder of your game's directory. Just be aware that editing this file is generally not a good idea, since there is no way to resolve conflicts with others who may have attempted to do so, and also will only affect your own machine unless you distribute your edited file.
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
User avatar
{RaheeXF}
Map Maker
Map Maker
Posts: 169
Joined: Tue Jun 15, 2021 6:45 am
Virgin Islands (USA)

Re: Problems in AMRTS Studio by David

Post by {RaheeXF} »

Thank you for your answer. I have more questions if you don't mind. The questions are:-

1. Why can't I select "wallcin" and zip "wallcin" in livingroom map? Also, this happens with other big objects.
2. How to design minimap using Paint.Net, please make a video if you can.
3. Why trails doesn't work on insect teams/units?
4. How to set a timer of seconds, minutes, and hours?
5. Anyway to enable WallObj() for bwposts in Studio?
6. How to disable fog? (I didn't understand when you were showing in live)
7. How to edit mission names? For example:- #mission.name.S17
8. How can I change Sarge's name to Sarge The Boss or something?
9. How to change brush's size using Alt in Studio?
10. Please explain step by step, how to edit the texts of the goals.
11. How to do an Explosion when a tag of units enters a region?
12. How to add trigger? For example: If Sarge comes in Region24, then do an explosion at Sarge's position.
13. Please make a video about "How to design minimap for maps".

For now, these are the questions. I hope you will answer. Anyway, how are ya?
*If my English is bad, then really sorry for that. I do not live in America or London but I know English*
Last edited by {RaheeXF} on Fri Jun 18, 2021 7:12 am, edited 5 times in total.
*RaheeXF*
User avatar
{RaheeXF}
Map Maker
Map Maker
Posts: 169
Joined: Tue Jun 15, 2021 6:45 am
Virgin Islands (USA)

Re: Problems in AMRTS Studio by David

Post by {RaheeXF} »

I copied the code lines that you gave me and created a new file named if_game_medalgoals.cfg. I did it but it shows an error,

An Error Occured [FATAL]
Control Class [Cilent::Debriefing::Goal] not found

Can you please tell me how to fix it or tell me step by step what to do. Thank you. :blah:
*RaheeXF*
User avatar
TommyCD1
Moderator
Moderator
Posts: 1146
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Problems in AMRTS Studio by David

Post by TommyCD1 »

You have to extract the existing 'if_game_medalgoals.cfg' file from the ingame.x archive and then copy that into the map first, then edit it as shown in the first example. The code doesn't stand on its own, and if you use that by itself, you'll end up deleting critical game data as you've seen.
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
User avatar
{RaheeXF}
Map Maker
Map Maker
Posts: 169
Joined: Tue Jun 15, 2021 6:45 am
Virgin Islands (USA)

Re: Problems in AMRTS Studio by David

Post by {RaheeXF} »

Oh, okay! I have a big question which is, is there any way to make hills all around the (attic) map automaticly?
*RaheeXF*
User avatar
{RaheeXF}
Map Maker
Map Maker
Posts: 169
Joined: Tue Jun 15, 2021 6:45 am
Virgin Islands (USA)

Re: Problems in AMRTS Studio by David

Post by {RaheeXF} »

What the..... My game just stops when I copy your code and edit the Text to "Destroy all mines"! Please just give me a file that you have done before or tell me how to fix this. Please.
*RaheeXF*
User avatar
TommyCD1
Moderator
Moderator
Posts: 1146
Joined: Tue Jun 04, 2013 8:55 am
Location: East Coast
Contact:
United States of America

Re: Problems in AMRTS Studio by David

Post by TommyCD1 »

{RaheeXF} wrote: Fri Jun 18, 2021 7:43 am Oh, okay! I have a big question which is, is there any way to make hills all around the (attic) map automaticly?
No. Since the current studio does not support the console editor, so it cannot import heightmaps easily, the best you can do is to simply create the mountains once, then save that map as a template, and then load that template when you want to make a new map with hills.
{RaheeXF} wrote: Fri Jun 18, 2021 8:54 am What the..... My game just stops when I copy your code and edit the Text to "Destroy all mines"! Please just give me a file that you have done before or tell me how to fix this. Please.
The code I posted is not complete. It is only there to highlight what edit you need to make to the real file. The if_game_medalgoals.cfg file (which I have attatched) can be found inside the ingame.x archive. Take it from this post or from there, and then find the code chunk I posted from before and edit it to match.
Attachments
if_game_medalgoals.zip
(1.32 KiB) Downloaded 112 times
if_game_medalgoals.zip
(1.32 KiB) Downloaded 112 times
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right? No.
Image
"Can we order a pizza?"
GameRanger ID: 913974
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests