Mission Architect: Debugging ressource.


BlackLight

 

Posted

The idea of this thread is to report the error messages we get when creating a mission and their solution when we finally figure them out.
This way, architects will save time rather than reinventing the wheel every time...

So, I'll start with a couple of error messages I had this week and, if you guys have more, please post them here.


First of all a word on the use of Word documents.
I like to type the texts and dialogues into word, use the proof reading options and then copy pasting it.
Be aware, however, that this can lead to problem. For some reasons, the game might insert 'phantom characters', characters that do not show up on the screen but still take room and might get the text above the text limit, without you having any way of knowing...


So, here are the two error messages I had:

Field DeathSpeech exceed text limit.
This refer to the text one of my bosses gave upon defeat.
It was above the text limit due to the word bug I mentioned.
I erased it and re-copied it and it worked.

Field Attacker2Speech exceed text limit.
Was the same problem but 'Attacker2Speech' referred to the dialogue of the mobs attacking a defendable object. The second line of dialogue, as you would expect.


So, hopefully, next time you encounter these error messages, you will be able to find and correct the guilty fields more quickly...


 

Posted

I have a similar problem, since I'm using unicode characters to simulate someone speaking an alien language.

I had a text overrun in RewardText, (I think that was what it was called) which is the text displayed on the console when a Captive is freed.

RewardText might apply when glowies are clicked, or hostages are successfully escorted etc, I can't definitively say.

BTW, if I have the field name wrong, please correct me, I'll try to recreate the error when I get home today and update this post if I was in error.


Virtue Server-

MA: (All SFMA, all technically long/very long, but all play quickly)

#200411 "Exploding Planet" (I apologize in advance for the final mission, but in all likelihood, the planet will explode.)

#144416 "Shadow of Grime Alley"

#161003 "You Don't Know Beanstalk, Jack"

 

Posted

A suggestion to you (won't work for unicode) but I've had issues with copy+pasting things from word in the past, specifically when editing HTML on websites. My suggestion is to first paste your copied text into notepad or a similar "text only" program this usually elimates phantom characters and helps weed out font issues created by all the little extra behind the scenes things that copying from word entails. You then copy+paste from notepad and only get the text.


Infinity: Starbright, Little Darkstar, Fusion Meltdown, Thief

 

Posted

[ QUOTE ]
I have a similar problem, since I'm using unicode characters to simulate someone speaking an alien language.

I had a text overrun in RewardText, (I think that was what it was called) which is the text displayed on the console when a Captive is freed.

RewardText might apply when glowies are clicked, or hostages are successfully escorted etc, I can't definitively say.

BTW, if I have the field name wrong, please correct me, I'll try to recreate the error when I get home today and update this post if I was in error.

[/ QUOTE ]


Yes; please, let me know and I'll update the OP.

I was copy/pasting text yesterday and a ' got replaced by a Venus symbol, so unicode is definitively accepted, even if I don't know how it works.