Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • RPG Maker XP Scripts and Tips.
« previous next »
  • Print
Pages: [1]

Author Topic: RPG Maker XP Scripts and Tips.  (Read 4874 times)

Offline rm2k3_rulez

  • Halo 3 is da bomb!!!
  • Initiate
  • *
  • Posts: 78
  • love games got 2 dogs and a lil bro school sux like always.
RPG Maker XP Scripts and Tips.
« on: May 20, 2008, 09:24:38 PM »
Ok I dont know if I am allowed to post this but here you can post scripts for rpg maker xp. One question I do have is I know we arent allowed to post rpg maker links but what if you need to download the script? Because some times the scripts are too long? Is that all right? If so please tell me that way this topic doesnt end up turning out to be garbage. Anyways just post scripts here or requests.

Rules:
1.You can post scripts just dont make them too long.
2.If they are too long upload them into a zip and put it on rapidshare or something.(Dont post link unless I get an answer from charas first)
3.Do not request a script unless you know that someone else hasnt posted that certain script you are looking for.
4.When you use the scripts if anyone has made them dont take credit for it, they probably worked hard on it.
5. Any one is allowed to post a script here if no one else has posted the script. So anyone even me can post scripts here for rpg maker xp.
6. Also post tips or tutorials here for anyone in nee of help.

My Tip of the Day:
Do you have Windows Vista and cant get rpg maker XP to work? Well follow my tip of the day to make it work.
1. Go to Computer/Local Disk/Program Files/Enterbrain/RPG Maker XP
2. After you are in the folder right click on the Maker and go to properties. Then there are 3-4 tabs. Click on Compatibility and check the box that says Windows Package XP2 or something.
3. Then check the box that says run as administer or something. Then click apply and ok. Open it up and it should work. If not the RPG Maker XP version you downloaded is either a fake or is hacked.

Thats my tip of the day and I will have one every day. If I can post download links for scripts here then I'll post some helpful scripts I have found. Goood Day Charas.
Logged
Happy is Frowny, Frowny is Happy. Happy brings laughter but then brings tears, which causes Frowny. Frowny makes everybody depressed but then things work out just fine. So question is now, which one are you when Happy is Frowny and Frowny is Happy?

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
(No subject)
« Reply #1 on: May 20, 2008, 09:45:54 PM »
You are allowed to link toXP, just not the postality Knights or ILLEGAL edition. See, Enterbrain offers a free download of XP, for a 30 day trial.

I dont think we have collapsable Boxes, which will lead to a bit of a text wall....but whatever. We could use some scripts.

The would have to be your OWN though, or you would have to have permisson from its creator to post it....You would probably have to have enough of a knowledge of the script to offer some sort of support with it as well.....Or if the author was aware of your posting his/her work, and was willing to offer support, then great!

The old ban on XP is pretty archaic. That was all void when enterbrain released an english translation, for free to boot.

I fully endorse Posting scripts, as long as its done in the proper manner. And in the proper Forum
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
VX Script for tileset limit
« Reply #2 on: June 02, 2008, 10:53:26 PM »
I haven't used it yet, but I looked around in it.

It looks great.  Basically, it allows you to have more than one set of tilesets. Perfect.  I found this, I dunno if I'm allowed to post the actually script, but I'll link to the rmxp.org topic where you can get any support.

http://www.rmxp.org/forums/index.php?topic=48260.0

Happy mapping.
Logged

Offline rm2k3_rulez

  • Halo 3 is da bomb!!!
  • Initiate
  • *
  • Posts: 78
  • love games got 2 dogs and a lil bro school sux like always.
(No subject)
« Reply #3 on: June 05, 2008, 05:19:53 AM »
Ok I've found a script that allows you to open applications as soon as you start the game. To download it, simply go to google and search forum.chaos-project and look for the site. Then when you are there stroll down to RGSS/RGSS 2 Scripts. Click on rmxp then rmxp script database. Go to the 2nd page and look for multi game launcher. Download it and test it out. Then after a few minutes of foguring out how to configure it, you'll be able to open any application. Something I setup on my computer was to have the Multi-Game Launcher for a start up program. So when I turn on my computer, it lets me choose from a list of programs I usually use when I am on the computer. Oh and by the way  I figured out how to have someone download something without having a link. Is this legal?
Logged
Happy is Frowny, Frowny is Happy. Happy brings laughter but then brings tears, which causes Frowny. Frowny makes everybody depressed but then things work out just fine. So question is now, which one are you when Happy is Frowny and Frowny is Happy?

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
(No subject)
« Reply #4 on: June 08, 2008, 03:20:54 PM »
I dunno, i didn't think you upload something to the internet with out it having a link.

If by e-mail, i'd think so, but ts bad and you shouldn't do it.
Logged

Offline Ben

  • Some dude
  • Staff
  • Royal
  • *
  • Posts: 4,844
  • butts
    • my portfolio
(No subject)
« Reply #5 on: June 08, 2008, 03:25:14 PM »
Quote
Originally posted by rm2k3_rulez
Ok I've found a script that allows you to open applications as soon as you start the game. To download it, simply go to google and search forum.chaos-project and look for the site. Then when you are there stroll down to RGSS/RGSS 2 Scripts. Click on rmxp then rmxp script database. Go to the 2nd page and look for multi game launcher. Download it and test it out. Then after a few minutes of foguring out how to configure it, you'll be able to open any application. Something I setup on my computer was to have the Multi-Game Launcher for a start up program. So when I turn on my computer, it lets me choose from a list of programs I usually use when I am on the computer. Oh and by the way  I figured out how to have someone download something without having a link. Is this legal?




Listen, if you cant link to it, dont friggin post it man. Did you even bother to read
Quote
or you would have to have permisson from its creator to post it....You would probably have to have enough of a knowledge of the script to offer some sort of support with it as well.....Or if the author was aware of your posting his/her work, and was willing to offer support, then great!


If youre not prepared to get the original authors permisson, and credit the author, then your pretty much wasting our time.
Logged

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
(These scripts are for VX)
« Reply #6 on: June 19, 2008, 04:59:17 PM »
[spoiler]
Code: [Select]
class Game_Interpreter
  def command_122
    value = 0
    case @params[3]  # Operand
    when 0  # Constant
      value = @params[4]
    when 1  # Variable
      value = $game_variables[@params[4]]
    when 2  # Random
      value = @params[4] + rand(@params[5] - @params[4] + 1)
    when 3  # Item
      value = $game_party.item_number($data_items[@params[4]])
    when 4  # Actor
      actor = $game_actors[@params[4]]
      if actor != nil
        case @params[5]
        when 0  # Level
          value = actor.level
        when 1  # Experience
          value = actor.exp
        when 2  # HP
          value = actor.hp
        when 3  # MP
          value = actor.mp
        when 4  # Maximum HP
          value = actor.maxhp
        when 5  # Maximum MP
          value = actor.maxmp
        when 6  # Attack
          value = actor.atk
        when 7  # Defense
          value = actor.def
        when 8  # Spirit
          value = actor.spi
        when 9  # Agility
          value = actor.agi
        end
      end
    when 5  # Enemy
      enemy = $game_troop.members[@params[4]]
      if enemy != nil
        case @params[5]
        when 0  # HP
          value = enemy.hp
        when 1  # MP
          value = enemy.mp
        when 2  # Maximum HP
          value = enemy.maxhp
        when 3  # Maximum MP
          value = enemy.maxmp
        when 4  # Attack
          value = enemy.atk
        when 5  # Defense
          value = enemy.def
        when 6  # Spirit
          value = enemy.spi
        when 7  # Agility
          value = enemy.agi
        end
      end
    when 6  # Character
      character = get_character(@params[4])
      if character != nil
        case @params[5]
        when 0  # x-coordinate
          value = character.x
        when 1  # y-coordinate
          value = character.y
        when 2  # direction
          value = character.direction
        when 3  # screen x-coordinate
          value = character.screen_x
        when 4  # screen y-coordinate
          value = character.screen_y
        end
      end
    when 7  # Other
      case @params[4]
      when 0  # map ID
        value = $game_map.map_id
      when 1  # number of party members
        value = $game_party.members.size
      when 2  # gold
        value = $game_party.gold
      when 3  # steps
        value = $game_party.steps
      when 4  # play time
        value = Graphics.frame_count / Graphics.frame_rate
      when 5  # timer
        value = $game_system.timer / Graphics.frame_rate
      when 6  # save count
        value = $game_system.save_count
      end
    end
    for i in @params[0] .. @params[1]   # Batch control
      case @params[2]  # Operation
      when 0  # Set
        $game_variables[i] = value
      when 1  # Add
        $game_variables[i] += value
      when 2  # Sub
        $game_variables[i] -= value
      when 3  # Mul
        $game_variables[i] *= value
      when 4  # Div
        $game_variables[i] /= value if value != 0
      when 5  # Mod
        $game_variables[i] %= value if value != 0
      end
      if $game_variables[i] > 99999999    # Maximum limit check
        $game_variables[i] = 99999999
      end
      if $game_variables[i] < -99999999   # Minimum limit check
        $game_variables[i] = -99999999
      end
    end
    $game_map.need_refresh = true
    return true
  end
end
[/spoiler]

(A fix for the variables function in VX.)

[spoiler]
Code: [Select]
#=========================================================================
# ● ◦ [VX] Animation Bug Fixed ◦ □ by Woratana (21/05/2008)
# * Fixed bug that animation will follow screen, not stay on character~ *
# * You can place this script in any slot below the slot 'Sprite_Base'
#-------------------------------------------------------------------------
class Sprite_Base < Sprite
  alias wora_bugfix_sprbas_upd update
  def update
    if !@animation.nil?
      if @animation.position == 3
        if viewport == nil
          @animation_ox = Graphics.width / 2
          @animation_oy = Graphics.height / 2
        else
          @animation_ox = viewport.rect.width / 2
          @animation_oy = viewport.rect.height / 2
        end
      else
        @animation_ox = x - ox + width / 2
        @animation_oy = y - oy + height / 2
        if @animation.position == 0
          @animation_oy -= height / 2
        elsif @animation.position == 2
          @animation_oy += height / 2
        end
      end
    end
    wora_bugfix_sprbas_upd
  end
end
[/spoiler]

(And that one fixes something in Animations. ^^:
"when you show animation on character,
and you move in the map that bigger than 17 x 13 which cause map to scroll.
The animation will move with the screen, instead of stay on character.")

Pu them both in *different* script slots.  Just place it in the materials section.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • RPG Maker XP Scripts and Tips.
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum