Changing System names

Started by Hellfire Dragon, October 28, 2008, 02:33:40 pm

Previous topic - Next topic

Hellfire Dragon

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?

blibla48

Dude just go to database > system > words and change the names like sp to mp or anything in the like

Satoh

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.
Requesting Rule #1: BE SPECIFIC!!

Light a man a fire and he'll be warm for a night...
Light a man afire and he'll be warm for the rest of his life... ¬ ¬;

My Resources

Blizzard

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.

Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Hellfire Dragon


Satoh

Awesome! I did something right! XD;
Requesting Rule #1: BE SPECIFIC!!

Light a man a fire and he'll be warm for a night...
Light a man afire and he'll be warm for the rest of his life... ¬ ¬;

My Resources

Hellfire Dragon

October 28, 2008, 04:09:56 pm #6 Last Edit: October 28, 2008, 04:29:57 pm by Hellfire Dragon
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.

Aqua

October 28, 2008, 04:17:17 pm #7 Last Edit: October 28, 2008, 04:26:03 pm by Aqua
I made an event system that involves vehicles... lemme get it for you.

Edit:

Here it is.

Please read the comments to learn how to use it properly.

Satoh

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
Requesting Rule #1: BE SPECIFIC!!

Light a man a fire and he'll be warm for a night...
Light a man afire and he'll be warm for the rest of his life... ¬ ¬;

My Resources

Hellfire Dragon

@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.

Aqua

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.