Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Shkwarkel

Members
  • Content count

    17
  • Joined

  • Last visited

About Shkwarkel

  • Rank
    Warming Up

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Shkwarkel

    The thing turns to face the player.

    Domyślnie przedmioty są zawsze zwrócone w stronę gracza. Ja chcę obrócić obiekt w konkretnym kierunku. Aby patrzył tylko w jednym kierunku, a nie obracał się w stronę gracza.
  2. Shkwarkel

    The thing turns to face the player.

    When add this flag, the picture moves away.
  3. Shkwarkel

    The thing turns to face the player.

    I did it, but the item is still rotating on me.
  4. Shkwarkel

    The thing turns to face the player.

    I tried it, indeed the thing doesn't move, but the picture is completely off.
  5. Shkwarkel

    The thing turns to face the player.

    I changed the name, but all I get is an error.
  6. Shkwarkel

    The thing turns to face the player.

    I know how animations work. Here are the animations for my weapons. But how to make it so that the object is static and looking in one direction, not at the player. I'm sorry, I probably didn't explain what I need.
  7. how to disable turning an thing to face the player? Is that even possible? If anyone has done this, please share the solution. I have a task to make a waterfall. I want to replace the frames with animation of the waterfall with some thing. But for this I need to turn off the normal rotation of the thing towards the player. Because the waterfall should not turn around to face the player, it should be static. I will attach a photo of what I mean by the word "thing" and I want to replace it with a photo of the waterfall, with animate more.
  8. how to disable turning an thing to face the player? Is that even possible? If anyone has done this, please share the solution. I have a task to make a waterfall. I want to replace the frames with animation of the waterfall with some thing. But for this I need to turn off the normal rotation of the thing towards the player. Because the waterfall should not turn around to face the player, it should be static. I will attach a photo of what I mean by the word "thing" and I want to replace it with a photo of the waterfall, with animate more.
  9. Shkwarkel

    Button sticking when pressed [SOLVED]

    Could there be any problems? Everything seems to be working fine after a few tests. But thanks for the message, if something goes wrong I will try to change the code.
  10. Shkwarkel

    Button sticking when pressed [SOLVED]

    Its working! Thank you
  11. Problem: I want to make pressing the Q key restore health by 20 points. But when I press Q, the script starts adding 20 points to health and I don't know how to stop it. Please help Code KEYCONF: addkeysection "My Keysection" MySampleKeysection addmenukey "User action 1" my_userbind1 alias my_userbind1 "+user1" defaultbind q my_userbind1 Code SCRIPTS: script 1 ENTER { int health = GetActorProperty(0, APROP_HEALTH); while(true) { int buttons; buttons = GetPlayerInput(-1, INPUT_BUTTONS); if (buttons & BT_USER1) { Print(s:"Hello"); SetActorProperty(0, APROP_Health, health + 20); } Delay(1); } }
  12. Shkwarkel

    hudmessage on top of another hudmessage [SOLVED]

    The solution to the problem was incorrect idexation in hudmessage. The smaller the number in the index the higher the layer will be. Accordingly, I set the photo for the background of the interface to 100, and the other elements from 1 and more, but not more than 100. And then it turns out that you can set inscriptions on the background of the picture. Code: script 1 ENTER { //Show health SetHudSize(220, 200, 1); SetFont("BIGFONT"); HudMessage(d:(health); HUDMSG_PLAIN, 1, CR_GREEN, 47.5, 184.0, 1.0); health = GetActorProperty(0, APROP_HEALTH); Delay(1); } script 2 ENTER { //Show hud SetFont("HUTER"); SetHudSize(0, 0, FALSE); HudMessage(s: "A"; HUDMSG_PLAIN, 100, 0, 0.5, 1.0, 0); }
×