Page 1 of 1

[227g30] Using vegetation as cover?

Posted: Mon May 24, 2010 5:37 pm
by creavion
Ok, the situation.
Ever played Far Cry, Crysis or anything similar? You can hide yourself within the grass or at least in bushes, you wait until your enemy is away during his patrol or you surprise him directly.

Image


I wanted to test that in U1.. again. And I failed.. otherwise I would not have opened such thread. So here the important configs:

bWorldGeometry
-> The wiki says "a new actor flag "bWorldGeometry" to make actor be threated as part of world geometry (block visibility sight and stop explosion radius etc...)"
-> No difference between true and false? Sry, is this function broken?

bUseMeshCollision
-> No idea if this requiered in this case, but I think not, since a collision with the player or a scripted pawn is not intended

bCollideActors
-> If true, Skaarj could indeed not see me but we both were not able to shoot through the bushes, if false, he could see perfectly through the bushes and we both could shoot each other

Its obvious that both
bBlockActors
bBlockPlayers
need to be false, otherwise you could not through the bush.

So, how do I have to set up the properties now for this case? Or in other words, is there even a possibility?

Re: [227g30] Using vegetation as cover?

Posted: Mon May 24, 2010 6:47 pm
by []KAOS[]Casey
Trace will fail if BlockActors is false, as for modifying trace's behavior.. again.. would need another flag or such. or possibly a new skaarj AI with checks to see if you're even in the bushes and adjust "visibility" accordingly

bWorldGeometry is for trace to think you're hitting BSP.. provided trace hits it in the first place

Re: [227g30] Using vegetation as cover?

Posted: Mon May 24, 2010 8:05 pm
by creavion
The skaarj was only the "example pawn" for the testmap. I think it would make more sense for "Pawn" in generel? So if I understand you right, with the current settings this is not possible?

Re: [227g30] Using vegetation as cover?

Posted: Tue May 25, 2010 4:13 am
by []KAOS[]Casey
From my understanding of trace and the new flag which only reports that you're hitting the level instead of an actor, no.

I just tried a quick test with blockplayers false and it didn't work quite as well as it should. Monsters appear to magically know if you're behind something even if they can't get to you.

Re: [227g30] Using vegetation as cover?

Posted: Tue May 25, 2010 6:10 am
by creavion
Ok thanks, at least I dont need to try any further for now^^

Re: [227g30] Using vegetation as cover?

Posted: Mon Jun 07, 2010 4:49 pm
by creavion
But I would like to know if you have put this on any "to do" list?

Re: [227g30] Using vegetation as cover?

Posted: Sun Jul 11, 2010 8:21 am
by creavion
Triple post.. I love it.. ................ not. Will this be implemented or not, just want to ask out of curiosity (and possible mapping planning).