Search results

  1. Bloodbane

    followcond/anim

    Hmmm... I have 2 ideas for scripted blocking system: 1. Damage script which nullifies latest damage and changes animation to new "block" animation. 2. Ondoattack script which nullifies latest damage and changes animation to dodge animation. It's similar to the one I've shared in this thread.
  2. Bloodbane

    Spawn and camera question

    Oh spawn1 & spawn2 would only spawn respective player onscreen. If you want to spawn player offscreen or should I say couple screens from starting spot, you need to script like this: spawn Empty @script void main() { void P1 = getplayerproperty(0, "entity"); if(P1){...
  3. Bloodbane

    Complete Double Dragon Reloaded alternate - Updated version!

    Hmmm... I've just recalled that the script use findtarget function and that function uses range setting to check opponent distance. So try setting range in both enemy's IDLE and WALK and see if enemy would react better.
  4. Bloodbane

    followcond/anim

    Umm... player would react by either playing PAIN or FALL upon getting hit so why would you want to change that? Or maybe you want player to followup if player hits something instead while in IDLE/WALK/RUN?
  5. Bloodbane

    Complete Double Dragon Reloaded alternate - Updated version!

    Thank you, here's the combined script: void main() { void self = getlocalvar("self"); //Get calling entity. void other = getlocalvar("other"); int which = getlocalvar("which"); void Anim = getentityproperty(self,"animationID"); int attacktype1 = getlocalvar("attacktype")...
  6. Bloodbane

    Solved How to setup traps properly (?)

    As Ilu posted above, attackbox is sufficient for landmines. Though for your scripted method, the detection function is slightly different than mine. The biggest difference is in IDLE. In your IDLE, the function is delcared once so the detection is once every 3x8 centiseconds. In my IDLE, the...
  7. Bloodbane

    Spawn and camera question

    How exactly did you spawn the character?
  8. Bloodbane

    followcond/anim

    I couldn't recall any game using such scripts. So I've coded this simple example to demonstrate that: anim freespecial @script if(frame==0){ void self = getlocalvar("self"); changeentityproperty(self, "opponent", NULL()); } if(frame==7){ void self =...
  9. Bloodbane

    Complete Double Dragon Reloaded alternate - Updated version!

    Thanks. I've read the header to find this line: You should find ondoattack.c instead and copy the scripts from pinododge.c there. But allow me to do that for you, can you post ondoattack.c in your reply?
  10. Bloodbane

    Complete Double Dragon Reloaded alternate - Updated version!

    I don't have this game so can you attach enemy's say Roper's text in your reply?
  11. Bloodbane

    Photoshop making Openbor crash

    There might be option to do that in graphic editor you're using when drawing this image. Here's the image with antialias effect removed:
  12. Bloodbane

    followcond/anim

    Only with script.
  13. Bloodbane

    Photoshop making Openbor crash

    You could use any graphic editor for that purpose.
  14. Bloodbane

    Photoshop making Openbor crash

    This is my attempt on the image: There are anti aliasing effects there but it shouldn't be too hard to clean them.
  15. Bloodbane

    Complete Double Dragon Reloaded alternate - Updated version!

    That's the mistake. You are supposed to copy the script file which is PinoDodge.c from Sailor Moon to your game, to data/scripts folder. Then declare that script in the same way as Pino, which is like this: ondoattackscript data/scripts/pinododge.c in enemy's header text.
  16. Bloodbane

    Complete Double Dragon Reloaded alternate - Updated version!

    Hard to say without required information. First, how exactly did you copy that script from Sailor Moon demo? Second, how did you apply the script to enemies in this game? Third, what did the log say after the crash?
  17. Bloodbane

    Solved Enemies at the edge of the screen

    There are two solutions I have in mind : 1. Put two large invisible blockers just offscreen fighting area. One to the left and the other to the right. This will prevent enemies from getting knocked too far offscreen from both sides. If fighting area were a wait or limited scrolling area and has...
  18. Bloodbane

    Photoshop making Openbor crash

    You need to use video.txt to define resolution. If you don't have it, then just create one. Read manual for more info about video.txt.
  19. Bloodbane

    Photoshop making Openbor crash

    Strange, I've tried putting the image in OpenBoR and it is displayed fine, including the antialias. Maybe the crash is caused by something else.
  20. Bloodbane

    Is using scripts easy for beginner?

    There might be some scripts for your purpose but you should be more specific: what are the conditions or situations in which enemies should react better? and what should they do? For instance, you could use ondoattackscript to make enemy dodge running attacks. A boss from Sailor Moon demo has...
Back
Top Bottom