Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Hellfire Dragon on October 28, 2008, 02:33:40 pm

Title: Changing System names
Post by: Hellfire Dragon on October 28, 2008, 02:33:40 pm
I don't know if you need a new script or if there is a way to do it with a simple call script command but I need a way to change the system names in the database during the game. So for example I could change the name of the currency or change what SP is called etc,. Is there a way to do it? or will someone make a script for it?
Title: Re: Changing System names
Post by: blibla48 on October 28, 2008, 02:43:06 pm
Dude just go to database > system > words and change the names like sp to mp or anything in the like
Title: Re: Changing System names
Post by: Satoh on October 28, 2008, 02:54:01 pm
Quote from: Hellfire Dragon on October 28, 2008, 02:33:40 pmI need a way to change the system names in the database during the game.


Try calling this
$data_system.words.(item, sp, hp, etc...) = 'Your NEW name here'


I don't know if that will work or not, but it's how I'd try it.
Title: Re: Changing System names
Post by: Blizzard on October 28, 2008, 02:57:42 pm
If you change it during the game, it will be reset when you close and run the game again. As Satoh said, you can access the stuff with $data_system.words, i.e.

$data_system.words.sp = 'MP'


A possible way would be a parallel process that changes it all the time when you turn on a switch.

Title: Re: Changing System names
Post by: Hellfire Dragon on October 28, 2008, 03:22:54 pm
cool, thanks for the help
Title: Re: Changing System names
Post by: Satoh on October 28, 2008, 03:49:43 pm
Awesome! I did something right! XD;
Title: Re: Changing System names
Post by: Hellfire Dragon on October 28, 2008, 04:09:56 pm
lol, actually I'm looking for something else... I need a way to have vehicles but not just changing the graphic and speed but I need to have the vehicle being able to fight, being a seperate actor, say getting into a robot or something. My main problem is trying to make the event appear when you get out, but, em... it's kinda confusing I guess. Anyone know what i'm talking about, or can help/make a script?

EDIT: I have some problems changing the names of the database things, I get this error
QuoteNoMethodError occurred while running script

undefined method 'shield=' for #RPG::System::Words:0x3f18030


On some things. Shield, used in the example error, Helmet, body armor and accessory.
Title: Re: Changing System names
Post by: Aqua on October 28, 2008, 04:17:17 pm
I made an event system that involves vehicles... lemme get it for you.

Edit:

Here it is. (http://starrodkirby86.web44.net/AquasStuff/Aquas_Flying_Event.zip)

Please read the comments to learn how to use it properly.
Title: Re: Changing System names
Post by: Satoh on October 28, 2008, 04:20:11 pm
Ok, so in battle you want the vehicle to have a different set of names from the player...

like

Joe has SP while Joe's Vehicle has FUEL?

You could modify the battle menu to display a string only for actors/battlers with ID[1, 4, 5]

making the first, fourth, and fifth characters (which are actually vehicles) use the string 'FUEL' instead of $data_system.words.sp
Title: Re: Changing System names
Post by: Hellfire Dragon on October 28, 2008, 04:36:03 pm
@Aqua
That's a cool event system but I need it to change the actor not just the graphic soz :shy:

@Satoh
Well I think I get you. Yeah the vehicle has a different set of names than the player

Anyway, the vehicle thing is more important now, but if you could help with that issue in my edit of my last post that would be cool.
Title: Re: Changing System names
Post by: Aqua on October 28, 2008, 05:01:21 pm
If you need it to change the actor, then just use the Change Party Member command instead of the Change Actor Graphic for when you enter/leave the vehicle.