Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 146
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: new double dragon caos (jia)  (Read 20843 times)

0 Members and 1 Guest are viewing this topic.

Offline jesus

  • Jr. Member
  • **
  • Posts: 73
Re: new double dragon caos (jia)
« Reply #105 on: April 08, 2012, 10:02:39 am »
I have a new problem Bloodbane, i'm trying to make my first script and i don't know why it don't work, i'm using these events but OpenBOR don't detect it correctly, maybe you can say where is the problem...



On Model: (OpenBOR only detect "onmoveascript" event apply to "knife" entity, when it bounces in wall, all another events are ignored by OpenBOR)

     onblockwscript  data/scripts/tmp.c
     onmoveascript   data/scripts/tmp.c
     onmovexscript   data/scripts/tmp.c
     onmovezscript   data/scripts/tmp.c



On "tmp.c" script: (only want to test that OpenBor detect a few events)

     void main()
     {
       drawstring(4, 200, 0, "current players: " + openborvariant("count_players"));
     }
« Last Edit: April 08, 2012, 10:05:25 am by jesus »

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: new double dragon caos (jia)
« Reply #106 on: April 08, 2012, 11:59:36 pm »
 Have you set subject_to_wall 1 to your knives?
 This is to ensure your knives can be blocked by walls

 If this doesn't work, there's still another way :). I'll let you know after you tried that.
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline jesus

  • Jr. Member
  • **
  • Posts: 73
Re: new double dragon caos (jia)
« Reply #107 on: April 09, 2012, 04:23:42 am »
Yes, i tried both modes, it don't work anyway.

It's about "onblockwscript" event, but the full problem is that i can't make OpenBOR detect a few simple events like "onmovexscript" or "onmovezscript".

It only detects "onmoveascript" event and only when i use knife entity (just when it bounces in wall)... :(
« Last Edit: April 09, 2012, 04:28:11 am by jesus »

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: new double dragon caos (jia)
« Reply #108 on: April 11, 2012, 01:32:16 am »
 I don't understand why do you need to use onmove scripts.
 Are you trying to detect walls to allow Billy and Jimmy to climb walls?
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline jesus

  • Jr. Member
  • **
  • Posts: 73
Re: new double dragon caos (jia)
« Reply #109 on: April 11, 2012, 01:32:00 pm »
I was trying to achieve that a barrel bounces in walls like a knife (for example).

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: new double dragon caos (jia)
« Reply #110 on: April 12, 2012, 12:21:51 am »
 Hmmm.... try adding this in barrel's IDLE

Quote
@script
    void self = getlocalvar("self");
    int x = getentityproperty(self,"x");
    int z = getentityproperty(self,"z");
    int y = getentityproperty(self,"a");
    int dir = getentityproperty(self,"direction");
    float Vx = getentityproperty(self,"xdir");

    int H = checkwall(x,z,y);

    if( H != 0 ){ // Hits wall?
      changeentityproperty(self, "velocity", -Vx);
      if(dir==0){ // Facing left?
        changeentityproperty(self, "direction", 1);
      } else {
        changeentityproperty(self, "direction", 0);
      }
    }
@end_script

 I use this script cause type none entities can't use subject_to_wall at all.
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline jesus

  • Jr. Member
  • **
  • Posts: 73
Re: new double dragon caos (jia)
« Reply #111 on: April 12, 2012, 08:57:40 am »
Thanks Bloodbane, your script seems a good option, i'll try to use. :)

Offline wobblygrant

  • Jr. Member
  • **
  • Posts: 4
Re: new double dragon caos (jia)
« Reply #112 on: May 02, 2012, 12:13:31 pm »
when is this game going to be relaeased,i want to play it.  >:(

Offline realgamer08

  • Jr. Member
  • **
  • Posts: 3
Re: new double dragon caos (jia)
« Reply #113 on: May 07, 2012, 03:23:02 am »
i can't wait for it

Offline wobblygrant

  • Jr. Member
  • **
  • Posts: 4
Re: new double dragon caos (jia)
« Reply #114 on: May 17, 2012, 08:16:41 am »
come on let us know when its finished please ,we need another good double dragon game to play. :'(

Offline agu

  • Full Member
  • ***
  • Posts: 158
Re: new double dragon caos (jia)
« Reply #115 on: August 14, 2012, 04:00:41 am »
Finish it as fast as you can, I'm anxious to see it  :wow!:
My main projects:

The Fearless Warriors  Edited Version 2012 (In Progress)

Offline darknior

  • Sr. Member
  • ****
  • Posts: 357
Re: new double dragon caos (jia)
« Reply #116 on: August 14, 2012, 07:00:01 am »
I really like your work too ... it is the best clone i ever see !
Just, try to make it in english please :p

 



 0%




mighty
SimplePortal 2.3.3 © 2008-2010, SimplePortal