Aller au contenu

Photo

[Resolved] Background Strings (Need help...)


  • Veuillez vous connecter pour répondre
15 réponses à ce sujet

#1
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
As the title implies, I'm working with the backgrounds 2da files. I've read on the wiki about how the strings in the TLK have to be in a certain range to avoid crashes. I've defined new strings within that range for the 2da, and added the strings to the 2da. Export all character generation/TLK stuff. The name and description is now... blank.

Anyone able to fix this, or otherwise get custom backgrounds to work properly?

Modifié par jackkel dragon, 02 octobre 2010 - 04:10 .


#2
Proleric

Proleric
  • Members
  • 2 346 messages
You need to export your Talk Table. Open the string editor, then Tools > Export > Export Talk Table.

The custom background tutorial works fine.

Modifié par Proleric1, 28 septembre 2010 - 06:33 .


#3
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
My computer continues to flick me off. Is there something I need to change if I'm only using certain races and classes? I'll try something out, but just exporting the TLK didn't help me.

#4
Proleric

Proleric
  • Members
  • 2 346 messages
The 2DA files are very picky about having exactly the same race-class-background combinations in each table, no more and no less. Posting them might help. Also, IIRC there was a recent thread about how to exclude a class altogether.

P.S. If anyone has a computer that doesn't flick them off, let me know where I can buy one!

Modifié par Proleric1, 29 septembre 2010 - 06:57 .


#5
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
I'll post the .xls files and .gda files somewhere and link to them. I really can't see what I'm doing wrong...

Edit: Here's the link: http://social.biowar...ct_file_id=6570
(It's on my "Scars of War" project page.)

I'm only using the human race and rogue class, while trying to change a background description and name. (And default names.)

... Is it a problem that I'm not actually using IDs 1-4? Should I have started with ID 1 and blanked out 2-5 (to erase the other backgrounds)?

Modifié par jackkel dragon, 29 septembre 2010 - 08:02 .


#6
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages

Proleric1 wrote...

P.S. If anyone has a computer that doesn't flick them off, let me know where I can buy one!


I'd pay a fortune just to find out where they are hidden. I've had two IE freezes in the past hour...

#7
Proleric

Proleric
  • Members
  • 2 346 messages
There's a security problem with your link. I can't see any files on your project, either, so you may need to authorise access to them.

#8
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
Ah, sorry. It should be visible to you now.

#9
Proleric

Proleric
  • Members
  • 2 346 messages
I'm not sure whether this will solve the problem, but I notice the following:

Your backgrounds sheet has entries in NameStrref, DescStrref and TooltipStrref, which are shown as **** in the tutorial.

Your new background is number 5, with numbers 1-4 unused. In the tutorial, the new backgrounds have low numbers, so that the unused ones come afterwards - not sure if this matters. Obviously, that would involve a lot of changes, but maybe something to try.

Worth double-checking that you have no other mods installed and that both of the packages override folders are empty.

I have a nagging feeling that someone posted about issues with removing a race or class completely, but I can't find the thread.

#10
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
For the first sheet, I originally had those lines blank (****). They were used in the default campaign, so I tried them out. They don't seem to affect anything... (so I'll just blank them out again.)

I'm going to check my mods again. I un-installed most of them before starting work, but I may have left something floating around.

As for IDs, I'll move the background back to 1. Maybe that's the problem, and even if it isn't I should just start at 1...

As for removing classes, never set a custom chargen script's classes available constant lower than 3. I'm still trying to figure out how DAO double CTDed in a span of 5 seconds... (I fixed it by going back to 3.)

#11
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
All right, still nothing. I removed the extra strrefs in the first .gda and checked my mods. I moved all the references to my custom background to ID 1. Everything else is starting to work except custom background names and description.



I'm a bit stumped...

#12
Proleric

Proleric
  • Members
  • 2 346 messages
You could use the GetTlkTableString function to verify that the game can see your custom talk table entries, and GetM2DAInt to check that it's picking up the correct string reference in the first place.

You mentioned a custom chargen script - have you tried using the default script?

#13
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
I'll try the special functions when I get back to the toolset tomorrow.



As for my custom script, I actually had to remove it temporarily to check something else. It doesn't seem to be the problem.

#14
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages
I've isolated the problem. Apparently the toolset doesn't like the ~100000000 range, as all my strrefs were automatically set at the same (empty) spot. I couldn't find any OC strrefs at ~93750, so I used those and they work like a charm.

Thanks for all the help. I'll bet that as soon as I set this "resolved" in a few minutes, something else will go wrong. But that's what the forums are for, right?

Again, thanks for the help Proleric. Especially those TLK and StrRef functions; those should come in handy.

#15
Proleric

Proleric
  • Members
  • 2 346 messages
I'm delighted you solved the problem, but also mystified, as I'm using 100000001 onwards without difficulty. I did have to change my module's string range temporarily in order to force the string editor to make those strings.

#16
jackkel dragon

jackkel dragon
  • Members
  • 2 047 messages

Proleric1 wrote...

I'm delighted you solved the problem, but also mystified, as I'm using 100000001 onwards without difficulty. I did have to change my module's string range temporarily in order to force the string editor to make those strings.


Strange... I also mucked with the string range and now have 3-4 ranges. Posted Image

I wonder why the game wouldn't read my initial strings...