• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help making language/text speed system

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
Hi guys!

First of all: Setting language.

I'm making an RPG (Sort of Advanced-Snes-RPG) where the NPC's dialog takes position in the multiboard, but i'm from Venezuela, and i'd like to make the chat string option like "-español" to set all the text to the spanish one (I'll guess all these would have to be in a variable array, and each conversation would have to request that value from the array, BTW, i know nothing about variables and setting them onto triggers :ogre_hurrhurr:) Obviously, i would have to write all of them in both languages, but I can do it by updating versions.

Second: Text speed

I've implemented a multiboard chat system, there's a row for what the player says, and a row for what other units says, the thing is:

- It's impossible to set the perfect text speed for everyone, because some read faster than others. This is why I'd like to set a Chat String Command that automatically sets the "Action-Wait" duration during conversations to that value.

BUT <- REALLY BIG BUT

- Some messages are longer than others, and lacks of "reality" if the Hero says "Yes", and there's 4 seconds wait time for the other unit to answer, just because its the "Player set text-duration" so, i'd like to:

----- Trigger/Variable to detect quantity of characters in a multiboard text, and set a time duration (per character) to the consequent "Action-Wait" action, so i would only have to set this "Time-per-character" duration to a fixed-universal one, or even better, a set-able one.

OR

----- Store all LONG messages into an array, and all SHORT messages into another array, set fixed duration for each one, and make the "Action-Wait" Trigger-Action to last that value (That, why not?, could also be set by player via -long 5 / -short 3

OR (This is the most AWESOME and easy one, I think)

----- Set a character on the Keyboard (Lets say, 'A' or 'Esc') to activate the next message. No action would be set by the player, since it's paused and can't attack, buy, use item, sell, walk, etc. I would just have to add a 'Wait" action that gets to 0 when 'A' or 'Esc' is pressed, or something like that. This is the most Console-RPG-like function. Also, i think it's possible.

ALSO

------ The next part needs the map to be played to be understood.

I need to change what the unit says, for example:

- The first lady (to the left) answers: Talk to my syster.
- The syster (to the right) says some other stuff, and in the end says "Ask to her (The first lady)"
- Here i need to deactivate the first message given by the first lady, and activate the second, otherwise, would repeat the first one.

The chat is activated via "Unit sells an item", the Hero is the "Buying unit", and the NPC is the "Selling unit", and Item being sold is a Dummy Rune

---- TO FIX THIS

I just though on adding "Talk 1", "Talk 2", "Talk 3" and just change the condition to the Item that's being used. Everyone could Re-talk1, when it's suposeed to use "Talk2" to follow the dialog, but I think i can live with that.

The other way is via "Turn on" "Turn Off" but i would have to make several triggers for each unit, i think, i don't know :) Or just a big one with a lot of -If/Then/Else :).

-------- CONSIDERATIONS

I just stopped doing the dialogs because i wan't to use the best system from the beginning, and not having to make ultra modifications to another versions.

Also, the map has just started, as you can see in the map (there's nothing xD) but I'll do it later, i'm just setting the in-game constants and systems to make the terrain and quests and items and skills later.

----------- TO FINISH

I love you for reading all this.
(I'll love you even more if you answer constructively)
I'll give credits to the person(s) who helps me on the making of this system

------------- BTW

I'd like to lock the cam to the (Buying unit) wich is also (Paused) and unlock the cam when the Dialog ends (Unit is unpaused)

------------ AND ALSO

I love the way this is going :)

EDIT: Lol, map adding. If someone sees a bad trigger, or has a better suggestion, please let me know :)
 

Attachments

  • Santi 2.w3x
    335 KB · Views: 41
Last edited:
Status
Not open for further replies.
Top