RPGVX.net

  RPGVX.net => RPGVX.net Service => Archiv => Thema gestartet von: ERZENGEL am Februar 03, 2008, 21:16:05

Titel: Random Battle Music
Beitrag von: ERZENGEL am Februar 03, 2008, 21:16:05
BBL
Titel: Random Battle Music
Beitrag von: Talyana Meriweather Rahl am Februar 03, 2008, 21:49:54
Wie erkennt er dass es eine Battle Music ist? Durch den Namen?

Weil wenn mitten in einen Bosskampf z.B Volksmusik läuft ist das nicht so der bringer xDDD
Titel: Random Battle Music
Beitrag von: ERZENGEL am Februar 03, 2008, 22:03:17
Das kann man ja selbst festlegen. Also in dieser Zeile:$game_map.rbmusic = ["Battle1", "Battle2", "Battle3","Battle4"]wird festgelegt, dass er zw. Battle1, Battle2, Battle3 und Battle4 entscheiden soll. Falls du z.B. Hölle von Wolfgang Petry haben willst, dann mach das so:$game_map.rbmusic = ["Battle1", "Battle2", "Battle3","Hoelle"]
Titel: Random Battle Music
Beitrag von: woratana am Februar 03, 2008, 23:37:02
Nice Idea~^^

Quick question Erzengel,
When you load save file, I don't sure if the value you set in variable $rbmon will recover.
Titel: Random Battle Music
Beitrag von: ERZENGEL am Februar 04, 2008, 00:09:42
If you don't quit the game it'll recover but if you quit the game -.- You're right. I'll will fix it. Perhaps you got a nice idea to save the variable?
Titel: Random Battle Music
Beitrag von: woratana am Februar 04, 2008, 01:08:02
The way I'm using is store variable in Class that will automatically write in save file.

For example, class Game_Map will automatically write and load in save file, so I can store variable like this:

class Game_Map
attr_accessor :rbmon
end

to call the value (true/false) from variable, instead of $rbmon
use $game_map.rbmon

You can use any class that write and save automatically in save file. But it's good idea to use class that involve with the script you are scripting :)
Titel: Random Battle Music
Beitrag von: ERZENGEL am Februar 04, 2008, 01:20:42
I did it the same way :)I asked it because I was not sure how to do it that way (I haven't worked with the RGSS some months)
Titel: Random Battle Music
Beitrag von: woratana am Februar 04, 2008, 02:24:46
There's other way to do, alias save/load method. But I don't recommend that.

Anyway, good luck~^^
Titel: Random Battle Music
Beitrag von: ERZENGEL am Februar 04, 2008, 02:28:06
I updated it an hour ago ^^ Perhaps now you'll find another mistake by me.

By the way thanks that you want to help me and for finding this mistake :)
Titel: Random Battle Music
Beitrag von: woratana am Februar 04, 2008, 02:43:08
That's good enough. Erzengel.

I didn't see anything you have to change~^^
Titel: Random Battle Music
Beitrag von: Mclovin am März 03, 2008, 17:08:44
Hey, das find ich interessant. Mich hat das Gedudel bei den Kämpfen auch schon oft genervt. Ich wollte in meinem jetzigen Spiel zwar gar nicht soo viele Kämpfe einbauen, aber find ich trotzdem ne gute Sache!
Titel: Random Battle Music
Beitrag von: Goldenboss am März 03, 2008, 17:13:03
Hi,

tolles Script.
Vielen Dank. :=)

MFG Markus
Titel: Random Battle Music
Beitrag von: Silvanus am März 03, 2008, 19:58:03
Finde ich auch, ist sehr nützlich ;)Thx!
Titel: Random Battle Music
Beitrag von: Dainreth am März 04, 2008, 09:03:11
Hm, werd wohl keinen Nutzen dafür haben, trotzdem ein nettes Skript. Danke!
SimplePortal 2.3.3 © 2008-2010, SimplePortal