Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Problem with string tables (maybe a bug?)  (Read 3968 times)

0 Members and 1 Guest are viewing this topic.

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Problem with string tables (maybe a bug?)
« on: May 21, 2003, 08:37:21 AM »

When I use a long identifier tag, say:

Code: [Select]
actor.Talk("/Hi, I'm Johnny Knoxville, welcome to Jackass.../Hi, I'm Johnny Knoxville, welcome to Jackass...");

The text appears a lot upper over the head of the actor than without using the identifier. In fact, it happends just like if you has added the same quantity of blank spaces as the identifier, after the text,just like this:

Code: [Select]
actor.Talk("Hi, I'm Johnny Knoxville, welcome to Jackass...                                               ");[/
So I can't use string tables, because I don't like non self-explicative identifiers like molly001, wich are short and not represent any problem at all, but are hard to mantain as the game grow up.

Is this a bug or, as ever, is only me?  ;)

Sorry for my crappy english, I hope that you can understand everything. :-[
Logged

Click here to sign my sig!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Problem with string tables (maybe a bug?)
« Reply #1 on: May 22, 2003, 12:25:09 PM »

Quote
Is this a bug or, as ever, is only me?  
It seems to be a bug, it shouldn't do that :-( I'll test it.


Quote
I don't like non self-explicative identifiers like molly001, wich are short and not represent any problem at all, but are hard to mantain as the game grow up.
Well, yor approach isn't ideal neither, I'm afraid. The identifiers should be short, mainly for performance reasons, also duplicating the string like this complicates the source code maintaining/readibility too.
You are right about the ID's, but I'm working on improving the string table support. I have a string tale editor under development. I'm writing it in C# by the way, which means 1) it proceeds slowly, 'coz I'm still learning the language ;)  2) the edior will require .NET framework installed to run (I hope no one's gonna accuse me of "relying on technology" again :))
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re:Problem with string tables (maybe a bug?)
« Reply #2 on: May 22, 2003, 12:43:10 PM »

oh no! I have Visual Studio 6.0... Well... I think it's time to update  ;D
Logged

Click here to sign my sig!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Problem with string tables (maybe a bug?)
« Reply #3 on: May 22, 2003, 01:45:37 PM »

You'll only need to install the .NET framework runtime. It shouldn't be a problem, except for the download size (25 megs, I think) :-\
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re:Problem with string tables (maybe a bug?)
« Reply #4 on: May 23, 2003, 08:28:14 AM »

cool. Anyway better update it all  ;D
Logged

Click here to sign my sig!
 

Page created in 0.036 seconds with 20 queries.