Main Menu
  • Welcome to The RPG Maker Resource Kit.

need cms script edit [resolved]

Started by fadark, March 08, 2007, 12:37:32 AM

0 Members and 1 Guest are viewing this topic.

fadark

it works but some things are out of order. the descriptions and images are fine, but the names of the status effects are not.

the word "sharpen" should be 1 spot below where it is.
"barrier" needs to be moved down 1 spot also.
same with "resist"
and "blink"
and "muscular endurance"
and "endless intellect"
but "obstruction of force" needs to be moved to where "shapen" in



I just noticed: the order that is in the screen shot ubove, is the order that they are in at the database. But thats not the order that i want them in

just so everyone knows, im 15 years old.

:)

Watch out for: HaloOfTheSun

modern algebra

Yeah, for the names I used a for loop which goes through and writes the names of the status effects based on the order they are in in the database. If you want that fixed you can do one of three things:

1. Change the way they are arranged in Database

2. Change the descriptions and icons so that they are aligned properly

3. edit this part of the script (It's in Window_StatRef):


  for i in 1...$data_states.length
    self.contents.draw_text(30, 22*i, 170, 32, $data_states[i].name)
  end


to


  for i in 1...$data_states.length
    if (i < 13)
      self.contents.draw_text(30, 22*i, 170, 32, $data_states[i].name)
    else
      if (i > 13)
        self.contents.draw_text(30, 22*i, 170, 32, $data_states[i-1].name)
      else
        self.contents.draw_text(30, 22*i, 170, 32, $data_states[19].name)
      end
    end
  end


... i think anyway. It makes the script a little messier though, so you should really just do one of the first two

fadark


just so everyone knows, im 15 years old.

:)

since this is solved? remove *cough* *cough* darklord, and add [RESOLVED]
Watch out for: HaloOfTheSun

fadark

#30
okaly dokaly ;D


edit: holy crap! my rep. is -9!!!!!!!!!!!!!!!! how is that?????????? I have been very nice to people and have given them my all!!!!!! ???:-\:'(

just so everyone knows, im 15 years old.