[XP] Blizz-ABS

Started by Blizzard, January 09, 2008, 08:21:56 am

Previous topic - Next topic

rgangsta

Thank you! I wish I thought of that earlier...There should be an easier way to do that, though...but I guess then your teammate would steal your stuff...

Tyril132

April 01, 2010, 06:41:52 pm #3221 Last Edit: April 01, 2010, 06:45:22 pm by Tyril132
I mean no disrespect by this, what's easier than setting it manually? Doing it automatically?

To play the devil's advocate, you can already change the default command via the setup script any time you want, and even call it via menu or script option.
Automating your party members' equipment so they default to "optimal equipment load-out" is technically possible, but more complicated than it's worth.

Edit: Grammar. I need to check this stuff before I post. :(
Lv. 7 Writer | Lv. 7 Composer | Lv. 7 Mapper | Lv. 4 Eventer | Lv. 0 Scripter | Lv. 1 Spriter
DSC Project Soundtrack
Personality Index:: ShowHide

winkio

Quote from: Tyril132 on April 01, 2010, 06:41:52 pm
Automating your party members' equipment so they default to "optimal equipment load-out" is technically possible, but more complicated than it's worth.


Not really.  It's a fairly simple add-on.

Tyril132

That depends. Are we talking about integrating it into the BABS, or DBS/DES?

Default systems would be very simple. BABS and other custom combat/equipment would have additional considerations, like making the script read modified equipment slots or interpreting weapon types (such as bow & arrow in BABS) and equipping appropriate sub components for those items.

Hypothetically, he could make an 'on/off switch' in the code for end users, but wouldn't implementing it in any fashion require him to make the assumption that the end user isn't using any other add-ons that modify combat or equipment? (Multi-slots, or removing equipment slots comes to mind.)

It's possible, I'm just saying, the likelihood of an end-user finding such a feature practical and easy to modify seems... kinda sketchy.
Lv. 7 Writer | Lv. 7 Composer | Lv. 7 Mapper | Lv. 4 Eventer | Lv. 0 Scripter | Lv. 1 Spriter
DSC Project Soundtrack
Personality Index:: ShowHide

winkio

if we are talking about auto-equipping ammo for weapons (i think we are), then that is based off of blizz-abs only.

Tyril132

April 02, 2010, 01:31:30 am #3225 Last Edit: April 02, 2010, 01:32:58 am by Tyril132
Yes sir, that is what I was referring to with "equipping appropriate sub components."

I'm not implying it's impossible to implement the feature because of the way BABS modifies equipment, I'm suggesting implementing it in a way that would be compatible with unknown and potentially exotic custom equipment systems seems like it could be more work than it's worth for Blizzard, and depending on its implementation, possibly for the end-user.

Besides that, custom equipment modifications (beyond ensuring they can equip ammunition and that weapons are typed to a database and that it doesn't implicitly break other scripts) are beyond the scope of the add-on. Default RMXP does not have an optimize feature, it's not like it's a feature Blizzard overlooked when scripting BABS. As such, saying it's unfortunate BABS doesn't have an optimize equipment feature comes across as being silly to me.
Lv. 7 Writer | Lv. 7 Composer | Lv. 7 Mapper | Lv. 4 Eventer | Lv. 0 Scripter | Lv. 1 Spriter
DSC Project Soundtrack
Personality Index:: ShowHide

Launian

Quote from: Flower Lady WhiteRose on April 01, 2010, 05:15:41 pm
Quote from: Launian on April 01, 2010, 05:14:08 pm
First of all, great work man! It's really amazing xD

Found a bug on the custom controls add-on. I get an error message if I try to walk on the game. The error says:

Script:'Game_Map' line 212: NoMethodError ocurred. undefined method '/' for [38]:Array


I don't remember changind anything on the Game_Map, and the like it's just a math operation (bit = (1 << (d / 2 - 1)) & 0x0f). The division is what's causing troubles, but I can't figure out what the [38]:Array means.

Thanks in advance, and sorry for registering just to ask for help, but this one of the two scripts I need to get my game ready.



If you're using Custom Controls from Tons of Add-Ons, make sure you have all three parts, haven't removed anything, and have the scripts in the right order.


Ok, I just downloaded the last version from the first post, and it's totally diferent from the one I had. Anyways, it's working now!  :xD: Thanks a lot. Now I have to check all the stuff that's enabled lol

Laun~

If I were to leave tonight, would your hand try to reach me?

Launian

Thanks for the help, Flower Lady.  Altho... I was knida on the wrong topic...  :shy: Thanks anyways.

If I were to leave tonight, would your hand try to reach me?

legacyblade

Quote from: Tyril132 on April 01, 2010, 06:41:52 pm
I mean no disrespect by this, what's easier than setting it manually? Doing it automatically?

To play the devil's advocate, you can already change the default command via the setup script any time you want, and even call it via menu or script option.
Automating your party members' equipment so they default to "optimal equipment load-out" is technically possible, but more complicated than it's worth.

Edit: Grammar. I need to check this stuff before I post. :(


I do this in my menu system. Making an equip slot on the menu for your amo (item to be fired) opens up all kinds of possibility, especially if you use direct hotkeys. First, upon equpping the weapon, you check to see if it requires amo. (if it doesn't, it'll unequip your current amo) Then you check what kind of amo the weapon needs, and equip that amo if it's availible and another amo that weapon can consume is not already equipped.  (equiping the amo is putting it in the actor's cued up item spot). It's really simple to get it working, if you think things through properly.

Heroic-Pain

Hey i'm new to scripting and really don't know much but i'd like to try this out. Every time I test start it I get this:



Sorry if that img is to big, anyone know what to do?

Tyril132

(You're less likely to get yelled at by a moderator if you put your image in a spoiler tag like this:)

[spoiler][img]www.thisiswheremyimageis.com/nameofpicture.jpg[/img][/spoiler]


Are your scripts in the correct order, as listed here?
Lv. 7 Writer | Lv. 7 Composer | Lv. 7 Mapper | Lv. 4 Eventer | Lv. 0 Scripter | Lv. 1 Spriter
DSC Project Soundtrack
Personality Index:: ShowHide

Heroic-Pain

They are all in the right order, part 1, 2 , 3. Or is there something else i'm missing? I only added these 3 scripts to the project so I dont't know why i'm having problems.  :???:

(Sorry 'bout the picture, won't do it again.  :^_^': )

WhiteRose

Quote from: Heroic-Pain on April 04, 2010, 12:28:02 pm
They are all in the right order, part 1, 2 , 3. Or is there something else i'm missing? I only added these 3 scripts to the project so I dont't know why i'm having problems.  :???:

(Sorry 'bout the picture, won't do it again.  :^_^': )

You put them below everything except main, right?

Heroic-Pain

Quote from: Flower Lady WhiteRose on April 04, 2010, 12:29:29 pm
Quote from: Heroic-Pain on April 04, 2010, 12:28:02 pm
They are all in the right order, part 1, 2 , 3. Or is there something else i'm missing? I only added these 3 scripts to the project so I dont't know why i'm having problems.  :???:

(Sorry 'bout the picture, won't do it again.  :^_^': )

You put them below everything except main, right?


Haha, Must've forgot to do that. :O.o: Thanks alot! just tried it out this battle system is awesome! :D

Heroic-Pain

One more thing. I can't seem to figure out why I get this when I try to use a action in battle. I tried to fix it but I can't seem to find out why it does this.

Spoiler: ShowHide

WhiteRose

Quote from: Heroic-Pain on April 04, 2010, 03:10:50 pm
One more thing. I can't seem to figure out why I get this when I try to use a action in battle. I tried to fix it but I can't seem to find out why it does this.

Spoiler: ShowHide



You have action sprites enabled. If you change the value to "false" in the Config at the beginning of part one in the script, you won't get that error any more.

ShadowPierce

->Hey everyone, I wanted to make a short intro cutscene for my game so I initially disabled the hud but when I used this call script to enable the hud again "$game_system.hud = true" (without the quotation marks) the hud doesn't show up... And when I enable it at the start & disable it at the first autorun event, the game freezes... There will be more cutscenes in my game where the hud should not show up, how should I fix this? Please help me...

Please & thanks... ^^



Spoiler: ShowHide
Quote from: Blizzard on February 16, 2011, 03:44:48 pmThere you go. It's the proof that SDK is crap. It's incompatible with itself.
3DS Friend Code: ShowHide
1161-0627-9890

(Hexamin)

Add this just above Main, and below all your other scripts to disable it initially.
class Game_System
  alias initialize_early initialize
  def initialize
    initialize_early
    @hud = false
  end
end


then to enable it/disable it in game do this in a call script.
To Disable: ShowHide

$game_system.hud = FALSE
$game_system.hud_button = FALSE


To Enable: ShowHide

$game_system.hud = TRUE
$game_system.hud_button = TRUE



I also disable other buttons too, like skill, defend, attack, hotkeys, but thats because when I disable the hud I'm "out of battle" so I don't want him being able to attack or bring up the hud again.

Anyway, that works for me, let me know how it works for you.

Rose, if you're reading this, I previewed, as to make sure that all the spoilers and code worked properly BEFORE I posted.  :P
Max 1111101000; characters remaining: 1110111000

Blizzard

Quote from: ShadowPierce on April 06, 2010, 04:33:23 am
->Hey everyone, I wanted to make a short intro cutscene for my game so I initially disabled the hud but when I used this call script to enable the hud again "$game_system.hud = true" (without the quotation marks) the hud doesn't show up... And when I enable it at the start & disable it at the first autorun event, the game freezes... There will be more cutscenes in my game where the hud should not show up, how should I fix this? Please help me...

Please & thanks... ^^





RMXP has a problem when you put the entire command in one line. Instead of this:

$game_system.hud = true


use this:

$game_system.hud =
true


Now the game won't freeze anymore.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

(Hexamin)

K, I know Blizz, you're retired, but maybe someone else can help me.  I'm trying to change a skill's projectile based off of a variable.

Ways that this may be possible... just rename the file completely?  I dunno if this can or can't be done with scripting, if it can be though, let me know.

Other way... altering BABS... but theres 20k lines of code that I don't look forward to rummaging through... and don't imagine anyone else would.

Anyway, if you can help me, that'd be great!  ^_^
Max 1111101000; characters remaining: 1110111000