Communications Pack A

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Posts: 170
Joined: Mon May 25, 2015 5:23 pm
Location: Russia

Re: [WIP/1.79-only] Communications Pack A

Post by Rustem » Sun Oct 15, 2017 5:12 am

It is not fixed:

Code: Select all

20:40:27.543 [script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (Oolite Pirate AI 1.80): Unknown expansion key [commsPackA_rebel_continuingAttackThargoid] in string.
20:40:27.543 [script.javaScript.stackTrace]:     template: "[commsPackA_rebel_continuingAttackThargoid]"
[commsPackA_rebel_continuingAttackThargoid] in string.
I got a small patch for this error. In a "descriptions.plist" file paste the following:

Code: Select all

        "commsPackA_generic_continuingAttackThargoid" = ("Focus on the mothership!","Try not to get distracted by the drones. We can pick them up later.","Where is [commsPackA_rebelstate] navy force?","Invasion is broken in my [commsPackA_rebelgroup2] system!","Where is [commsPackA_rebelgroup] pilots? Please assist!","I'm armed for this [commsPackA_codename_greek] wave [oolite_entityClass]!","[commsPackA_vicious_beginningAttackThargoid]");
It is right text?

Perhaps, a simple version:

Code: Select all

	"commsPackA_generic_continuingAttackThargoid" = ("[commsPackA_vicious_beginningAttackThargoid]");
That should eliminate the log file errors.

The part of the comms displace from commsPackA_generic_continuingAttackThargoid to _rebel_continuingAttackThargoid better because rebelgroup is not generic?
Then need edited template commsPackA_rebel_continuingAttackThargoid.

Posts: 84
Joined: Fri Mar 17, 2017 1:49 am

Re: Communications Pack A

Post by cag » Mon Jan 29, 2018 4:16 am

Code: Select all

Warning: Unknown expansion key [commsPackA_pronoun] in string.
    Active script: Oolite Pirate Fighter AI 1.86
    oolite-priorityai.js, line 417:
    				message = expandDescription(template,params);
see line 358 in descriptions.plist, you're missing a '2'. It should read

Code: Select all

...,"I'm on [commsPackA_pronoun2]!",...
"Better to be thought a fool, boy, than to open your trap and remove all doubt." - Grandma [over time, just "Shut your trap... fool"]
"The only stupid questions are the ones you fail to ask." - Dad
How do I...? Nevermind.

Post Reply