Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: PrinceEndymion88 on September 10, 2013, 11:05:45 am

Title: [RMXP] Little change to my Scene Formation script!
Post by: PrinceEndymion88 on September 10, 2013, 11:05:45 am
In my game there are 4 formations and in according to which formation has been chosen, 5 special heroes can use together a combined technique which takes the name from the formation. I've created a menu to select the favourite formation, but I want to edit it or better i want to edit a graphic part.

This is the menu where you can select the formation:
(http://img703.imageshack.us/img703/6917/vjmk.png)

(http://imageshack.us/a/img812/8831/s1sf.png)

Here you can find the demo: https://hotfile.com/dl/244801197/571331b/formazione.exe.html
You can select "Formazione" into the game menu.

Actually I use these scripts: ccoa's weather script, KH SAVE, ums by ccoa, mode7, CCOA 3.04 RTA, Mog Damage System, DRG - Scene Menu Animated Cursor, Scene into flash, mana title, MOG Scene Shop, mog scene story, Party Changer, Stop the victory ME, Skill Chrono Trigger, shadow text, ,dash, region system, mog battler effects, Light Effects XP 2.1
Title: Re: [RMXP] Little change to my Scene Formation script!
Post by: orochii on September 10, 2013, 03:02:26 pm
Here is some uh... critique? I wanted to point out some things.
Spoiler: ShowHide
(http://puu.sh/4o10k.png)

As for the character battle graphics, it depends on the script you use for animation or whatever. But mainly it is getting the battler name, getting the portion of the graphic you wish to put on screen, get the X/Y positions (depends on your formation definitions). And voilĂ , sent all that stuff to your sprite object and make it appear on screen.

I'll see if I can do something about it,
Orochii Zouveleki
Title: Re: [RMXP] Little change to my Scene Formation script!
Post by: PrinceEndymion88 on September 10, 2013, 03:09:27 pm
Thanks :D this is the old version of my first release! I'll format it! Thanks for your suggestion! =)
Title: Re: [RMXP] Little change to my Scene Formation script!
Post by: PrinceEndymion88 on October 02, 2013, 01:01:25 pm
up =)
Title: Re: [RMXP] Little change to my Scene Formation script!
Post by: KK20 on October 02, 2013, 02:21:18 pm
Your original post doesn't really tell much about what you want. Sure you want to modify the scene a bit, but we don't know how you want it. The two reference images aren't explaining a whole lot. If all you want is to draw the battler graphic of the actor at position X (by the way, position of actor in party and position of actor in battle are the exact same thing), you do something like this in your window class

for i in 0..4
 actor = $game_party.actors[i]
 bitmap = RPG::Cache.battler(actor.battler_name, actor.battler_hue)
 # CHANGE YOUR X AND Y FORMULA:
 self.contents.blt(X + i * 50, Y + i * 50, bitmap, Rect.new(0,0,bitmap.width,bitmap.height)
end