Scenerio Goals/Sub Goals

Discussions about modding and share your mods with other players in this forum.
Post Reply
alpha117
Mod Contributor
Mod Contributor
Posts: 219
Joined: Thu Apr 28, 2016 5:20 pm
Has thanked: 20 times
Been thanked: 3 times

Scenerio Goals/Sub Goals

Post by alpha117 »

I'm not sure what I've missed on get the 'subgoals to appear in the 'GOAL/SubGoal' box in game.

I've attached the txt file for the scenario. The only sub goal that appears in game is 'Multinational Conglomerate. If I delete that sub goal, non of the others appear.

Could someone have a look and let me know what I have missed......I'm learning a lot creating a MOD and its very interesting to do after all these years.

Many thanks
Attachments
Coffee Shop changes.rar
(2.22 KiB) Downloaded 6 times
User avatar
anjali
Community Contributor
Community Contributor
Posts: 441
Joined: Tue Nov 03, 2015 9:00 am
Has thanked: 4 times
Been thanked: 17 times

Re: Scenerio Goals/Sub Goals

Post by anjali »

cant open it, says damaged or unknown format ... you using some next century .rar tool?
alpha117
Mod Contributor
Mod Contributor
Posts: 219
Joined: Thu Apr 28, 2016 5:20 pm
Has thanked: 20 times
Been thanked: 3 times

Re: Scenerio Goals/Sub Goals

Post by alpha117 »

try this one
Attachments
Coffee Shop changes.7z
(2.25 KiB) Downloaded 4 times
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 888
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Re: Scenerio Goals/Sub Goals

Post by Stylesjl »

You need to fix these lines:

Goal Available Date=2010-01-01

To:
Goal Available Date=2010

It only accepts a year not a full date.
alpha117
Mod Contributor
Mod Contributor
Posts: 219
Joined: Thu Apr 28, 2016 5:20 pm
Has thanked: 20 times
Been thanked: 3 times

Re: Scenerio Goals/Sub Goals

Post by alpha117 »

Changing the Date to just the year work perfectly...thanks

Where does the 'Goal Description' text appear in game?
What can you have as 'Subgoals values?


[SUBGOAL]
Goal Title=Unlock Newcastle.
Goal Description=After some time, you will unlock a city.
Goal Achieved Text=You have gained access to Newcastle.
Goal Failed Text=You have failed to unlock the next city.
Goal Available Date=1995

[SUBGOAL VALUES]
Number of Controlled Companies=2

[SUBGOAL REWARDS]
Unlock City=Newcastle
alpha117
Mod Contributor
Mod Contributor
Posts: 219
Joined: Thu Apr 28, 2016 5:20 pm
Has thanked: 20 times
Been thanked: 3 times

Re: Scenerio Goals/Sub Goals

Post by alpha117 »

found it

[SUBGOAL]
Goal Title=Unlock Newcastle.
Goal Description=After some time, you will unlock a city.
Goal Achieved Text=You have gained access to Newcastle.
Goal Failed Text=You have failed to unlock the next city.
Goal Available Date=1995

[SUBGOAL VALUES]
Number of product types being produced=9
User avatar
anjali
Community Contributor
Community Contributor
Posts: 441
Joined: Tue Nov 03, 2015 9:00 am
Has thanked: 4 times
Been thanked: 17 times

Re: Scenerio Goals/Sub Goals

Post by anjali »

maybe use

Goal Available Date=2000-01-01 <<< as written above ... full year only in this case date =2000 (means jan 1st 2000)


subgoal values are plenty available you can use instead of just having your 1 company.

check the docs at that link for all available goal/subgoal values
https://www.capitalismlab.com/scripts/script-goals/
Post Reply