Author Topic: Flashes on collected powerup  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.

Offline skullorz

  • Major(1)
  • Posts: 7
Flashes on collected powerup
« on: October 04, 2008, 09:52:29 pm »
Imagine if when you picked up a power up, a flash appeared. For example, if you pick up a MediPack, then
you see a cross. (is red with white everywhere else, and is transparent)
MediPack- Red cross, white background.(Or just a greenish-whiteish color if not possible)
Berserker- A pinkish color, which fades into a deep red, like what happens normally.
Predator- Blueish-Green flash.
Flamer- Orangish Red.
Vest- Green flash.
ClusterNade- Reddish orange (Same as Flamer?)

Please post your comments, and if you created it, then post the link!

Offline Vyka

  • Major
  • *
  • Posts: 59
Re: Flashes on collected powerup
« Reply #1 on: October 05, 2008, 12:50:11 am »
You can't do this. Only one color of flash is available.

For example; if u take zerk, you will have red flash.

Its able to make cross, but it will appear without background.

You know something about soldat scripting?

For these flashes, script uses DrawText procedure. So it can be connected with other procedures or functions.

whatever, your idea about flashes is g8 : )

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Flashes on collected powerup
« Reply #2 on: October 05, 2008, 03:00:28 am »
u cant do that
u can only detect if a person has picked up a vest, a berseker OR a medikit, and maybe flamer (need to test)
the rest of them u cant predict.
also u forgot about nades :P

Offline Bolt

  • Major
  • *
  • Posts: 64
  • {MLP}
    • http://www.darkdemon.org/bolt/
Re: Flashes on collected powerup
« Reply #3 on: October 06, 2008, 05:12:42 am »
Its able to make cross, but it will appear without background.

Couldn't you layer it with two scripts for the desired effect?

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Flashes on collected powerup
« Reply #4 on: October 06, 2008, 05:24:41 am »
Its able to make cross, but it will appear without background.

Couldn't you layer it with two scripts for the desired effect?
No, the client is limited to only drawing one of this kind of text at a time. (the "Killed by _" and "You killed _" DrawText etc. text...)

Offline Bolt

  • Major
  • *
  • Posts: 64
  • {MLP}
    • http://www.darkdemon.org/bolt/
Re: Flashes on collected powerup
« Reply #5 on: October 06, 2008, 05:25:51 am »
Oh right, I remember, you can't have the black out and the "Flag Captures" text or whatever at the same time.