Jump to content


"Superweapon ready" with scripts


  • Please log in to reply
4 replies to this topic

#1 Guest_ImmoMan_*

Guest_ImmoMan_*
  • Guests

Posted 28 December 2004 - 03:03 PM

Me again.

How would I go about making a script that plays "a-bomb ready" and such, whenever a special power is ready? This is so it can be used for powers whose ENUM doesn't normally play a sound when the power is ready.

#2 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 28 December 2004 - 04:09 PM

Your best bet would be to use the following script in the PlyrCivilian folder:

Script flags\evaluation: Active, Every second
Active in: Easy, Normal, Hard
***IF***
Player <Local Player> is ready to fire Special power '???'
***THEN***
Play Sound '???'

If this causes the sound only to play for the human player, place the script in all other folders as well (except neutral).

Dunno about the ENUM's but as far as I know a special power is a special power in scripting..
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#3 Guest_ImmoMan_*

Guest_ImmoMan_*
  • Guests

Posted 28 December 2004 - 04:13 PM

Well it SHOULD only play for the human player. Specifically, the player whose power has just finished charging. No other players should hear it.

#4 Mithril

Mithril

    496

  • Hosted
  • 1,386 posts
  • Location:UK
  • Projects:Heh! You're not going to ask me that question.

Posted 28 December 2004 - 04:16 PM

^Good point. I do not know if playing a speech file will play it globally among players..

Testing would help.
Command & Conquer: Red Alert - ReGeneration

"Not the faintest clue =\"

-ComradeJ

#5 Cammy

Cammy
  • Hosted
  • 51 posts
  • Location:Hamburg

Posted 16 January 2005 - 03:07 PM

^Good point. I do not know if playing a speech file will play it globally among players..

Testing would help.

<{POST_SNAPBACK}>



Speech Files are played global... I tested it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users