Source Code Project Mantis - FSSCP
View Issue Details
0002622FSSCPgameplaypublic2012-03-04 07:052012-03-06 08:11
Assigned Tokarajorma 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.6.14 
Summary0002622: Select Default Campaign Via Mod.tbl
DescriptionAdds a setting to game_settings.tbl that allows you to specify which campaign should be set for new pilots.

Very useful from mods based on FS2 (which otherwise will start with the main Freespace2 Campaign selected).

I'll probably later add a feature allowing you to remove certain campaigns (if they exist) from the list.
Steps To Reproduce1) Create a game_settings.tbl with the appropriate setting


;; Sets default campaign file the game will look for with new pilots
$Default Campaign File Name: <CampaignName>

2) Run the game and create a new pilot.
TagsNo tags attached.
Attached Filespatch Default_Campaign.patch (4,566) 2012-03-04 07:05

2012-03-04 07:47   
Suggested change karajorma:

strcpy(Default_campaign_file_name, BUILTIN_CAMPAIGN);


strcpy_s(Default_campaign_file_name, BUILTIN_CAMPAIGN);
2012-03-06 08:11   
Fixed in trunk r8586

Issue History
2012-03-04 07:05karajormaNew Issue
2012-03-04 07:05karajormaStatusnew => assigned
2012-03-04 07:05karajormaAssigned To => karajorma
2012-03-04 07:05karajormaFile Added: Default_Campaign.patch
2012-03-04 07:05karajormaStatusassigned => code review
2012-03-04 07:47Echelon9Note Added: 0013380
2012-03-06 08:11Echelon9Note Added: 0013400
2012-03-06 08:11Echelon9Statuscode review => resolved
2012-03-06 08:11Echelon9Fixed in Version => 3.6.14
2012-03-06 08:11Echelon9Resolutionopen => fixed