The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Neko on February 06, 2006, 11:46:38 PM

Title: Can possibly do with events?
Post by: Neko on February 06, 2006, 11:46:38 PM
Hi there. I was thinking of making somthing like the Al bhed thing from Final Fantasy X. Is there a way to make it so when you get the item itll translate the text of anyone who was speaking that certain language? And not translate people who werent talking the language? A script would work too, but events are easier =\
Title: Can possibly do with events?
Post by: blueXx on February 06, 2006, 11:59:13 PM
if item X is possessed then
-message: hi
else
-message: si2927cmau (what the hell is he saying?)

something like that? -.-
Title: Can possibly do with events?
Post by: haloOfTheSun on February 07, 2006, 12:01:18 AM
The Show Message troubleshooting topics are getting slightly more complicated now.  :roll:
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 12:02:25 AM
Well, lets say you talk to some dude. he says "oui csamm pyt"... Then you find a scroll and it teaches that "M" In the language is "L". You can go back to the guy, and when you talk to him, he will now say "oui csall pyt" with the Ls changed, but if you talked to a regular person, the text wouldnt change. ( oui csamm pyt is al bhed for You smell bad =P )

Edit:
Quoteif item X is possessed then
-message: hi
else
-message: si2927cmau (what the hell is he saying?)

something like that? -.-

Kinda, but if it was a long sentence such as "USVK dra lraaca yda dra masuh luugea" that would take sooooooooooooo long to do...
Title: Can possibly do with events?
Post by: BPKS0 on February 07, 2006, 01:44:42 AM
Not if the item was a whole translation book =\
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 01:55:12 AM
Whats the point of having the whole book? XD Wait.. blue, couldnt I make a conditional branch or a common event or somthing saying like:
If Item Blahblah is possessed, then change M to L? Then make it take effect to only the ones I want? You are the master at this crap lol XD
Title: Can possibly do with events?
Post by: blueXx on February 07, 2006, 11:06:37 AM
quite easy, though i am impressed by the question
it's actually rare when someone asks a question that require thinking Oo

ok here is what you do:
make 26 new heroes, one for each english letter
name each of them something like #^s9$ or whatever

in your message do something like:

\n[10]\n[5]

and then make a common parallel process (common event set as parallel trigger, you will need a switch, turn some switch on when the game starts)
and it should look like:

if item X is possessed then
-change hero name(10): h
else
-change hero name(10): #
if item Z is possed then
-change hero name(5): i
else
-change hero name(5): +

and then when you'll talk to the npc it will say
%+
or
h+
or
%i
or
hi

depending on the items
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 03:58:19 PM
Woo Hoo! Takes a little while to do, but it's well worth it! Thanks!\

Edit: I was looking at this, and is there a script or somthing that makes every first letter capatalized or somthing? Because once you get all the scripts and whatnot, itll be all lowercase =\
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 05:11:29 PM
HAHAHAHAHAH Sorry for the double post, but zomg! the lag is amazing! its like "ZOMG LAG"!!! XD its sooooooo slow! is there a way to make this go bye bye???

Btw, it works perfectly! everything gets translated how I want it!
Title: Can possibly do with events?
Post by: blueXx on February 07, 2006, 05:22:05 PM
ok honestly i don't understand how come people say rm can lag..
my pc never lagged even if i had 100 parallels and 300 events and i don't know what else you want me to put in that Xx

it did load the game slower when i used alot of scripts, but that's only until you get to the title screen and then it's fine

i saw there is an anti lag script in rmxp.net , though i can't tell you if it works at all cause like i said, i never faced lag
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 05:24:33 PM
Its odd for me too. I have 4 gb of RAM which is pretty decent, but its not exactly lag, the framerate is just slower. Im doing 26 conditional branches at once, so i can see why it lowers it.. I can send you a stupid demo and you can see what you get if you want =\
Title: Can possibly do with events?
Post by: blueXx on February 07, 2006, 05:26:06 PM
sure.. upload it to mega or zupload and i'll have a look
but honestly i have made events with about 100 branches already and tons of lines i can't understand why would it lag..
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 05:50:57 PM
Sorry it took long lol http://www.megaupload.com/?d=NRKD90YV

Anything yet?
Title: Can possibly do with events?
Post by: blueXx on February 07, 2006, 07:11:29 PM
bah no lags Oo
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 07:14:12 PM
No bad framerate? Nothing? It may be because I had finale, photoshop, WoW, and Everquest up... But. It never lagged with anything else O.o
Title: Can possibly do with events?
Post by: Zeriab on February 07, 2006, 07:47:13 PM
For me it lagged, but I had no bad framerates. Make me think this might be an issue with WinXP Pro SP2 or some other software present (or non-present) on my computer.
I can try looking into a script-solution to it, if you want.
Title: Can possibly do with events?
Post by: blueXx on February 07, 2006, 08:40:20 PM
ok here is a good solution seeing as more than 1 person got lags..
i suppose that if you will add a certain wait (something between 1 and 5 frames) which will now allow the player to notice the messages don't change right away, the lag should be removed.
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 09:08:22 PM
So like.. before every conditional branch where it says to change hero name, put a wait? I dont understand what you are saing =\ and yes I was looking for that anti-lag script, but I couldnt find it anywhere =\
Title: Can possibly do with events?
Post by: Zeriab on February 07, 2006, 09:25:32 PM
There's an anti-lag script by Near Fantastica at dubealex.com:
http://www.dubealex.com/asylum/index.php?showtopic=2555
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 09:44:23 PM
Its screwed up =\ And blue, when Im doing \n[4] and whatnot, it eventually does this.

\n[3]\n[5]\n[45]\n[13] Then it runs out of room, and makes me go one space down.. You saw in the demo.. You think theres any way to fix this?
Title: Can possibly do with events?
Post by: blueXx on February 07, 2006, 09:58:50 PM
as for waits, just finish the entire event with a 2-3frames wait
the reason it lags like that is because it always change 26 names
so putting the 2frames wait will make it only change them once per 2 frames
another way to reduce the lag better is to make everything look like:

if item X is possessed then
-if switch(letter 1)= off then
--switch(letter 1)=on
--change hero(1) name: X
else
-if switch(letter 1) = on then
--switch(letter 1) = off
--change hero(1) name: $

as for the message being too small.. well er.. no, not really, that's how it's like i don't think it's really THAT bad to read something word by word, if you need to translate it then it's only realistic that it will take you time
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 10:14:54 PM
Perfect! No lag at all! Thanks! I think I had the hardest question out there that involved messages =P. So it was lagging because the script was refresing instantly, and putting a 20 frame wait in there let it have a break before each refresh?
Title: Can possibly do with events?
Post by: Zeriab on February 07, 2006, 10:20:02 PM
You could incorporate the wait into the story, because it would be natural to let some time pass before you learned the new letter... Something like that.
Title: Can possibly do with events?
Post by: Neko on February 07, 2006, 10:39:28 PM
Yea. Im just gonna put like a 1 minute wait before every refresh. because Ill be having the scrolls away from towns and whatnot. Thanks for the help you two  :D