Assist vctf flag carrier thread.  (Read 23197 times)

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Assist vctf flag carrier thread.
« 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]
« Last Edit: September 09, 2018, 19:05 by Piglet »

tirofijo!!

  • Sr. Member
  • *
  • Posts: 214
  • Country: ec
  • bash the fash
Re: Assist vctf flag carrier thread.
« Reply #1 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!

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Re: Assist vctf flag carrier thread.
« Reply #2 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

[MiA]Dave

  • 1337
  • *
  • Posts: 677
  • Country: us
Re: Assist vctf flag carrier thread.
« Reply #3 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!!

sup

  • 1337
  • *
  • Posts: 407
  • Country: br
Re: Assist vctf flag carrier thread.
« Reply #4 on: September 06, 2018, 18:49 »
Quote
Did 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

tirofijo!!

  • Sr. Member
  • *
  • Posts: 214
  • Country: ec
  • bash the fash
Re: Assist vctf flag carrier thread.
« Reply #5 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

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Re: Assist vctf flag carrier thread.
« Reply #6 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!

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Re: Assist vctf flag carrier thread.
« Reply #7 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)

sup

  • 1337
  • *
  • Posts: 407
  • Country: br
Re: Assist vctf flag carrier thread.
« Reply #8 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!



DrexD(RS)

  • Junior Member
  • *
  • Posts: 31
  • Country: cs
Re: Assist vctf flag carrier thread.
« Reply #9 on: September 25, 2018, 14:05 »
ohh nice, i always thought that taxi drivers should be awarded!

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Re: Assist vctf flag carrier thread.
« Reply #10 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...

tirofijo!!

  • Sr. Member
  • *
  • Posts: 214
  • Country: ec
  • bash the fash
Re: Assist vctf flag carrier thread.
« Reply #11 on: September 25, 2018, 22:55 »
:( ..... that hurts. what about that grenade launcher?, it is realistic master P.

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Re: Assist vctf flag carrier thread.
« Reply #12 on: September 25, 2018, 23:09 »
Too easily abused.

MaD-SkunK

  • Sr. Member
  • *
  • Posts: 122
  • Country: fr
  • "Stop trying to hit me and hit me" Morpheus
Re: Assist vctf flag carrier thread.
« Reply #13 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

Piglet

  • 1337
  • *
  • Posts: 3248
  • Country: gb
Re: Assist vctf flag carrier thread.
« Reply #14 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.