Author Topic: Trenchwar Domination - v0.2.3 - Airstrike fixed  (Read 40671 times)

0 Members and 1 Guest are viewing this topic.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Trenchwar Domination - v0.2.3 - Airstrike fixed
« on: July 31, 2007, 08:41:42 am »
Script Name: Trenchwar Domination script v0.2.3
Original Author(s): Avarax, Airstrike adapted from EnEsCe's TW server, landmines adapted from 0.9.2 Hexer script's "Summon Claymore"
Core Version: 2.6.3


This script will display how much area of a TW map a team dominates and calculate a winner this way. Flaggrabs and scoring have a strong effect on the domination. The script also includes the possibility to lay a mine after having killed a set amount of people and it includes an adaption of EnEsCe's well known Airstrike script.


The whole idea of the script is to be a decisive neutral judge in TW CWs or usual pub games.



The following settings can easily be made within the const part of the script:
-Airstrike Interval
-Amount of kills needed to plant a mine
-Interval for dominance calculation and display
-How much terrain a single soldier can dominate (Maximum range, default is VERY high so areas between the frontlines and your base are also dominated and not wasted)
-Domination bonus on flaggrab and score
-Minimum distance of mines to flags
-Maximum duration of mines
-Colors of the script messages



Admin commands:
  '/airstrike' calls an airstrike
  '/switch_domination' dis or enables domination calculation
  '/switch_mines' dis or enables mines
  '/switch_airstrike' dis or enables airstrikes
  '/showcells' shows how the map is divided up into domination cells


Some screens:[/size]



Placing a mine...
... and watching it pwn
Bomber Squad's Airstrike


Download
To install, just extract the entire zip into your dedicated server folder.








Changelogs[/u]

Code: [Select]
Changelog
v0.2.2 -> v0.2.3

-modified Airstrike to now use AppOnIdle, preventing crashs. Done by sai´ke

Code: [Select]
Changelog
v0.2.1 -> v0.2.2

-fixed Airstrikes bullettype to work with 2.6.2
-fixed Airstrikes starting condition
-fixed structure of .zip file to fit 2.6.2 scriptingcore file structure
-added Airstrike bullettype modability (open TrenchwarDomination.pas and change the line AirstrikeBulletType = 4;)
-added various ingame admin command:
                  '/airstrike' calls an airstrike
                  '/switch_domination' dis or enables domination calculation
                  '/switch_mines' dis or enables mines
                  '/switch_airstrike' dis or enables airstrikes

Code: [Select]
Changelog
v0.2 -> v0.2.1

-fixed messy Airstrike

Code: [Select]
Changelog
v0.1 -> v0.2

-fixed flaggrab & score domination bonus are no longer carried over rounds
-fixed Airstrike is now properly based on round time, not server time
-fixed Airstrike no longer happens on mapchange
-fixed Airstrike's countdown missing the 7
-added scoring now rewards you with a full mine
-added possibility to customzie the time between every bomb drop during an Airstrike
-modified flaggrab & score domination bonus are now divided into a substraction and addition for both teams, to keep total domination always at 100% sum
-modified domination display message now highlights the total dominating team in brighter color


Special Thanks to sai´ke for making the current 0.2.3 version with the fixed airstrike.
« Last Edit: November 15, 2007, 04:34:57 pm by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline -TMC-

  • Major(1)
  • Posts: 25
Re: Trenchwar Domination - A TW script for CWs
« Reply #1 on: July 31, 2007, 09:14:03 am »
?how come it says you shot him with a barret when mines are "pwning"

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - A TW script for CWs
« Reply #2 on: July 31, 2007, 09:19:07 am »
Well, since the explosions are created by the script and not by any gun, I guess soldat just assumes that it was a gun i had... barrett :o
The screen is not fake ;)
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline ElephantEater

  • Major
  • *
  • Posts: 97
  • Don't confuse me with ElephantHunter.
Re: Trenchwar Domination - A TW script for CWs
« Reply #3 on: July 31, 2007, 09:42:47 am »
Wow, an entire Trenchwar script coded from scratch in just over a day. Avarax, do you have a life?

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - A TW script for CWs
« Reply #4 on: July 31, 2007, 09:46:09 am »
heh, I certainly do. This thing here didn't take long though... like one and a half hour, mapping is much more time intense.
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Sotija

  • Veteran
  • *****
  • Posts: 1053
  • Sotija
Re: Trenchwar Domination - A TW script for CWs
« Reply #5 on: July 31, 2007, 10:49:34 am »
Why the airstrike use arrows not missles from law?

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination - A TW script for CWs
« Reply #6 on: July 31, 2007, 11:19:47 am »
I thought it looks cooler ;Q
you can easily switch this by modifying the 2 CreateBullets in the Airstrike procedure, just replace
Code: [Select]
CreateBullet(cell[i],flagheight - 800,0,0,25,8,Commander);with
Code: [Select]
CreateBullet(cell[i],flagheight - 800,0,0,25,12,Commander);
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Dusty

  • Veteran
  • *****
  • Posts: 1015
Re: Trenchwar Domination - A TW script for CWs
« Reply #7 on: July 31, 2007, 11:55:18 am »
Is this airstrike one hit/kill-style?

Offline GunPowder

  • Major
  • *
  • Posts: 95
  • That's all folks.
Re: Trenchwar Domination - A TW script for CWs
« Reply #8 on: July 31, 2007, 11:56:50 am »
Nice! and actually yes, the fire arrows look cooler than missiles.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Trenchwar Domination - A TW script for CWs
« Reply #9 on: July 31, 2007, 12:16:13 pm »
Good work Avarax ;) You'r the best.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Trenchwar Domination - A TW script for CWs
« Reply #10 on: July 31, 2007, 12:35:08 pm »
ive tested it but it says incomming airstrike take cover. i dont see any airstrike. and what about the mines. the dont work to.
Soldat Rulezz and must be played forever

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Trenchwar Domination - A TW script for CWs
« Reply #11 on: July 31, 2007, 12:36:48 pm »
ive tested it but it says incomming airstrike take cover. i dont see any airstrike. and what about the mines. the dont work to.

Create bullet function doesnt work in 2.6.1

...airstrike and mines only work 100% properly on www.enesce.com servers or with the upcoming 2.6.2 core...
« Last Edit: July 31, 2007, 12:38:23 pm by xmRipper »
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Trenchwar Domination - A TW script for CWs
« Reply #12 on: July 31, 2007, 01:13:46 pm »
Thank you for doing this! The TW clanwar whinations will cease to exist!!!!

Iq Unlimited

EDIT: A suggestion: Put in  Firstblood and Killingsprees too :).

EDIT #2: Tested with bots, I <3 it ;D. Needs above stuff though.

« Last Edit: July 31, 2007, 01:50:00 pm by Iq Unlimited »

Offline Xxypher

  • Veteran
  • *****
  • Posts: 1319
  • Soldat Veteran.
Re: Trenchwar Domination - A TW script for CWs
« Reply #13 on: July 31, 2007, 03:07:56 pm »
This will truly own harder than life.
...? Don't ask.
I want to play it, any servers hosting it?

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Trenchwar Domination - A TW script for CWs
« Reply #14 on: July 31, 2007, 03:15:35 pm »
I want to play it, any servers hosting it?
+1
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Maniatiko

  • Major
  • *
  • Posts: 86
Re: Trenchwar Domination - A TW script for CWs
« Reply #15 on: July 31, 2007, 03:25:39 pm »
what does enesce has to say about this?
(:

ManiatikO

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Trenchwar Domination - A TW script for CWs
« Reply #16 on: July 31, 2007, 04:00:27 pm »
I want to play it, any servers hosting it?
:
my server is

IP: server1.enesce.com
PORT: 23075
PASS: you find out Im not going to reveal it :D.


72.232.225.66 - 23112 = script implimented public.
« Last Edit: July 31, 2007, 06:23:58 pm by Iq Unlimited »

Offline Xxypher

  • Veteran
  • *****
  • Posts: 1319
  • Soldat Veteran.
Re: Trenchwar Domination - A TW script for CWs
« Reply #17 on: July 31, 2007, 05:09:56 pm »
...
You suck then.
I am not going to guess a pasword just to play.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Trenchwar Domination - A TW script for CWs
« Reply #18 on: July 31, 2007, 05:30:21 pm »
...
You suck then.
I am not going to guess a pasword just to play.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Maryleaf

  • Camper
  • ***
  • Posts: 250
  • Xfire: Maryleaf
    • {AAC} Attack and Control
Re: Trenchwar Domination - A TW script for CWs
« Reply #19 on: July 31, 2007, 06:20:49 pm »
Yes, I actually love this script. Been playing with it for about 30 mins or so now. Put on a bunch of bots to test out mines, and they work good. I like the air strike, it gives it more appeal. I am hosting this on my server:

Name: Hunt | TW Domination
IP: 72.232.225.66 (server1.enesce.com)
Port: 23112
Pass: None



I am going to be adding the scripts to being able to buy grenades, clusters, and a vest. But I want the script edited to these formats:

Grenades: 35$
Clusters: 65$
Vest: 250$

I also want the amounts of $$ you get to be less, and better scripted. With stuff added on such as double kill, triple kill, and ending peoples spree's and such. Avarax, if you want to make something like this, or have a script that is editable to my preferences. Then PM me please. Until then, this script will stay the way it is. Updates come ASAP.
{AAC} Attack and Conquer
Where People are Soldiers
http://Http://www.teamaac.co.nr