Miasma Community

Gaming Zone => Unreal Tournament 2004 => Topic started by: Piglet on September 06, 2018, 13:06

Title: Assist vctf flag carrier thread.
Post by: Piglet on September 06, 2018, 13:06
It monitors the player with the flag and the driver and awards points and adrenaline based on the time the carrier was on the driven vehicle up to a maximum.

I can make changes. This is just a start to see if we have something to build on.

[edit]out of date code removed[/edit]
Title: Re: Assist vctf flag carrier thread.
Post by: tirofijo!! on September 06, 2018, 14:26
ohhh yes we "can see"..... lol this his like ancient chinese for me, but u are our master, and we worship u!
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 06, 2018, 17:21
The flag carrier holds the flag. Every second they do so is counted.  Every second he's sitting on  vehicle, the Vehicle driver gets an assist second. The driver gets points and adrenaline for the proportion of the time they were being the taxi.  At least that is what the coder was trying to achieve. We can change the logic to be whatever we decide works for us
Title: Re: Assist vctf flag carrier thread.
Post by: [MiA]Dave on September 06, 2018, 18:41
I can see it now. Raptor, and flag carrier, hiding under cliff, counting the seconds. :)
It'll be a new hiding place to find flag carrier.

I'd like to see flag carrier being able to link manta or raptor, and zoom away!!
Title: Re: Assist vctf flag carrier thread.
Post by: sup on September 06, 2018, 18:49
QuoteDid you get any message when they capped?
No

Today, with the raptor I received the assistance points! (I didn't notice the adrenaline), but when I did with the manta didn't work

With the raptor it took a little longer until he scored, with the manta he scored as soon as I left him
but maybe I could have fooled myself
Title: Re: Assist vctf flag carrier thread.
Post by: tirofijo!! on September 06, 2018, 19:19
i get the message but cant read it cause i was playing.... i think it is working, and Dave u can link and carry flag, just grab the flag while u are linked after u drop it. lol
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 06, 2018, 20:49
I'm wondering if the logic should be something along these lines:

Some fraction of a point per second carrying the flag carrier, up to a maximum of 15 or so
Some fraction of an adrenaline percentage per second carrying the flag carrier, up to a maximum of 25 or so

In some ways the driver is really doing far more than the carrier in capping!
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 06, 2018, 21:36
That's running now...let's see how it works

(there was a bug in the previous version anyway...oops)
Title: Re: Assist vctf flag carrier thread.
Post by: sup on September 07, 2018, 03:04
That's why I asked the transporter to earn points too, my cinematic escapes need to be rewarded!

Good work, work, work, work, work superpig!


Title: Re: Assist vctf flag carrier thread.
Post by: DrexD(RS) on September 25, 2018, 14:05
ohh nice, i always thought that taxi drivers should be awarded!
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 25, 2018, 20:43
:) Any other realistic suggestions will be considered.

Any actual usable code that will run on a demo-friendly server and improve the game would be appreciated...
Title: Re: Assist vctf flag carrier thread.
Post by: tirofijo!! on September 25, 2018, 22:55
:( ..... that hurts. what about that grenade launcher?, it is realistic master P.
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 25, 2018, 23:09
Too easily abused.
Title: Re: Assist vctf flag carrier thread.
Post by: MaD-SkunK on September 26, 2018, 20:02
well niigel once spoke about a face classic with 4 towers, then 4 flags,four teams and then the rock is set like a cross...
would be awesome but it may not be demo version friendly
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 26, 2018, 21:07
Yeah - 4 teams is fun a few times (only) and not demo-server friendly.

I helped out with some code for Freon 4 teams. We got it working, but it wasn't as fun.
Title: Re: Assist vctf flag carrier thread.
Post by: Krellsan on September 27, 2018, 06:51
Question..... I took the flag, got into the bender and ran to my base, but I was hit, and I had to change vehicle to tank. Then I took a point, but there was an inscription, about the flag assistant. Whom I did not was, because the flag was with me all the time. Although perhaps I killed myself withit, when i had low hp and took same flag again... How, for example, in this case will the points be counted? I'm not chasing points, I'm just curious, how the algorithm works.

Ps. and flag assistant inscription also appears when u get rid to home on stolen vehicle and scored singlehandadly
Title: Re: Assist vctf flag carrier thread.
Post by: Piglet on September 27, 2018, 19:49
That's a bug. I'll have a look at the code. Probably not checking that the driver isn't carrying the flag!

Try again after the next time it rotates from ONS to vCFT