Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

> Changing in game vocabulary (solved), Via script or eventing, is it possible?
LostSamurai
post Jun 22 2012, 07:37 AM
Post #1


Atrius
Group Icon

Group: Revolutionary
Posts: 144
Type: Musician
RM Skill: Advanced




Hello,

I was wondering if it is possible to modify the vocabulary section mid game via script or eventing? Specifically I would like to be able to change the name of currency from "Gold" to "Skill Points," and back from "Skill Points" to "Gold." during certain events mid game (ie: when the player goes to the skill shop)

Is this possible? I feel like it must be, but I do not lack the scripting skills to make it happen.

Please help smile.gif

This post has been edited by LostSamurai: Jun 23 2012, 07:14 AM
Attached File(s)
Attached File  Vocabulary.png ( 8.9K ) Number of downloads: 12
 


__________________________
Oh dear... it seems I may have one more project left in me before I retire... more info soon.

My Website

Ikode: The World of Infinity
Ikode 2: The Supreme Dragon
Ikode 3: Broken Mirror

The Two Moons (Joke RPG)
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
LostSamurai
post Jun 22 2012, 08:42 PM
Post #2


Atrius
Group Icon

Group: Revolutionary
Posts: 144
Type: Musician
RM Skill: Advanced




The player is technically not spending gold as skill points. I have "skill points" stored as a variable, which I swap out with the gold when I use the skill shop. The player's gold gets stored in a variable temporarily and their "money" becomes equal to the skill points variable for the sake of using the skill shop script that I have, which calls for "spending gold to buy skills." Once the script ends, your remaining skill points are stored in a variable again and the player's money is restored. They are two separate entities, but because of the script that I am using, they both call for occasional use of the "Gold" slot. Therefore, I want to be able to change the word "Gold" to "Skill Points" so the player isn't confused.

Like this:
Money -> Gold Variable
Skill Points Variable -> Money
Open Skill Shop
Money -> Skill Points Variable
Gold Variable -> Money

I've done something similar to this before, with the casinos in my games. There was an Item called game tokens in Ikode 1 and a variable called casino points in Ikode 3 and I had shops which exclusively used those currencies. However, those shops also called those currencies "Gold." I never figured out how to fix that, I really want to do so.

It might not make sense, but it is tested and it works. The only thing that's missing is the ability to call gold "Skill Points" at certain times.

This post has been edited by LostSamurai: Jun 22 2012, 08:50 PM


__________________________
Oh dear... it seems I may have one more project left in me before I retire... more info soon.

My Website

Ikode: The World of Infinity
Ikode 2: The Supreme Dragon
Ikode 3: Broken Mirror

The Two Moons (Joke RPG)
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 08:23 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker