Search results

  1. Crimsondeath

    Solved Control when an entity drops their weapon (?)

    Hi again, the weapons entities I use in my project have this property: name Atlas6 type none score 40000 5 shadow 5 weaploss 0 6 <---- weapon is lost and dropped on any hit. weapnum 6 atchain 1 paingrab 1 knockdowncount 15 Which is working great, but there are types of attacks that use...
  2. Crimsondeath

    Solved How to setup traps properly (?)

    Hi everyone, I've more or less got this part working, the issue I'm having is that the mines (or the traps in general) I've created don't activate immediately. I have to walk through them several times before they attack. Here's how the mine is coded, for example: name Mine type trap...
  3. Crimsondeath

    Solved Enemies at the edge of the screen

    This most commonly happens in 2 player games, There are areas where the enemy (or boss) leaves the screen due to attacks where they are thrown by the players (or dodge their attacks backwards): I don't know if it's possible to make enemies "not leave the screen" (or leave just a little), I...
  4. Crimsondeath

    Solved DOT Damage Absorb Problem

    Hi everyone, I have an issue with the DOT (Damage Over Time) command. I’m using a script that converts damage into MP. ... void damageabsorb() { void self = getlocalvar("self"); float damage = getlocalvar("damage"); float mp = getentityproperty(self, "mp"); float mpgain =...
  5. Crimsondeath

    Solved The enemy hits you one time and can't hit you again

    It's an strange bugs that's happening and I don't know why, it's present on Silver Night's Crusaders and I'm looking to fix it x.x . Here is the entity: name Black_Dragon_ health 72 nomove 1 1 type enemy noquake 1 nopain 1 nodrop 2 setlayer...
  6. Crimsondeath

    Solved Give lives to the player by Score given by Script

    Hi again, I don't know where to put this topic (Ask and Answer or Scripting), but is there a script to give lifes to the player? I know there is a "lifescore {int}" in the OpenBOR Manual, but when I give points to the player by script, for example: changeplayerproperty(0, "score"...
  7. Crimsondeath

    Solved Disable a character selection just in one scene or stage.

    Hi again, I just want to disable a player character for one stage scene. For example I want to disable "Atlas" for just the stage 4 (part 3) using the levelscript. And make him available once the player finish that stage 4 (part 3), using the endlevelscript. I read in the OpenBOR manual...
  8. Crimsondeath

    Solved Getting "bor.hi" information?

    Hi to everyone (here we go again x.x), I just have been successful using a "Initials Input Script", a nice feature that allows players to sign their scores: So now I can show players initials and the character they used :D But... I just want to ask if it's posible to get the hi scores list...
  9. Crimsondeath

    Solved Final Fight 1 Credit Bonus Scene.

    Hi to everyone :D . It's posible to do something like the Final Fight Omake ending? It's a scene that only appears if player beats the game without losing a credit. How can I do it with OpenBOR Scripts? :unsure: I haven't found a method to count lost credits in the manual. Edit: Ok I could...
  10. Crimsondeath

    Hide or remove Game Mode (Difficulty Set?)

    Hello to everyone :D , I want to use a Difficulty set as an animated intro (I don't want to use gif animations anymore xd). So I discovered the skiptoset option to skip the menu title and going to the stage where I'm going to put the animated intro: But at the end of the video you can see...
  11. Crimsondeath

    Spawn String on Frames (EDIT)

    Hi again, BIG EDIT: Ok, looks like I'm almost to solve this problem, just need that the stats and player name don't blink :( : Here is my code: anim waiting loop 1 delay 1 offset 49 202 fshadow 0 @script if(frame >= 0 && frame <= 3){...
  12. Crimsondeath

    Solved Simulate Boss death for a normal enemy (?)

    Well something I noticed when a boss dies in OpenBOR (besides the classic slowmotion screen xd) is that the stage stop scrolling if player walks on the edge of the screen, obstacles became unbreakable and items with 'itembox' (the hit box to pick up the item just touching it) stop working. So I...
  13. Crimsondeath

    Solved White screen with drawbox method (?)

    Hi again! I hope everyone had a great start to the new year! Well, I need help to create a huge flash from a explosion (those kind of explosions that turns the screen totally white and them fade away smoothly). So I try to do it with the drawbox method, but there is a problem: name...
  14. Crimsondeath

    How to properly get or change "Defense" value?

    Hi again, I'm using this script as onmodelcopyscript when enemies pick up a weapon or I give the weapon to them by special events: The problem is that some "defense" values aren't changed properly (and don't know why). For example: I make an enemy inmune to ATK_NORMAL and very resistant to...
  15. Crimsondeath

    Solved Helicopter in the background

    Hi again. It's possible to stick an entity to the background and make it moves only in it? I need it for this helicopter enemy: It's also posible that the helicopter balance a little, on the direction he is moving? Here is the full Helicopter Code: Thanks
  16. Crimsondeath

    Get "Thold", "Quake" (and other variables) with onmodelscript?

    Hi to everyone I have read the OpenBOR manual. If I understand right, some values from the model header aren't posible to get using "getentityproperty" but there is another way to get it and use it in the onmodelscript? I need the follows to load in the weapons models: thold 21 noquake 1 shadow...
  17. Crimsondeath

    Solved Get "falling death" direction from an Obstacle?

    Hi again, When I kill an obstacle their "parts" are throw away in the same direction he is facing (I'm using the tosser & tosserAnim script): I think the issue is when the obstacle dies (and fall) he always face the same direction while falling, no matters if the hit comes from left or right...
  18. Crimsondeath

    Solved Moving Vertically through the Terrain

    Hi again, it's me mar...erm... I mean Crimsondeath xdddd. Well, umm it's posible to move an entity vertically through the Terrain? I have used : subject_to_basemap 0 no_adjust_base 1 And the entity moves vertically but didn't pass though the ground (terrain). Here is the entity header: name...
  19. Crimsondeath

    Solved Count killed enemies (?)

    Hi again, I'm remaking the second bonus stage of Neon Lightning Force, so I'm having a little trouble with the enemy killed counter. It doesn't update when an enemy is killed x.x: Here are the code lines I'm using: update.c void main(){ setglobalvar("language", 1)...
  20. Crimsondeath

    Solved Change Player entities Name (?)

    I'm using a global var to change enemy names for translation purpose on update.c script: void main(){ // Set 0 to English // Set 1 to Spanish setglobalvar("language", 1); } It's working great on enemies using the onspawnscript: void main() { int idioma =...
Back
Top Bottom