Results 1 to 26 of 26
  1. #1
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default Pawn hurt when touched

    How do i make a pawn hurt me when it touches me without using a dynamic trigger volume.

  2. #2

    Default

    Check this tutorial material: http://udn.epicgames.com/Three/Devel...tarterKit.html

    In it, the EnemyPawn run towards you, and then explodes, hurting you.

  3. #3
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    I just want to use Kismit, no code, also i want it to hurt me when it touches me because its a zombie.

  4. #4
    Boomshot
    Join Date
    May 2011
    Location
    Chicago
    Posts
    2,215

    Default

    Quote Originally Posted by Chay Hawk View Post
    I just want to use Kismit, no code, also i want it to hurt me when it touches me because its a zombie.
    You can't. Using a trigger volume to trigger the damage to the player is the only way to do it with Kismet, and you already said you don't want to do that. The only other possible way is to code this behavior yourself.

  5. #5

    Default

    I'm fairly new to this, but from what I researched about it, the best way to go, is to code a SequenceEvent Bump, and change your pawn code, or even the Actor code, to fire TriggerEventClass for this SeqEvent when Bump is called. Sorry for not being able to help you further.

  6. #6
    MSgt. Shooter Person
    Join Date
    Mar 2012
    Location
    Jacksonville
    Posts
    72

    Default

    JessieG is right. You should attach a trigger volume or use any Actor attached to the pawn as the trigger. Any particular reason why you don't want to use a trigger volume?

  7. #7

    Default

    I've finished implementing it, with custom Kismet Events, do you want the files?

  8. #8
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    Yes ill take the files thank you now I can do it with a dynamic trigger but the only problem with that is that the dynamic trigger will not attach itself to tbe pawn no matter what, I have used the attach to actor in conjunction with level loaded but it just wont move with the pawn. The pawn is being spawned via a path node, not sure if that affects anything. So if you can help me to get the trigger volume to move with the character then ill do that.

  9. #9
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    Please help i need to finish this

  10. #10

    Default

    I've posted the link, but the forum said an administrator had to authorize the post.

  11. #11

    Default

    Here: https://dl dropbox com/u/1070009/BumpEvent.rar
    Add dots

  12. #12
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    Thanks i still would like to know how to attach volumes to pawns in case i need it in the future which im sure i will
    Last edited by Chay Hawk; 07-13-2012 at 08:22 PM.

  13. #13
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    I tried it and it didnt work, i then tried to open your map but the UDK crashed D:

  14. #14

    Default

    Strange, u have the latest version of UDK(May)?
    You copied the files and made a build of the code before opening the map?

  15. #15
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    yes to all

  16. #16

    Default

    When u build, what does the batch file says? does it gives any warning or errors?

  17. #17
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    No it says everything compiled correctly.

  18. #18

    Default

    I will only be back at home tomorrow, then I will check if I forgot to send any file, sorry.

  19. #19
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    ok thanks.

  20. #20

    Default

    Checked the files here, everything I did is in the rar file. What exactly does UDK says when it crashes?

  21. #21
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    Nothing specific, it just says that Built with UDK.exe has stopped working

  22. #22

    Default

    If you create a new level, in Kismet, try creating a new node of type Event->Physics->Bump, is it there?

  23. #23
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    ys its there but the pawn doesnt hurt me when he touches me.

  24. #24

    Default

    It won't hurt you, just fire an event saying that someone bumped into someone, look at this screenshot to understand what u must do to make it hurt the player:


    The bump event is registered with the enemy that spawned.

  25. #25
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Location
    Michigan, USA
    Posts
    486

    Default

    Ok it works now, awesome thanks

  26. #26

    Default

    No problem mate, glad to help


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.