Author Topic: Trenchwar Domination v2  (Read 9911 times)

0 Members and 1 Guest are viewing this topic.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Trenchwar Domination v2
« on: January 30, 2009, 07:07:08 am »
Script Name: Trenchwar Domination
Author: Gizd
Core Version: 2.6.5

Full Description:
Goal of game is to hold teritory or cap.
ZIP contains 2 versions of script, version A displays dominance as team's score, version B displays it on screen and team scores are like in normal ctf(flag captures).

Stuff is has(aka features):
- mines (you can pm me if they're too powerfull)
- strike (you can pm me if it's too powerfull)
- of course a domination calculating system(it's simple...) etc
- you can use any bot as bomber
- you can make your own strike(it's confusing but could be harder)
- some more things I don't remember...

Some screens(from older version but those things didn't change):
Screen 1
Screen 2
Screen 3
Screen 4
Screen 5

Report any bugs/issues/errors/problems.
« Last Edit: November 17, 2011, 03:22:32 pm by Gizd »

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Trenchwar Domination
« Reply #1 on: January 30, 2009, 07:15:40 am »
Glad you released it ;) It's basically the same as the old domination scripts except that it works better.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1506
  • Also known as Curt
    • Soldat Global Account System
Re: Trenchwar Domination
« Reply #2 on: January 30, 2009, 03:54:49 pm »
Didn't Avarax make a version of this or something?

Everybody likes screenies xD
Soldat Global Account System (SGAS): QuakeNet in #soldat.sgas
Rent Cheap Servers: contact CurryWurst

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #3 on: January 31, 2009, 04:04:01 am »
1. Avarax script is buggy and old.
2. My script doesn't have anything common with his script(except name and purpose).
« Last Edit: January 31, 2009, 04:19:14 am by Gizd »

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1008
Re: Trenchwar Domination
« Reply #4 on: January 31, 2009, 04:58:29 am »
Where's the bot file ?

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #5 on: January 31, 2009, 05:03:23 am »
Read settings at top of .pas file :P

Script updated(I found a bug while making screens)

Added screens(you don't need more)
« Last Edit: January 31, 2009, 05:14:49 am by Gizd »

Offline iDante

  • Veteran
  • *****
  • Posts: 1966
Re: Trenchwar Domination
« Reply #6 on: January 31, 2009, 05:15:27 am »
What's the purpose of doing ThreadFunc to checkteams and addbot? Why not just do it in the same thread with apponidle?

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #7 on: January 31, 2009, 05:20:39 am »
What's the purpose of doing ThreadFunc to checkteams and addbot? Why not just do it in the same thread with apponidle?
To make it faster, I don't like delay.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1008
Re: Trenchwar Domination
« Reply #8 on: January 31, 2009, 05:24:19 am »
So I can just rename a whatever bot and it will work ?
nvm
« Last Edit: January 31, 2009, 05:27:21 am by Leo »

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #9 on: January 31, 2009, 05:27:15 am »
Yes
Correction: bot file must have same name as bot in-game, ie. bot Lol can't have file Omg.bot

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Macellan
Re: Trenchwar Domination
« Reply #10 on: January 31, 2009, 05:38:55 am »
Too bad you are using ThreadFunc
CoFounder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #11 on: January 31, 2009, 06:53:24 am »
Why?
I can make version without it if you wish.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Macellan
Re: Trenchwar Domination
« Reply #12 on: January 31, 2009, 08:12:12 am »
I can make version without it if you wish.
No thanks. I already made my own TW script. (o.0)
CoFounder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Trenchwar Domination
« Reply #13 on: January 31, 2009, 09:27:12 am »
ThreadFunc is very unstable on most operating systems. You should either not use it or make sure that it's only being used every 2 seconds or so (and without the sleep() function) so that no more than one ThreadFunc is running at a time.

It's good to see that my basic idea is being adapted though and brought to a more stable and easier to handle shape. However, I'd appreciate some credits though for basically copying the idea of my original script ;D.
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline tk

  • Soldier
  • **
  • Posts: 235
Re: Trenchwar Domination
« Reply #14 on: January 31, 2009, 09:30:55 am »
Nice script
Quote
Too bad you are using ThreadFunc
There is only one, simple procedure threaded, called only when players votekick bombing bot, what doesn't often. Threadfunc is so harmless there.
edit1
I saw the script before update, it used threadfunc only once.
« Last Edit: January 31, 2009, 02:58:25 pm by tk »

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1506
  • Also known as Curt
    • Soldat Global Account System
Re: Trenchwar Domination
« Reply #15 on: January 31, 2009, 02:39:39 pm »
If somebody has problems w/ threads, it'd be nice to have an option up top or somewhere to disable the threadedness of it.
Soldat Global Account System (SGAS): QuakeNet in #soldat.sgas
Rent Cheap Servers: contact CurryWurst

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #16 on: January 31, 2009, 02:52:37 pm »
Pack now contains 2 scripts: TW and TWntf(no threadfunc)

PS. Ava, I added 'idea by Avarax' to script :)
« Last Edit: January 31, 2009, 03:14:33 pm by Gizd »

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1008
Re: Trenchwar Domination
« Reply #17 on: February 03, 2009, 08:33:24 am »
How I can raise score limit ?

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Trenchwar Domination
« Reply #18 on: February 03, 2009, 08:53:09 am »
Team score is domination percent, but you can change DominationIncrease(or however its named) to make game end faster(lower value)/slower(higher value).

Btw. I tried to run script with threadfunc on Linux, and it was failure, so now I know that using it in pub scripts is bad idea.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1008
Re: Trenchwar Domination
« Reply #19 on: February 03, 2009, 12:33:24 pm »
Team score is domination percent, but you can change DominationIncrease(or however its named) to make game end faster(lower value)/slower(higher value).

Btw. I tried to run script with threadfunc on Linux, and it was failure, so now I know that using it in pub scripts is bad idea.
Please copy-paste what EXACTLY I must change.
DominationInterval, got it
« Last Edit: February 03, 2009, 12:44:05 pm by Leo »