Dateien

> > Carnage Contest > Weapons > Ventilator
DateiübersichtCarnage Contest-ÜbersichtWeapons-Übersicht

Englisch Ventilator >

5 Kommentare7 kb, 414 Downloads

alt Ventilator

Kiffer-Opa
User Off Offline

(version 1.0)

The ventilator is a tool which used to change the wind power and even the wind direction. It is used to annoy the hell out of players which are on the wrong side of the map.
You simply place it anywhere on the map with one single click close to your player. The ventilator will face in the same direction as you do.

After you placed the ventilator, your turn ends. From now on, the ventilator stands on the map as an object and changes the wind on every turn start.

If the ventilator faces left, the (natural) wind will be pushed to the left, if you pushed it right, then it pushes the natural wind to the right.
The ventilator effect only applies on the start of each turn. The player can still tamper with the wind with (for example) the "No Wind" extra. The ventilator ignores this.

The default ventilator changes it so strong that if the natural wind is maximum left and the ventilator faces right, the resulting wind will be zero and if natural wind is zero, the result wind is maximum right.
So with one right-facing ventilator the wind only can range from zero to maximum right now instead from maximum left to maximum right.

It is possible to have multiple ventilators on the map. If there are at least two right-facing ventilators and no left-facing, resulting wind will ALWAYS be maximum right now.
You can undo the wind effect in multiple ways:
• Destroy the ventilator. Shouldn't be too hard, a ventilator has only 30 HP. And it explodes on destruction.
• Build another ventilator which faces in the opposite direction. The wind change of 2 ventilators facing opposite directions is zero.
If you destroy the ventilator, the ventilator effect stops finally on the next turn and not immediately

There is a simple formula to calculate the possible wind on a turn start:
W=R–L
• W is resulting wind
• L is the number of left-facing ventilators
• R is the number of right facing ventilators.
the meaning of the possible W values are:
• –2 and lower: wind blows at maximum left
• –1: wind ranges from maximum left to zero
• 0: wind ranges from maximum left to maximum right
• 1: wind range from zero to max. right
• 2 and higher: wind is max. right


Technical stuff:
I added some easy-to-change settings into the script. Just open the CC/scripts/Kiffer-Opa/Ventilator.lua in any text editor and look for the settings. Currently, it is possible to change the animation speed and more important: the wind power of the ventilators. How this works is written in this file.
Zugelassen von SQ

Download Download

7 kb, 414 Downloads

Kommentare

5 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Zyga
User Off Offline

Zitat
lol i was hoping it can blow players away but still its awesome


make that and ill give an extra star lol

(6)
Ich mag es!

alt

Arne
User Off Offline

Wow, this thing is powerful! This is just awesome, and I really like the way you've put how everything works in the Lua as comments.
Ich mag es!

alt

Night Till Death
User Off Offline

lol i was hoping it can blow players away but still its awesome
Ich mag es!

alt

Yates
Reviewer Off Offline

That's fucking awesome. I'm downloading it now.
Ich mag es!

alt

The Spy
User Off Offline

Awesome, oh and what will be your next work :D?
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang