Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
OniKuraiX

(Request) Atoa ATB, Battle Fog, Enemy HP Display

Recommended Posts

Well sup all. I don't wanna seem like one of those people that make an account to ask for a single thing then leave (I had an active-ish account a few years ago but I forgot the acc info :/)

Anyways, I'm aiming to create quite an ambitious project; I have the skills and tools to make graphics, and a team to help with characters, story, etc. however, most of us have little actual scripting knowledge. I have some basic understanding of scripts, and can identify where errors are, but not always how to fix them or do anything complicated :P

 

I'm using Atoa's ATB battle system. I'm gonna sound like I'm asking for a lot but,

there's a few things I'd like to know how to do/if it's possible:

 

-Map fog shown in battle (I'm using a fog for a rain effect, so I'd like it to carry into the battle)

 

-Multiple fogs at the same time (without combining both fog images into one image), so I can use perhaps the rain fog, and a slower-scrolling actual fog, both at the same time.

 

-An enemy HP display: preferably shown in the top window when selecting an enemy as a target

The one in Blizzard's "Tons of Addons" is pretty much exactly what I was looking for, but the addon doesn't work for this battle system. Also, it would be nice to have a health bar; I'm using an image file for the character's HP bars, so I hoped to make the enemies use the same health bar images.

I've tried 2 or 3 other HP display scripts, but none of them work properly.

 

One last unimportant thing: can I change the actor status window's image in battle to an image? There's a line in the battle system's config script that has a space to enter an image file, but it causes an error.

 

Well I guess im asking for a lot :/ but any help with these requests would be appreciated! :D

Share this post


Link to post
Share on other sites

There are two scripts available on this site that involve fog/weather.

Cloud Altitude Script

Complete Climate & Time System

 

Check those out and see if they already have the feature you need (fog in battle scenes). If either script does not have the options you need, you can always try contacting the makers to see if they can add it (always after checking yourself first).

 

For the hp bar, I suggest making a separate thread, requesting just that for creation (assuming you can't already find one), and request it to be compatible with your current scripts. Find a link to Blizzard's script that does what you want (but isn't compatible) and link it for reference so the potentially helpful script writer can use it as an example. (make sure this is ok with Blizzard's user license, and you may want to put the actually hp bar code in spoilers on the thread, and provide a link to the entire code it self.)

 

If you wouldn't mind recreating the status window image error for your battle system and then posting the exact error message here, I/we can maybe render better assistance.

 

-Cheers

P.S. Notifications are currently not working until further notice, please check back here to find replies.

Share this post


Link to post
Share on other sites

Here's Blizzard's (remarkably short tongue.png) enemy status script:

 

 

class Window_Help

 

alias set_enemy_status_later set_enemy

def set_enemy(enemy)

$game_system.ENEMY_STATUS ? set_actor(enemy) : set_enemy_status_later(enemy)

end

 

end

 

 

 

There's, I think already a custom enemy status display for Atoa's battle system (it shows state icons next to the enemy's name) which is probably the issue.

 

post-22131-0-74840000-1331587212_thumb.png

Share this post


Link to post
Share on other sites

There's, I think already a custom enemy status display for Atoa's battle system (it shows state icons next to the enemy's name) which is probably the issue.

 

You need to research this first, and have ALL available information ready and presentable before asking for help (this includes links to any scripts that may be conflicting). I do not script, so I can not help you, but I can tell you that you are more likely to get a scripters help if you do as much leg work for them as possible. It may be 'easy' to find Atoa's battle system, but all the more reason for you to find it and post a link here, save them the effort.

When posting code its always a good idea to use either code or spoiler tags, as it keep things easier to read, and cleaner. It's also a good idea to either retype the error message, or when taking a screen shot, put it in image tags, there is a quick button to use this picture function near the hyperlink buttons when posting a thread/reply.

 

I know this may seem silly, but keep in mind you may be only asking one problem, however the programmers who help are often answering many many questions a day, from many sites. If each person asking the question does as much work as possible, the scripter is far more likely to help, due it it taking less time and effort. I am only trying to give you suggestions to help you get this problem solved. Putting extra effort into your post will show others you care, and there for make them more willing to care as well.

Share this post


Link to post
Share on other sites

I see, well thanks for the feedback I guess xD

I'll be sure to keep your advice in mind.

 

I've got the HP window working to some extent (might need a bit more fixing though) but I still haven't been able to get fog into my battles.

Well guess I'm off to create a new thread xD

Share this post


Link to post
Share on other sites

but I still haven't been able to get fog into my battles.

 

Did you check out the two scripts I sent you links to?

Share this post


Link to post
Share on other sites

Yeah. The climate and time system is more for weather and screen tint, I can't find anything about the fog. The clouds are.. well.. just clouds :/

But thanks for the effort.

Share this post


Link to post
Share on other sites

What makes fog is the graphic, those scripts may not come with fog graphics that you like, but I thought your concern was trying to use multiple effects at the same time and/or during battle. Did you attempt either of these techniques with the scripts?

I did the work for you, since you didn't want to try.

 

Using the climate script I was able to make rain show in battle by adding an event command to the desired troop and have it triggered at turn 0. This means there is no reason why you can't add some fog to that script and set it up to have the fog display in battle like you wanted. It took me around 2 minutes to test this theory.

Hope that helps. If you need further explanation on how I got weather to show in battle with that script let me know.

 

I didn't look into whether either of these scripts can display multiple weather effects at the same time, as I figured you could check that yourself.

-Cheers!

Share this post


Link to post
Share on other sites

I think you might run into a bit of trouble trying to use the Fogs that came with RMXP by default because they dont have an Alpha Channel, although the engine fully supports it. The Cloud Altitude might be useful, at least for being used as a Graphic if not anything else. That is, of course, if it happens to be the style you wanted. Depends on your style more than that graphic. Do you want the fog to only obscure parts of the Background or fully obscure the Background AND Battlers?

 

I think scripting can be difficult, but something like just putting in fogs into a battle might be moderately easy. And I can see why it would be desired.

 

The fastest way I think I can suggest for a Do It Yourself type script would be to examine the current scripts and how they add fog to the Game Map, so you'd start off by looking at the class Game_Map and hit Ctrl+F to find "fog" and check anything that says fog. One might have to copy and paste the fog related stuff from "class Game_Map" to "class Scene_Battle". It is things like this that got me interested in trying to learn scripting, and I still really really really suck at it.

Share this post


Link to post
Share on other sites

Ohhh, true! I'll try that :D

@Jon: I've done it with weather, but not fog before, but I guess ill look into that.

Share this post


Link to post
Share on other sites

@Jon: I've done it with weather, but not fog before, but I guess ill look into that.

 

Define 'Fog' as far as you understand it. As far my understanding is that fog is a form of weather, like rain or snow, or tornadoes. Those are all shown with picture overlays. So I am confused why you think weather and fog are different. Just use a fog picture for your weather.

Share this post


Link to post
Share on other sites

Well, I guess I just thought of fog as.. well lemme put it another way. It seems as though "weather" is more in the script than an actual graphic file (atleast what I could tell from custom weather scripts) while "fog" uses an actual image file.

Share this post


Link to post
Share on other sites

I understand now, I apologize, I was confused. So as far as 'fog' goes, are you able to fake a fog effect using events in an enemy troop, and simple display a series of pictures in order?

Share this post


Link to post
Share on other sites

Its alright. I could try it, though I guess I'll take a look at the Game_Map scripts and such first. Though using pictures could probably work, but it might be troublesome (in a different way than scripting).

Well thanks for the help so far anyways.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...