Actor names in Quest Script
#1
Hey everyone! sorry for being such a burden and posting so much. I have Game Guy's Quest Log script (I love it mainly because of its simplicity). All quest ID's, names and whatnot are made with strings. I want to make "personal quests" that give players a chance to delve deeper into the characters, kinda like KOTOR. Problem is I have no idea how to make the actor's name show up. Since you can edit the actor's names in the game, I can't just write the actor's name as a string. Any help is appreciated!

[Image: script_zpszme2bmme.png]
Reply }
#2
The problem (or solution) is sorta complex. You see, the default message system has a special mechanism to substitute a combination of letters and symbols for the name of the hero. That combination being \n[1] (or suitable) to use the name(n) of actor (1). If such a mechanism could be added to the system that displays THIS stuff, you're good to go.

I take it you're allowing the player to change names of their characters, otherwise you wouldn't need a method to have the names be dynamic in the quests list.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#3
Yes, the player can change the actor's names, that's the problem. I don't want to take that away. I've thought about, instead of using the actual names in the Quest script, use nicknames. I wanted to use the actual names, but I'll go with whatever works. In the game every character has a backstory, and if you complete it, they will trust you more. It's a lot like Mass Effect's loyalty system.
Reply }
#4
okay, so basically, even though you know your main character, is say, Actor 1...

and you know that game actor 2 is going to be involved for these 10 quests,

and game actor 3 will be for those ten quests...

You might go into the quest itself... and where it say say something like

"It seems like Gloria is down, You DO know she likes blueberries"
and if Gloria is Actor 3, you can go

"It seems like "+$game_actors[3].name+" is down, you know she likes blueberries"

Now no matter what the player names Actor 3... you can see the difference

"It seems like Hjelgen Stormthrower is down, you know she likes blueberries"

Now, of course, if you have a GUY in that slot, that might complicate things, but for gender-locked characters, you should be ok.


Did that help? There's a lot of ways in scripts like this to get tons of stuff in those returns. DerVVulfman has some of them in this thread:
http://save-point.org/thread-2920.html
[Image: AVvXsEga1vIr5Rx3FkoFbGo1OoMJAqgq6TeqcbpF...L3AWg=s752]

BLOG: JayVinci.blogspot.com
FORUM COMING SOON
Currently working on:
Ambitions: RPG Developer Bakin
Heart of Vox: RPG Developer Bakin
Reply }
#5
(03-03-2017, 06:14 PM)JayRay Wrote: okay, so basically, even though you know your main character, is say, Actor 1...

and you know that game actor 2 is going to be involved for these 10 quests,

and game actor 3 will be for those ten quests...

You might go into the quest itself... and where it say say something like

"It seems like Gloria is down, You DO know she likes blueberries"
and if Gloria is Actor 3, you can go

"It seems like "+$game_actors[3].name+" is down, you know she likes blueberries"

Now no matter what the player names Actor 3... you can see the difference

"It seems like Hjelgen Stormthrower is down, you know she likes blueberries"

Now, of course, if you have a GUY in that slot, that might complicate things, but for gender-locked characters, you should be ok.


Did that help? There's a lot of ways in scripts like this to get tons of stuff in those returns. DerVVulfman has some of them in this thread:
http://save-point.org/thread-2920.html

Works like a charm. I got a syntax error at first, but I put the "+$game_actors[3].name+" in between two strings, so it looks like:

   when 13 then return "" +$game_actors[2].name+ ""

I don't think it's gonna cause any errors. I tested it out by changing the actor's name a few times and each time it displayed it. Thank you! You guys rock!
Reply }
#6
WOW! I actuallygave a good solid advice that worked? in RMXP? (actually legitimately shocked!)

Hey, I'm glad you got it to work... and yeah, hope everything works well for you.
[Image: AVvXsEga1vIr5Rx3FkoFbGo1OoMJAqgq6TeqcbpF...L3AWg=s752]

BLOG: JayVinci.blogspot.com
FORUM COMING SOON
Currently working on:
Ambitions: RPG Developer Bakin
Heart of Vox: RPG Developer Bakin
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 64 11-20-2024, 03:09 AM
Last Post: JayRay
   Personal graph by actor zlsl 4 4,968 10-23-2021, 06:43 AM
Last Post: zlsl
   Script compatibility help Lord Vectra 3 4,605 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,854 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Refreshing original skills names Whisper 2 5,033 05-31-2020, 04:35 PM
Last Post: Whisper
   "Wait" in the script Whisper 13 16,170 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 16,448 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Handling very long Item Names Mel 4 8,240 09-24-2018, 06:37 PM
Last Post: Mel
   Help iwth script (RGSS Player crash) Whisper 3 8,534 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 10,219 06-11-2017, 04:43 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)