Announcement

Collapse
No announcement yet.

Quickie Blueprint Example: Spawn a Replicated Actor on the server-side using Blueprint

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Quickie Blueprint Example: Spawn a Replicated Actor on the server-side using Blueprint

    Here's how you do it, since I've been asked a few times

    Click image for larger version

Name:	BPSpawn.jpg
Views:	1
Size:	304.6 KB
ID:	1156186

    #2
    You guys are too awesome. Thank you!

    Comment


      #3
      Well there goes me being productive at work today, I need to mess around with this a bit!
      Main Mod: Statera Vis | Other Neglected Mod: Rebalance Mod Lite
      Guides: References and You - Down the Rabbit Hole

      Comment


        #4
        im just wondering how i get in contact with someone in the ark dev team to fix problems with server side spawning? im currently making a teleport system and it works in pie but not in ark
        Creater of Btac Remap http://steamcommunity.com/sharedfile.../?id=491313948

        For questions or help see me on teamspeak @ 223.252.38.169

        Gankey ind. doing stuff right the first time <3

        Comment


          #5
          Can you explain more about what is this do? I'm new to UnreadEngine so dont really familiar with the term like actor, bp

          Thanks,
          [WIP]
          ------------------------------------------------------------
          Ark Revise Mod - DinoIslandPVE
          ------------------------------------------------------------

          Comment


            #6
            Originally posted by gankey69 View Post
            im just wondering how i get in contact with someone in the ark dev team to fix problems with server side spawning? im currently making a teleport system and it works in pie but not in ark
            @gankey Does it work in Local Play at all?

            @ Nguyen Ken; Take a look at Canna-Ark's "Distraction Arrow" for a real example of how it was used. Basically before I blueprinted in the authorities for the spider to spawn in on server side, it was just spawning in client side. The problem with that is, if it is not called on by the server, then it won't actually be spawned in a server setting! So how you fix that is by using a blueprint like this to dictate it's spawn being on server side and giving it those needed authorities. Hope this helps

            Comment


              #7
              Any idea of how to set the ownership of the spawned actor?

              Comment


                #8
                asked many times no reply unfortunatly
                Creater of Btac Remap http://steamcommunity.com/sharedfile.../?id=491313948

                For questions or help see me on teamspeak @ 223.252.38.169

                Gankey ind. doing stuff right the first time <3

                Comment


                  #9
                  Originally posted by gankey69 View Post
                  asked many times no reply unfortunatly
                  I gave the best answer I could in the other thread it was asked in, but I don't truly know myself at this point. I mentioned how I would first attempt to try it, but I don't think that would work as intended :/

                  I wanted originally the Distraction Arrow to summon a spider that is owned by the player who summons it, but I couldn't ever figure out a way at the time (was in a way older version of the dev kit).

                  Comment


                    #10
                    i have tryed a few workarounds and asked a few game devs that i no and we have all come to the conclusion that without proper info in the devkit and it being restricted so much that almost 80% of what we do will either cause problems with conflicting graphs or just not work cause every game is different and every game is setup different unfortunately so unless they give us access to the proper files not just pick and choose what they give us alot of what we wish to do will just end in failure anyway..
                    Last edited by gankey69; 08-18-2015, 09:12 PM. Reason: Spelling omg :P
                    Creater of Btac Remap http://steamcommunity.com/sharedfile.../?id=491313948

                    For questions or help see me on teamspeak @ 223.252.38.169

                    Gankey ind. doing stuff right the first time <3

                    Comment


                      #11
                      Well, any idea on how to access the cheat codes maybe? If i could get a peak at how the forcetame command works.

                      On the other hand it should be possible.( one day i hope) to set ownership in the graph :/

                      Well i ll make my dodo kamikaze hyper agressive then, it should work.

                      Any idea on how to make a dino attack structures in AI ? ( will look into it, but if anyone knows already...)

                      Comment


                        #12
                        Originally posted by gankey69 View Post
                        asked many times no reply unfortunatly
                        How to assign a targeting team for a spawned actor from an item

                        Here you go;

                        Implement a tick in the blueprint

                        Then get all actors in range

                        Then get the targeting team of the actors within range and the class

                        *If* it is a shooter character with the same targeting team as the object, then have it do the desired action (use a Boolean to only do it once upon entering the range)

                        Comment


                          #13
                          Originally posted by sinarisinestro View Post
                          How to assign a targeting team for a spawned actor from an item

                          Here you go;

                          Implement a tick in the blueprint

                          Then get all actors in range

                          Then get the targeting team of the actors within range and the class

                          *If* it is a shooter character with the same targeting team as the object, then have it do the desired action (use a Boolean to only do it once upon entering the range)

                          legend <3 have u got that on a graph? (for the bping post and wiki?)
                          Creater of Btac Remap http://steamcommunity.com/sharedfile.../?id=491313948

                          For questions or help see me on teamspeak @ 223.252.38.169

                          Gankey ind. doing stuff right the first time <3

                          Comment


                            #14
                            This is great, thanks. Is there any way to get what object the projectile hit? Tried the standard "Event hit" but that never gets called for the arrow for some reason.

                            Comment


                              #15
                              Hi.

                              Anyone knows how can i get a list of personal or tribe OWNED dinos in a range of 50 meters of a structure and randomly generate an egg of one of them in the inventory of an structure?

                              Thanks.

                              Comment

                              Working...
                              X