:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Sat May 30, 2020 8:03 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
New Campaign Mission transition issue
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Lee3y
Cyborg Soldier


Joined: 09 Feb 2018

PostPosted: Tue Feb 25, 2020 4:46 pm    Post subject:  New Campaign Mission transition issue
Subject description: 1st to 2nd mission problem
Reply with quote

Greetings everyone,

I'm pleased to say I have finished creating my 2nd campaign mission for my mod, New Horizons. The new mission ('Pacific Storm') plays well, no issues in game, and upon completion takes you to the correct screen, and (as I only have 2 new missions in total) it then takes you to the credits screen

Similarly for the 1st mission, it plays well in-game, and upon completion it takes you to the correct screen (showing par times etc.), however After you click to proceed (to the 2nd mission) the screen goes black and we have an error!

Both missions can be selected from the campaign menu to be played, but it would be nice to find out what's causing this. Any advice from you guys?

I'm not sure what info to include here, but I shall put some up anyway... I've checked everything I can think of.

From the map files' [Basic] sections:

1st mission;

[Basic]
Name=Dark Dawn
Briefing=Brief:TRN01
NextScenario=nhsov02tmd.map
AltNextScenario=nhsov02tmd.MAP
NewINIFormat=4
CarryOverCap=0
EndOfGame=no
SkipScore=no
OneTimeOnly=no
SkipMapSelect=no
Official=yes
IgnoreGlobalAITriggers=no
TruckCrate=no
TrainCrate=no
Percent=0
Theme=No theme
Player=Russians
Intro=<none>
Brief=NHS01_F00e
Win=<none>
Lose=<none>
Action=<none>
PostScore=<none>
PreMapSelect=<none>
CarryOverMoney=0.000000
TimerInherit=no
FillSilos=no
StartingDropships=0
HomeCell=98
AltHomeCell=99
MultiplayerOnly=0
TiberiumGrowthEnabled=yes
VeinGrowthEnabled=no
IceGrowthEnabled=no
TiberiumDeathToVisceroid=no
FreeRadar=no
InitTime=10000

2nd mission;

[Basic]
Win=<none>
Lose=<none>
Name=Pacific Storm
Brief=NHS01_F00e
Intro=<none>
Theme=No theme
Action=<none>
Player=Russians House
Percent=0
Briefing=Brief:TRN01
GameMode=standard
HomeCell=98
InitTime=10000
Official=yes
EndOfGame=yes
FreeRadar=no
MaxPlayer=8
MinPlayer=2
SkipScore=no
TrainCrate=no
TruckCrate=no
AltHomeCell=99
OneTimeOnly=no
CarryOverCap=0
NewINIFormat=4
NextScenario=
SkipMapSelect=no
CarryOverMoney=0.000000
AltNextScenario=
MultiplayerOnly=0
IceGrowthEnabled=yes
VeinGrowthEnabled=yes
TiberiumGrowthEnabled=yes
IgnoreGlobalAITriggers=no
TiberiumDeathToVisceroid=no

From battlemd.ini;

1=ALLX01
2=ALLX02
3=ALLX03
4=ALLX04
5=ALLX05
6=ALLX06
7=ALLX07
8=ALLX08
9=ALLX09
10=ALLX10
11=ALLX11
12=ALLX12
13=ALL01
14=ALL02
15=ALL03
16=ALL04
17=ALL05
18=ALL06
19=ALL07
20=SOVX01
21=SOVX02
22=SOVX03
23=SOVX04
24=SOVX05
25=SOVX06
26=SOVX07
27=SOVX08
28=SOVX09
29=SOVX10
30=SOVX11
31=SOVX12
32=SOV01
33=SOV02
34=SOV03
35=SOV04
36=SOV05
37=SOV06
38=SOV07
39=NHSOV01
40=NHSOV02
41=Debug

As you can see here my custom missions are at the end before 'Debug', with the game's 4 original campaign missions all preceeding them.

From mapselmd.ini;

; Soviet Progression
[Nod]
Anims=Anims
Sounds=NODSFX
1=SOVX01
2=SOVX02
3=SOVX03
4=SOVX04
5=SOVX05
6=SOVX06
7=SOVX07
8=SOVX08
9=SOVX09
10=SOVX10
11=SOVX11
12=SOVX12
13=SOV01
14=SOV02
15=SOV03
16=SOV04
17=SOV05
18=SOV06
19=SOV07
20=NHSOV01
21=NHSOV02

As you can see, my missions listed at end of the soviet progression list.

Back to top
View user's profile Send private message
Virgil
Rocket Infantry


Joined: 22 Jul 2018

PostPosted: Wed Feb 26, 2020 3:23 am    Post subject: Reply with quote

Have you put the next map to read in mapsel.ini?
i.e. in mapselmd.ini we have

[ALL01]
......
2=ALL02
[ALL02]
......
3=ALL03

Back to top
View user's profile Send private message
G-E
General


Joined: 09 Feb 2015

PostPosted: Wed Feb 26, 2020 4:07 pm    Post subject: Reply with quote

Pretty much every Westwood mission map has incorrect values for NextScenario & AltNextScenario, so I'm not sure they are honored...
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Lee3y
Cyborg Soldier


Joined: 09 Feb 2018

PostPosted: Thu Feb 27, 2020 10:19 pm    Post subject: Reply with quote

Virgil wrote:
Have you put the next map to read in mapsel.ini?
i.e. in mapselmd.ini we have

[ALL01]
......
2=ALL02
[ALL02]
......
3=ALL03


Hi Virgil, apologies for a late response as I've been busy with real life matters. I'm pleased to say that was it! Thank you, I had completely forgotten to add that 1 line ( and of course, that's all it takes!). Good, that means I can include this small fix in my mod's next update, and consider this problem *Solved*.

So for all you people out there making campaign missions, refer to the data I've posted above, and bear in mind this piece as well for reference.

Back to top
View user's profile Send private message
Lee3y
Cyborg Soldier


Joined: 09 Feb 2018

PostPosted: Thu Feb 27, 2020 10:20 pm    Post subject:   Reply with quote

G-E wrote:
Pretty much every Westwood mission map has incorrect values for NextScenario & AltNextScenario, so I'm not sure they are honored...


Hi G-E, thanks for your response also, and yes I am dubious about it being respected too. Honestly I think I'm just filling out those bits for continuity's sake only

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1292s ][ Queries: 10 (0.0215s) ][ Debug on ]