#Two Hit system help

1 messages · Page 1 of 1 (latest)

glacial smelt
#

Currently the "Condition" is static in my asymmetrical horror game, I would like to use a sphere cast to detect "hits" on survivors and alter their condition and once the player is in the "downed state'" they are able to be picked up by the Killer. If you would be able to help me in the room that would be greatly appreciated.

#

and it'll be clamped to a swing handle

frozen meadow
#

Use "Collision Detection Volume" it's a long pill-shaped component that's especially good at detecting fast things like a swung weapon that other stuff like trigger volumes or overlap spheres may miss.

#

As for this downed state, configure the collision detection volume and turn on "Run For Authority Only". The collision detection volume has an output that triggers when the user hits a player, if you're willing to use Player Properties, make one that's a synced bool and run that hit player signal into a "Set Player Property" chip with your custom property.

wraith kite
#

Mitm

charred hamlet
fluid pilot
#

😭

charred hamlet
fluid pilot
#

Fr

#

Working on my own one, I also figured out a dodgy workaround for a chucky-type character

#

Without needing the precious scale chips

fluid pilot
#

Basically imitating a Vr headset by strapping one of those texture quads to the killer's face

charred hamlet
fluid pilot
#

Fr

glacial smelt
#

So far in the game I got the game que, random map selection, generators, killer damaging generator, limited stamina, exit doors, hooks, pallets working; The only thing i need help with is this specifically and no functional item or perks yet either

#

this is for actual gameplay, i know the curcuits are a mess

glacial smelt
#

thank you this is the first room I've actually done circuiting in. I am mostly a builder and dont do circuits often

#

The game is called ^TheresNoWayBack

fluid pilot
#

How did you do the pallets and flashlight btw? I'd love to see how different they are lol

glacial smelt
#

I used interaction volumes, animations and a invisible barrier for mine with a pallet model

fluid pilot
#

Same 🤣

glacial smelt
#

tho i didnt do the slide that you made that was really cool

fluid pilot
#

Oh right

#

That was mainly a seat animation

glacial smelt
#

hmm

fluid pilot
#

The direction thing was a bit annoying, I originally had two trigger volumes either side but for some reason they weren't reliable so I changed it. Now there's a vector component and if the player is facing the same direction then they go one way, else they go the other way

#

I can send some screenshots next time I'm on

glacial smelt
#

most likely going to upscale the pallet

#

Heres the hook, i adjusted it to show off everything but that red bar is regualry going to drain and once it hits zero the player would be teleported like show in the video

fluid pilot
#

Looks cool

#

I will say my flashlight is still a bit dodgy

#

But that's mainly on the animation side, it does basically work

glacial smelt
#

i got everything the survivor needs for the alpha launch of the game but not for the killer

fluid pilot
#

Oh nice

glacial smelt
#

perks and items will most likely come out in a later date but for the base build of the game i'm 80% there

fluid pilot
#

So what are you missing?

glacial smelt
#

what this post was originally about, that state system

fluid pilot
#

Oh right

glacial smelt
#

I would usually ask my two circuiting friends but there mia currently

#

and dont have time rn so i did all of this myself

fluid pilot
#

I could probably whip something up

glacial smelt
#

and the carry system where they pick up survivors and place them on hooks

fluid pilot
#

It should be pretty simple, it could probably be done with roles

fluid pilot
glacial smelt
#

i was thinking a seat and trigger handle with an interaction volume

#

but i think it'll be the easiest way to do it

#

oh heres my rr @

#

@CallMeMrGoodMan

fluid pilot
#

I'll add you when I'm next on man, you can see my ones in person

#

They need testing with multiplayer anyway lol

glacial smelt
#

lowkey yeah

#

I've already done testing with the hook and gens and they work perfectly for the most part,

#

but i fixed all the bugs and they should be good for launch

fluid pilot
#

My stuff always seems to be cursed, it works beautifully in single player but turns horrendous as soon as another player joins

glacial smelt
#

hmm

#

do you use roles for your stuff?

#

thats what i did

fluid pilot
#

Yeah

#

Killer, survivor, stunned are all roles

#

Cause I then use role locks for interaction volumes and stuff

glacial smelt
#

Survivor,tired,killer,winded,hooked

#

same here

fluid pilot
glacial smelt
#

winded and tired are for the stamina system

fluid pilot
#

Yh

glacial smelt
#

they have sprinting turned off and are slowed down slightly

fluid pilot
#

I will say I'm pretty proud of my stunning system, I used an event system with some toggles:
Execute
Player
Duration
Blind? (Bool)
And it basically just adds a role that slows the killer then does an if check with the bool toggle, if it's set to true then it will activate a fog (yellow, close distance, basic blind thing)

glacial smelt
#

I used an int for mine

fluid pilot
#

For the duration?

glacial smelt
#

oh no sorry i was talking about the stamina system

fluid pilot
#

Oh right lol

glacial smelt
#

i would use a raycast to set a distance for the light

fluid pilot
#

Yes I did

glacial smelt
#

and would use something to dectect if the player with the role was facing the spot light and if they turn away it would reset the duration

#

like how it is in dead by daylight

fluid pilot
#

I'll have to show you the code for the flashlight itself at some point

fluid pilot
glacial smelt
#

then you'd have to connect it to the drop survivor thing if your doing that

fluid pilot
#

Used a gun handle with constant fire turned on so I can use that ammo system

glacial smelt
#

oh you could add a gun for another way to stun the killer

fluid pilot
#

Possibly yeah

fluid pilot
glacial smelt
#

and add a chance it would explode on you and deal -one condition

fluid pilot
#

Ooh

glacial smelt
#

you could do
int -> equal -> if -> True -> then -> if player has role -> survivor -> subtract 50 -> add role -> injured
->false -> else -> if player has role -> killer ->remove role -> add role -> stunned -> delay 2seconds -> add role -> killer

fluid pilot
#

Yh

#

Could you not use roles for the health states?

glacial smelt
#

i think i can

fluid pilot
#

In fact

glacial smelt
#

but make the role not do anything with the curcuits

#

and only for the health system

fluid pilot
#

Would you need a health system then?

#

Just do Hit-if healthy made them damaged-if damaged, down them

glacial smelt
#

well for a visual for the survivor to have information, and the Condition would change colors for the survivor and delock a interaction volume only enabled for the tired and killer role.

fluid pilot
#

Also you could use role locked invisible collisions to force the survivors to crawl

glacial smelt
#

then you got to worry about them glitching throught the floor

fluid pilot
#

Possibly

#

I believe there are workarounds though

#

It could definitely work

glacial smelt
#

or put them into a seat where they cant move

fluid pilot
#

Maybe

#

I think, next time I get on, I'll work on the health states and carrying

glacial smelt
#

and the seat will move to the nearest player with the survivor role

#

using a vector

fluid pilot
#

Maybe

glacial smelt
#

I made the values change when the int value is equal to 100, 50, and 0

fluid pilot
#

Ah right

#

I'll get on now

#

I have you added

glacial smelt
#

what's your @

fluid pilot
#

Jaguar2k9

glacial smelt
charred hamlet
# glacial smelt

does this work if ur like turned around and grab behind you like on vr

fluid pilot
#

no

#

it vaults based on head direction

charred hamlet
fluid pilot
#

not that I've seen

charred hamlet
fluid pilot
#

it just vaults you in the direction you're facing

charred hamlet
#

new dbd tech

fluid pilot
#

Lol

glacial smelt
#

Got the health system working