Main Menu
  • Welcome to The RPG Maker Resource Kit.

Simple Script Shop

Started by Rune, May 26, 2007, 11:12:37 PM

0 Members and 5 Guests are viewing this topic.

zzzdude

Oh no, someone just spent three consecutive days playing elder scrolls three: marrowind...

I got way to many ideas now.

Ok, so script ideas:


  • Specific weaponry requires two hands, so the one weapon will require both weapon and sheild slots to be open in order to equip
  • A message system similiar to the one in marrowind***
  • Speed skill, the more you walk, the faster you can walk. also displayed in the satus screen


And others which I can't remember at the time

***marrowind message system:
When you go talk to selected events, it brings up a menu similiar to marrowind. A list fo topics on the right, and their reply on the left.
Each NPC will usually say the same thing about each topic, except if the event is supposed to give important information, like part of a quest, or to describe the lifestyle of that character.
Huge sig is huuuuge.

tSwitch

the first and last have been done ^_^

take a look around the scripts database for the last one
and the first is included in D-Wolfman's extra accessory stuff on .org


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

imperfectclone19

Hey! Okay, I was wondering if it was possible to make a battle system in which there is no escape command, and you have the options of changing your armor and weapons in battle, as well as switching members out of battle for other ones, like ffx.

also, if it's possible, could you make it so that before battle each character may equip five items to use, and while in battle those are the only ones that they can use? and once they run out of the five items, they can't use any items in battle until they equip more? for example, when you're not in a battle, you may give the main character two potions to carry, and then once in battle, only he can use only those two potions. I don't know if this second one is possible..anyway, thanks soooo much!!

modern algebra

Most of it has been done. Devvulfman made a script which gets rid of the escape bar I believe, and someone recently gave me a project which contained a battle switching script by Sephiroth Spawn. The second request is much more reasonable (I haven't seen one yet), and while I cannot do it as I still do not have my computer (though I do have RMXP), my initial idea (for any scripter willing to do it) would be to create a public array in Game_Actor which holds the IDs of the items that are useable. Then, from that it would probably just involve writing a special battle-only Window_Items class which draws from that array rather then from $game_party stuff. And obviously, you would need to write a simple scene to equip the items.

Rune

Okay guys...

I haven't been on RMRK much recently, and I feel it'd be best if this topic were owned by someone who comes on more often.
Basically, i'm looking for someone to pass posession of this topic onto. Any offers?
Sincerely,
Your conscience.

tSwitch

I can't do tons and tons of requests
(I can do more lately because of additional free time)
but I'll take the topic if you need someone to Rune


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

Rune

I don't need to, i'd just prefer it if it belongs to someone who's on more often than me, anyways, thanks mate :) If an Admin could do whatever to pass this topic on, that'd be sweet :)

I can still take requests, I just won't be on as often to take them...
Sincerely,
Your conscience.

tSwitch

alright, np, I can take care of it


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

rockyspie

how do you make a victory counter then put it in the status window

tSwitch



FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

rockyspie

ok im a complete n00b at scripting in rmxp, i just wanted to know how to put
a victory counter in my characters status window  :)

Rune

I have to say, I've tried that once, using variables, but I couldn't get it to work :-\
Sincerely,
Your conscience.

modern algebra

A victory counter as in?

It counts how many troops are defeated or how many enemies have been defeated? By the entire party, or by each individual party member? That strikes me as something easily done. Basically, if the entire party, it would just be adding an accessible variable to Game_Party, and then an alias of Scene_Battle, end_battle method (I don't know what the method is actually called) and adding the enemies to the party variable.

If actors, it would be similar, though a little bit different depending on if you want them to count just the enemies they themselves have finished, or if you want to count all enemies the party defeats with them in the party. And, you would need to modify the status window a bit to display.

Anyway, which do you want done? Victory counter is very non-descript.


EDIT:

You guys should make them follow a request template. Like, if a window a paint mockup, and exact features of everything they want done, or something like that.

tSwitch

#288
I'll write one up. (need the topic switched to my possession as well)

as for a victory counter
I has a plan, will make a configurable one, probably will be done by the end of the day

going to make a custom status screen to display it all as well
(if you have something in mind that isn't the same as the default, post a mockup
otherwise I'm just going to use the default status screen with additional info)

edit: delayed due to halloween party preparations, can you wait till t'morrah?

currently will allow you to configure:
enemy or troop kill tracking (whether counter gets ++ from enemies or troops)
party or actor kill counters (whether each actor gets a counter or the entire party does)
display name in status screen (self-explanitory)


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

rockyspie


tSwitch

do you want to post a mockup for the status screen or not?


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

rockyspie

im not too bothered about the look of it yet :), do whatevers easiest

rockyspie


tSwitch

sorry, having trouble figuring out where to put the damn incrementor part of it >.<
the configuration is all set, easy and clean, just need to figure out where I can put the damn counter increase for individual enemies...


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

Rune

I've no experience with battle scripts, but couldn't you look for where it says something like, $scene = Scene_Map and put it near there?

Or have you tried that?
Sincerely,
Your conscience.

tSwitch

nono, it's a kill counter for battle
so I need to put an incrementor in 2 places

the first is for if they decide to have individual enemies increment the counter (no idea)
the second is if they want the troops to increment the counter (battle result window)


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

modern algebra

I would consider the item/skill/attack effect methods of game_battler.

Another feasible option would be this method in Scene_Battle:


  #--------------------------------------------------------------------------
  # * Frame Update (main phase step 5 : damage display)
  #--------------------------------------------------------------------------
  def update_phase4_step5
    # Hide help window
    @help_window.visible = false
    # Refresh status window
    @status_window.refresh
    # Display damage
    for target in @target_battlers
      if target.damage != nil
        target.damage_pop = true
      end
    end
    # Shift to step 6
    @phase4_step = 6
  end


In either case it would just involve going through the targets, seeing if they have no hp, and adding them if they do not. You have to make an exception, I think, for skills that target all and resurrection skills.
The reason I suggest Game_Battler methods is because:

A) It will work with more then the default Battle System
B) Very easy to make the exceptions. All you need to do is alias the original methods, check their health before it goes through. If it is at 0 after running the original method, and it wasn't before, then you add them. The only problem is that I don't think that there is a 'user' argument for items, so you would need to find a clever way to do it for items.

tSwitch

well ressurection doesn't really matter, it's a kill counter, so you gain per kill regardless of if they stay dead.

thanks for the advice tho, I'll see what I can do there


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

Rune

Quote from: NAMKCOR on November 02, 2007, 02:24:27 PM
nono, it's a kill counter for battle

Yeah, I meant in the Battle scripts :D
Sincerely,
Your conscience.

tSwitch

sorry it's not done yet, but I'm being tripped up by that one part...that and my VM crashing and me having to restore all the data

ANNOUNCEMENT
I'm entered in Blizzard's Blizz-ABS Sample Game contest
I'm going to be working on it until the submission date of 12/15/2007
so my script requests will be delayed until past then


FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon