[XP] Blizz-ABS

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

Previous topic - Next topic

Sin86

Force actions have been working for the player for me on the newest one(I haven't tried all of them, just the ATTACK). However, the force actions for enemies has not been working for me on the newest one.

winkio

Yeah, I had to break force actions slightly to put in the combo system, and I guess I never fully fixed it.  It will be fully working for players, enemies, and allies in the next version.

Lord_Solrac2

Quote from: game_guy on August 12, 2010, 08:05:06 am
By chance do you have 2.0 Framework installed?

Yes In Fact it's 3.5

sirsniffy

My AI characters are not using Skills properly. I have a skill where if any party member's HP drops below a certain amount, I need the healer to heal them, BUT, I don't know how to program this in the script. I need the character to charge the heal move for a few frames, and THEN let the heal spell go. I don't want it to be instant, I want some charge time on it.

Can anyone help me with this? I read the manual, and it's not really clear to me. Thanks
These precious things...let them bleed, let them wash away - Tori Amos

G_G

In the config app, make the spell a charge spell.

sirsniffy

August 14, 2010, 04:08:06 pm #3745 Last Edit: August 15, 2010, 11:51:47 am by game_guy
Quote from: game_guy on August 13, 2010, 10:29:17 pm
In the config app, make the spell a charge spell.
I can do this, but I need my AI characters to trigger the spell AFTER the charge animation. Right now any spell that is a trigger spell has one of two outcomes:

(1) Character doesn't do anything, but returns to the caterpillar lineup. i.e...the system appeared to ignore charge configuration completely.

(2) A.I. character executes the skill INSTANTLY but still plays the charge animation afterward.

I want the charge animation to play and THEN the skill to execute. Right now all skills execute instantly.  I set the AI triggers within the games menu, but it still executes skills instantly. I want there to be a small time delay before the skill executes. I will post the section of the code.

module Skills
   
   def self.type(id)
     return [DIRECT, EXPLNone]
   end
   
   def self.combo(id)
     return 0
   end
   
   def self.projectile_speed(id)
     return 5
   end
   
   def self.range(id)
     case id
     when 82 then return 2.0 # Angel Heal
     end
     return 1.0
   end
   
   def self.penalty(id)
     case id
     when 82 then return 30 # Angel Heal
     end
     return 24
   end
   
   def self.frames(id)
     return [3, 3, 3, 3]
   end
   
   def self.charge(id)
     case id
     when 82 then return [CHARGETrigger, 20] # Angel Heal
     end
     return [CHARGENone, 0]
   end
   
   def self.charge_frames(id)
     return [3, 3, 3, 3]
   end
   
Any help is appreciated. Thanks

Please use [code][/code] tags when posting code ~ game_guy
These precious things...let them bleed, let them wash away - Tori Amos

Sacred Nym

You're using "Trigger after Charge" which means you have to manually fire it off after it's charged. If you want it to fire automatically use can "Freeze on Charge" or "Move on Charge" depending on whether or not you want the actor to be mobile while casting. :)
Quote昨日の自分に「さようなら」
Say "Goodbye" to who you were yesterday.

element

I have a little question and tell me if it's impossible.
I'm making a game with 4 factions. The player chooses a faction, joins that...
Well each faction has his own NPC guards, these attack players from other factions.
I don't see how to do that since you can only have 1 player allignment group and I need 4 so that NPC's attack the other 3 faction players.

[Luke]

August 18, 2010, 09:04:43 am #3748 Last Edit: August 18, 2010, 09:41:46 am by [Luke]
Quote from: element on August 17, 2010, 05:22:33 am
I have a little question and tell me if it's impossible.
I'm making a game with 4 factions. The player chooses a faction, joins that...
Well each faction has his own NPC guards, these attack players from other factions.
I don't see how to do that since you can only have 1 player allignment group and I need 4 so that NPC's attack the other 3 faction players.

+1. I'm on my way to do the same thing, with 3 factions; what's more, in RMX-OS, so I bet there's be a lot of trouble ahead. I haven't tested it all so far, but my idea is to call a script that just changes the variable BlizzABS::Alignments::ACTOR_GROUP - so, in my case: at the beginning you make these groups:

1. Neutral Actors (Primary Actor)
2. Neutral Enemies (Primary Enemies)
3. Neutral Critters
4. Objects
5. Neutral Guards
6. Neutral NPCs
7. Kingdom Soldiers (paladins, guards, priests - that's faction 1)
8. Kingdom NPCs
9. Kingdom Players
10. Kloster Soldiers (mercenaries, mages - faction 2)
11. Kloster NPCs
12. Kloster Players
12. Underworld Soldiers (dark knights, necromancers - faction 3)
13. Underworld NPCs
14. Underworld Players
Rest, like aggressive enemies that kill other monsters, "linked" critters (pack of animals) etc.

So, at the beginning the player is neutral to all NPC and guard groups, but when he chooses the faction and changes alignment, he becomes an enemy to other faction NPCs and Guards and an ally to his own.

Dunno if I am right. Just check it and be that nice to report any problems and solutions, it can save my time :D

element


keyonne

I have used your ABS system in a previous game of mine, but I have been having difficulties with it in one of my newer ones. when the system is installed, the game will load, but the controls do not work. i thought that this was perhaps an incompatibility issue, so I took each of my other scripts out one at a time, and I am still having issues. The problem begins immediately on the main menu screen, you cannot move the cursor, nor select the option it is already set on.

stripe103

In the configuration, do you have CUSTOM_CONTROLS option set to true? I forgot this one time and it took me hours to find. :D

[Luke]

Quote from: keyonne on August 19, 2010, 01:22:08 pm
I have used your ABS system in a previous game of mine, but I have been having difficulties with it in one of my newer ones. when the system is installed, the game will load, but the controls do not work. i thought that this was perhaps an incompatibility issue, so I took each of my other scripts out one at a time, and I am still having issues. The problem begins immediately on the main menu screen, you cannot move the cursor, nor select the option it is already set on.

Check if:
1. the script order is right
2. options "Custom controls" and "Disable default controls" are on
3. the version of RMXP is 1.02
4. the default controls didn't go bonkers (F1 and check'em all)
5. re-re everything - make utterly new empty game with no scripts changed and install ABS as it should be done - if it works now, copy all your game's stuff one by one into the empty project

Then, if it's still bushing out*, add some details about the issue.

* to bush out - well, I've just made the phrase up, it's a literal translation of Polish IT colloquialism "wykrzaczyć się" :D

keyonne

Thank you for the help. I just had surgery so my meds are clouding my common sense. The custom controls were not on, but they were indeed the issue. The movement keys were set to wasd rather than the arrow keys, so i thought they werent working. Everything is up and running now, thanks so much.

[Luke]

An important note to everybody new who have issues with controls: In the text input section (near the line 4600), change every Input::(UP/DOWN/LEFT/RIGHT) to Input::Key['Arrow Up/Down/...'], the same with Input::C to Input::Key['Enter'] and Input::B to Input::Key['Esc']. That will make you able to use the WSAD keys for movement and, for example, F or H for keys "confirm" and "cancel".

Blizz, that is a suggestion for the next release, same as open PvP on selected maps/every map but the selected ;)

legacyblade

You don't need to do that luke. BlizzABS will automatically replace the default controls if you turn on the setting to do so.

Blizzard

*points to his signature and to winkio's signature*

Also, what LB said. The system was made to avoid unnecessary script edits like that. Otherwise it defeats half the purpose of the custom controls.
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.

[Luke]

August 20, 2010, 01:36:22 pm #3757 Last Edit: August 20, 2010, 02:16:27 pm by [Luke]
Gawdamnit, wrong thread. I meant the RMX-OS script. I had some issues with the chat box (typing "wasd" was causing them). My bad.

ShadowPierce

->I've been working on Wipe but this is the first time this happened... (~_~) I considered asking here as a last resort but I guess I've got no choice... Sorry for the trouble... :( :n00b:

Spoiler: ShowHide

This happens randomly... Usually when I cast my fire spell (uses a combo to jump 1 tile backwards) If I missed a detail, please let me know & I'll edit this post... Thanks! :D




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

Ryex

*Gasp* Winko! the VERSION constant is still 2.7! isn't it supposed to be 2.8?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />