#more FPV Drone test

1 messages · Page 1 of 1 (latest)

foggy sundial
#

Love the work so far but I have to warn you, have you been testing this in multiplayer? I have attempted the same and the possession/control aspects were very hard to work with, not to mention things like VON

reef pawn
#

how can i test it in multiplayer ?

#

is hosting a server required

foggy sundial
#

You can try using Peertool first

reef pawn
foggy sundial
#

It will help simulate multiplayer, it's a plugin in World Editor you can start it from the play button click the lil arrow, here's example config #enfusion_generic message

reef pawn
#

how accurate is the replication on peertool to what will be on the final server ?

foggy sundial
#

I would say 95%

#

Some differences like Sound Component and GUI does not exist on dedicated server

#

Because dedicated server is headless

reef pawn
#

yeah makes sense

#

am assuming also rendering components also

#

also, can you tell me more about possession

#

cause i was wondering what is the proper way to handel it

foggy sundial
#

I did it similar way to how game master possesses AI characters

#

with SetPossessedEntity or whatever it was

reef pawn
#

is that replicated ?

foggy sundial
#

It's called on the server and it should be, but you need to handle activation of camera and input on your end probably

reef pawn
#

so i wonder hmm

foggy sundial
#

complexity inflates rapidly when replication gets involved

#

also if it's not a character, you can't listen to radio chat

reef pawn
#

lol

#

i was thiking maybe avoid possession

#

and just pass inputs from character to drone

#

if the character is holding controller

foggy sundial
#

I dont know for sure but the character might disappear from the game when the camera moves out of replication range, wtf happens then I have no clue

#

as in it will be streamed out

#

I hope not since its technically controlled, but replication range is based on camera position not controlled entity position

reef pawn
#

ahh true, the server probably only streams a raduis around the player

#

easy fix

#

make drone range same as replication range XD

#

if you go out

#

disconnect

foggy sundial
#

probably yeah

reef pawn
#

i need to focus step by step

#

its a long way

foggy sundial
#

absolutely

#

I would just suggest to focus on the harder things first in case you hit a roadblock

reef pawn
#

well its kinda all hard for me since am new to enfusion

#

but probably replication is the hardest

foggy sundial
#

Yes the whole synchronization of it being controlled or not, activating/deactivating the camera when the operator dies, stuff like that

reef pawn
#

also, how is the entity coord replicated ?

#

is it handeld by rplcomponent ?

foggy sundial
#

RplComponent should handle this but it is choppy. I wrote simple movement interpolation for mine so it was smooth

reef pawn
#

hmm ok, might also do that

#

or do replicated inputs to avoid that

#

i also have to deal with collision tunnling its crazy bad right now

foggy sundial
#

Yeah collision is really bad in the engine, especially if its fast moving and small

reef pawn
#

spelling in replication doc lol

#

An item can be many things*

foggy sundial
#

An item can indeed be many things

reef pawn
#

so i have to handle it as if its a projectile

#

and do a trace from last position

foggy sundial
#

In the past enabling CCD prevented my drone from flying through objects/terrain but in current version doesnt

reef pawn
#

what does CCD stand for ?

#

oh

#

continouse collision detection i guess

#

@foggy sundial am i using the peer tool correctly ?

foggy sundial
#

Well you are controlling your drone as the server, peertool should start game client when you press play

reef pawn
#

how can i test as client ?

#

oh

#

it did not

foggy sundial
#

Make sure its configured in plugins menu in world editor like my earlier link

reef pawn
#

@foggy sundial can we get on a call so u help me ?

foggy sundial
#

With the configuration? I posted a link to a message with working config

reef pawn
#

no the peertool is starting anoter editor

#

but its just a workbench

#

how do i join from there ?

foggy sundial
#

Then you didnt configure it like my link

#

Not the right exe maybe

reef pawn
#

ok i fixed it

#

all good

foggy sundial
#

Now the fun starts

digital basin
foggy sundial
grizzled bolt
#

oi

#

nice thing you got there

#

do you have an asset to go with it?

#

if not i could solve it, i'm somewhat capable 3d artist looking for some small projects(small due to rather limited free time) so shoot a dm to me if you are interested peepoBlush we can talk

worthy walrus
#

What happened to the old drone mod?

reef pawn
grizzled bolt
#

but it makes sense looking for a project isnt easy

reef pawn
#

@foggy sundial

foggy sundial
#

I got a little further than this and then Bohemia told me I cant make it listen to radio so I just deleted it

tough spruce
#

how does this drone system work? is it similar to bacons where it doesnt inherit off ai or is it the armed drone system where it inherits an ai

foggy sundial
#

Yes I think it is an attempt at doing it properly

tough spruce
#

considering the one with ai made it to completion perhaps thats the strongest way to go

foggy sundial
#

It's more valuable to do it properly, you know, assuming the game allows it

#

But a lot of great things were achieved with the AI approach

tough spruce
#

agreed, the way of no ai is better, but with its limitations which may change in the future, ai is better

foggy sundial
#

Yes modding often is just workaround on top of workaround

reef pawn
tough spruce
reef pawn
#

These are main features for now

foggy sundial
#

We were testing the mod and things that I was afraid would happen when I was working on my mod seem to not be happening at all, so I think there's a good chance this will work