[XP] Blizz-ABS

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

Previous topic - Next topic

RoseSkye

October 20, 2009, 09:38:25 pm #2560 Last Edit: October 20, 2009, 09:42:23 pm by RoseSkye
Quote from: nathmatt on October 20, 2009, 07:09:41 pm
ur party starts like this the the u play as is 0 then the next 1 is 1 ect...

$game_party.actors[0]


You can't force the player to do that.. tried it.
$BlizzABS.actor_force_action(0, ENEMIES, SKILL, 2)

Blizzard

Actually you can. I had no problems forcing immediate actions on the player.
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.

Holyrapid

I´m getting a weird error when i´m trying to use BABS configuration thing. All works fine, until i try to generate the script... Then it gives me a weird error. I don´t even know what it´s saying... I´ll post it here, if needed. The weirdest thing is that it worked before, but now it´s just suddenly giving me the error. Didn´t do a thing to it when i re-installed the thing. And it´s not about that it´s not being in the game folder...
Help please.

RoseSkye

How do I detect if a specific enemy event is in a certain range proximity of the players character?

Also how would I detect if a troop is ... blah blah above statement  of the character.

Blizzard

*points to manual and the "enemy_can_see?", "enemy_can_hear?", etc. script calls* -_-

Quote from: Pyhankoski on October 21, 2009, 06:14:05 am
I´m getting a weird error when i´m trying to use BABS configuration thing. All works fine, until i try to generate the script... Then it gives me a weird error. I don´t even know what it´s saying... I´ll post it here, if needed. The weirdest thing is that it worked before, but now it´s just suddenly giving me the error. Didn´t do a thing to it when i re-installed the thing. And it´s not about that it´s not being in the game folder...
Help please.


Post it, I can't do much if I don't know the error.
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.

RoseSkye

October 22, 2009, 10:26:23 am #2565 Last Edit: October 22, 2009, 10:42:24 am by RoseSkye
Quote from: Blizzard on October 22, 2009, 06:05:28 am
*points to manual*


That doesn't answer my question. That triggers only when enemies can see/hear not when .. well I'll show you what I'm using now.


$BlizzABS.enemy_has_memorized?(TROOP, ACTORS, 0)
$BlizzABS.enemy_can_percieve?(TROOP, ACTORS, 0)

I want to trigger it before the enemy hears the player though.. and when an enemy is a few tiles in front of the player.. different players have different perception distances.




Also in terms of defense I'm going to event something called "Defense break". So I guess I don't need to ask this question >.>

So.. how do I remove Ally Behavior from the menu?

G_G

what he wants is like when an event is x amount of squares away from the player because each actor has its own perception area which then notifies the party a monster is near.

Well I think thats what he's saying.

Blizzard

if !$BlizzABS.enemy_can_hear?(TROOP, ACTORS, 0)
 if switch X is off
   turn on switch X
   turn on your stuff
 end
else
 turn off switch X
end

Duh.
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.

RoseSkye

Quote from: Blizzard on October 22, 2009, 10:56:57 am
if !$BlizzABS.enemy_can_hear?(TROOP, ACTORS, 0)
 if switch X is off
   turn on switch X
   turn on your stuff
 end
else
 turn off switch X
end

Duh.


That's enemy Blizz.. what I'm trying to do is give the player a sight/hear range for enemies.

Blizzard

Actors have a predefined range to see everything the player sees on the screen. I hardcoded it, you'll have to change the script for that.
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.

RoseSkye

Quote from: Blizzard on October 22, 2009, 11:09:46 am
Actors have a predefined range to see everything the player sees on the screen. I hardcoded it, you'll have to change the script for that.


I figured.

So.. how do I remove Ally Behavior from the pre-menu?

Blizzard

It was posted a few times already. *points to search button* :P
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.

RoseSkye

Quote from: Blizzard on October 22, 2009, 01:36:25 pm
It was posted a few times already. *points to search button* :P


=/ I know. I searched for it ~.~ so many pages.. I'll find it though.

Blizzard

I think I mentioned it recently. And that's why I said "search button". xD So you don't have to search manually. BTW, try to find "Ally Behavior" and "AI Triggers". That should give you the best results.
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.

Xelias

Question : What is the corresponding time between Status effect duration and real time duration ?


My sprites
Kuja Tales of the World style :

Blizzard

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.

Xelias

Thanks

Worst part is, I actually searched in this category. :haha:


My sprites
Kuja Tales of the World style :

Blizzard

I know. I need to split that chapter and organize everything a bit better there.
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.

Holyrapid

I´m sorry, but parts of it are in finnish. You can use something like google translate, or ask me their translations.

Spoiler: ShowHide
************** Poikkeuksen teksti **************
System.ArgumentOutOfRangeException: Indeksi oli sallitun alueen ulkopuolella. Indeksi ei saa olla negatiivinen, ja sen on oltava kokoelmaa pienempi.
Parametrin nimi: index
   kohteessa System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   kohteessa System.ThrowHelper.ThrowArgumentOutOfRangeException()
   kohteessa BlizzABS.Utility.Generator.genDestruct(List`1 enemies)
   kohteessa BlizzABS.Utility.Generator.genEnemiesModule()
   kohteessa BlizzABS.Utility.Generator.genBlizzABSModule()
   kohteessa BlizzABS.Utility.Generator.GenerateScript(Configuration newCfg, GameData newGameData)
   kohteessa BlizzABS.Forms.WinConfig.generateScript_Click(Object sender, EventArgs e)
   kohteessa System.Windows.Forms.Control.OnClick(EventArgs e)
   kohteessa System.Windows.Forms.Button.OnClick(EventArgs e)
   kohteessa System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   kohteessa System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   kohteessa System.Windows.Forms.Control.WndProc(Message& m)
   kohteessa System.Windows.Forms.ButtonBase.WndProc(Message& m)
   kohteessa System.Windows.Forms.Button.WndProc(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   kohteessa System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   kohteessa System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ladatut kokoonpanot **************
mscorlib
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Blizz-ABS Config
    Kokoonpanon versio: 2.5.4.1
    Win32-versio: 2.5.4.1
    Koodikanta: file:///F:/Rpg%20Maker/Rozarias%20Tale/Blizz-ABS%20Config.exe
----------------------------------------
System.Windows.Forms
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms.resources
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fi_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
    Kokoonpanon versio: 2.0.0.0
    Win32-versio: 2.0.50727.3053 (netfxsp.050727-3000)
    Koodikanta: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------

************** JIT-virheenkorjaus **************
JIT-virheenkorjauksen käyttöönotto edellyttää, että tämän
sovelluksen tai koneen kokoonpanon määritystiedostossa (Machine.config)
on jitDebugging-määritys system.windows.forms-osassa.
Virheenkorjaus on myös oltava käytössä sovellusta
käännettäessä.

Esimerkiksi:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Blizzard

October 24, 2009, 05:25:29 am #2579 Last Edit: October 24, 2009, 05:26:50 am by Blizzard
I already know what happened. But I have no idea why. What did you do to cause that bug? I mean what did you do BEFORE you pressed the "Generate script" button.
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.