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!
———

 
Reply to this topicStart new topic
> 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
   
thatbennyguy
post Jun 22 2012, 04:56 PM
Post #2


Aspiring Indie Game Dev
Group Icon

Group: Revolutionary
Posts: 197
Type: Developer
RM Skill: Undisclosed
Rev Points: 40




Unrelated, but why would you want to spend gold as skill points? Wouldn't that create confusion as to what is skill points and what is gold? If you wanted to have separate entities for both skill points and gold, you could create another window in the menu screen displaying your skill points as separate to gold... but otherwise I would suggest using gold to buy skills? (if they are equal)


__________________________



.

Completed Games:


Games Under Devlopment:
(Recruiting testers, PM me)

I Support:


My Award:
Go to the top of the page
 
+Quote Post
   
LostSamurai
post Jun 22 2012, 08:42 PM
Post #3


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
   
Thallion
post Jun 23 2012, 03:56 AM
Post #4


Level 5
Group Icon

Group: Member
Posts: 68
Type: Scripter
RM Skill: Skilled
Rev Points: 10




This should work.
CODE
$data_system.words.gold = "Skill Points" # put in whatever text you want here

Go to the top of the page
 
+Quote Post
   
LostSamurai
post Jun 23 2012, 07:14 AM
Post #5


Atrius
Group Icon

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




Fantastic. Thank you very much smile.gif


__________________________
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: 22nd May 2013 - 02:18 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker