Author Topic: Forcing the player to pick your mod's campaign  (Read 1679 times)

0 Members and 1 Guest are viewing this topic.

Offline bigchunk1

  • bigchunk1 = Awesome²
  • 29
  • ...and by awesome I mean Jerk!
Forcing the player to pick your mod's campaign
I think you should be able to do this, but I have seen that certain mods haven't. I have made a habbit of going into the campaign room every time I start a new mod and picking the correct campaign.

Is there a way for the modder to save the player from doing this step? I would like to remove the main freespace2 campaign for the list of playable campaigns since it won't run with the given mod files anyways. Anyone know if it's possible?
BP Multi
The Antagonist
Zacam: Uh. No, using an effect is okay. But you are literally using the TECHROOM ani as the weapon effect.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Forcing the player to pick your mod's campaign
If only!
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline bigchunk1

  • bigchunk1 = Awesome²
  • 29
  • ...and by awesome I mean Jerk!
Re: Forcing the player to pick your mod's campaign
Ahahah! I found an evil way around it!

Just name your campaign file freespace2.fc2 and put it in <modname>/data/missions and it replaces the campaign file from the base game when you select the mod.
BP Multi
The Antagonist
Zacam: Uh. No, using an effect is okay. But you are literally using the TECHROOM ani as the weapon effect.

 

Offline LoneKnight

  • 27
  • One does not simply ALT-J into Mordor.
Re: Forcing the player to pick your mod's campaign
Certainly more simple, but in the long run I see it causing more confusion than good.
Burning Heaven

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Forcing the player to pick your mod's campaign
You can name your campaign whatever, that's just the filename!
(´・ω・`)
=============================================================

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Forcing the player to pick your mod's campaign
Yeah but if someone starts your mod when halfway through the main FS2 campaign, bad things will happen. And even when the new pilot file code gets into trunk it will probably still happen. At which point the coders will probably say "Not my fault, you shouldn't have called it that in the first place!"
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Forcing the player to pick your mod's campaign
While this would be handy... I don't know how it could be done in a way that was intuitive and simple.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 
Re: Forcing the player to pick your mod's campaign
mod.tbl would be good for this, with a $Default Campaign: entry. Is mod.tbl still in the coder WIP list, or was it abandoned?

  

Offline Sushi

  • Art Critic
  • 211
Re: Forcing the player to pick your mod's campaign
mod.tbl would be good for this, with a $Default Campaign: entry. Is mod.tbl still in the coder WIP list, or was it abandoned?

I don't think it's ever been on a WIP list, just a TODO list. :)

And yeah, that's probably the best solution.