Author Topic: Soccer  (Read 8096 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Soccer
« on: November 05, 2007, 09:43:50 pm »
Script Name: Soccer
Script Description: Two teams. Everybody is given a flammer. No damage is ever dealt to anybody. There is a medikit in the middle of the map. Your goal is to push the medikit with your flamer around to make goals in partially-obvious areas. Grenades also spawn every two minutes if there is a player in-game randomly across the map.
Original Author: Curt
Core Version: 2.6.3

Attached is a map I made thats kind of small and not much of a map... but its still a map that can be used for something like 1v1s on this.

The format of the mapdata for this is very similar to the Territories script. I'll modify this post sometime in the future to explain how to actually do it.

Required:
Quote from: soldat.ini
GameStyle=3
Friendly_Fire=0
Connection=LAN
Weapon_1=0
Weapon_2=0
Weapon_3=0
Weapon_4=0
Weapon_5=0
Weapon_6=0
Weapon_7=0
Weapon_8=0
Weapon_9=0
Weapon_10=0
Weapon_11=0
Weapon_12=0
Weapon_13=0
Weapon_14=0
Max_Grenades=1
Map Data:
Quote
[<name>]                (name is for /loadmapdata <name>; "default" is the name that is loaded automatically)
Spawn_X=                 (X spawn location for the ball)
Spawn_Y=                 (Y spawn location for the ball)
Hide_X=                   (X spawn location for hiding unused material (outside map))
Hide_Y=                   (Y spawn location for hiding unused material (outside map))

(T# goes from 1 to 2; for each team)
T#_Groups=             (number of groups of "or" groups of checks)
T#G#_Checks=         (number of "and" checks)
T#G#C#_Type=        (style of check; available types: right, left, above, below, distance, !distance)
T#G#C#_Location=   (location of the check (used with right, left, above, below types))
T#G#C#_X=             (X location of check type distance or !distance)
T#G#C#_Y=             (Y location of check type distance or !distance)
T#G#C#_Distance=   (distance from X,Y to player required to be true for check type distance or !distance)

Lines=                     (used to randomly spawn grenade boxes; grenade boxes spawn randomly across a randomly selected line)
L_Chance=               (chance of this line being selected)
L#P1_X=                  (X location of the first point of this line)
L#P1_Y=                  (Y location of the first point of this line)
L#P2_X=                  (X location of the second point of this line)
L#P2_Y=                  (Y location of the second point of this line)
Majority of the map data is very similar to the Trenchwars Territories script. The only differences are that TWT has player spawn points, this doesn't; and that this has lines for spawning items, TWT doesn't.
« Last Edit: February 28, 2008, 03:58:10 pm by DorkeyDear »

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Soccer
« Reply #1 on: November 06, 2007, 02:28:23 am »
Wow,

Ths sounds interesting BUT,
I'm guessing Bots won't work very well and all the flamers will cause alot of lag if you want to play other people :P
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Soccer
« Reply #2 on: November 06, 2007, 08:46:00 am »
Nope, can't create my own AI for the bots :P
Not meant for like a 6v6 or anything :P Would be interesting to see that on Lagrange, having the ball fly up in the air like every second :P

Off topic: Are the "remove topic" and "lock / unlock" buttons shinier than before?

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: Soccer
« Reply #3 on: November 06, 2007, 12:23:59 pm »
I think they are *.*

is your soccer server still up? or did it not work so you released the script?
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Soccer
« Reply #4 on: November 06, 2007, 01:22:32 pm »
I think they are *.*

is your soccer server still up? or did it not work so you released the script?
It worked, just.. Not very many ppl went there :P So when it randomly went bye bye, i didn't bother brining it back up.

Offline kirillch

  • Major(1)
  • Posts: 4
Re: Soccer
« Reply #5 on: November 16, 2007, 10:21:45 am »
It don't work. The ball don't move(((

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Soccer
« Reply #6 on: November 16, 2007, 03:40:15 pm »
I forgot to mention.. in soldat.ini, you must have "Connection=LAN" to make it so u can push it.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Soccer
« Reply #7 on: November 16, 2007, 05:32:10 pm »
I forgot to mention.. in soldat.ini, you must have "Kits_Collide=1" to make it so u can push it.

Fixed.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Soccer
« Reply #8 on: November 17, 2007, 08:15:45 am »
I forgot to mention.. in soldat.ini, you must have "Kits_Collide=1" to make it so u can push it.

Fixed.
I'll double check with that. I asked Chakra (If I recall correctly) and he said to use "Connection=LAN" thing, sense "Kits_Collide=1" seemed to have no effect.

EDIT:
I just tested it and you need to have "Connection=LAN" to have bullets collide with boxes, and I don't see any effect whether "Kits_Collide=0/1"

EDIT:
Looking at http://devs.soldat.pl/wiki/index.php/Soldat.ini it says:
Quote
Kits_Collide=1 #Possibly obsolete - kits always bounce around with Connection set to LAN.
« Last Edit: November 17, 2007, 08:31:00 am by DorkeyDear »

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Soccer
« Reply #9 on: November 17, 2007, 11:49:28 am »
Hmm. Sorry.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline UPNPAD

  • Major(1)
  • Posts: 36
Re: Soccer
« Reply #10 on: November 18, 2007, 05:00:38 am »
Well does that mean you need to have kits_collide=1 and connection=lan?

Offline deguix

  • Major
  • *
  • Posts: 79
Re: Soccer
« Reply #11 on: November 18, 2007, 07:08:19 am »
Connection=LAN is required, kits_collide=1 is not because it doesn't have an effect when connection=LAN. (just read previous posts more carefully)

Offline pinOi32

  • Camper
  • ***
  • Posts: 339
  • "Bravo kid's bad day"
    • Newgrounds
Re: Soccer
« Reply #12 on: December 12, 2007, 04:56:41 pm »
are u going to put the server back on??
Pls use my amazing interface:
http://forums.soldat.pl/index.php?topic=27584


I WIN!!

WHY MY KARMA SUCK??

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Soccer
« Reply #13 on: December 13, 2007, 06:38:21 am »
are u going to put the server back on??
probably not..
a friend is going to be hosting a server containing this script (and others) probably..

Offline Navy0zkr

  • Major(1)
  • Posts: 15
Re: Soccer
« Reply #14 on: January 25, 2008, 07:56:10 pm »
the ball its stuck on _s_pipe

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Soccer
« Reply #15 on: January 25, 2008, 10:39:03 pm »
the ball its stuck on _s_pipe
I redownloaded all the stuff and it seems to work properly on s_Pipe
Try restarting the map; look at the server console, if it doesn't find the map data, then you did something wrong installing the script
Try !ball

Offline BondJamesBond

  • Flagrunner
  • ****
  • Posts: 986
    • http://tobylands.com
Re: Soccer
« Reply #16 on: January 29, 2008, 12:49:32 pm »
If anyone is hosting this script, please tell me so I can support. I will definitely join and play around =)
The computer is a moron.
?  - Peter Drucker

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: Soccer
« Reply #17 on: April 10, 2008, 10:00:00 am »
I think i am going to serv it. But I need tutorial how to make map for this. Where can i know X;Y on the map?
[saw]  on 1.5.1

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Soccer
« Reply #18 on: April 10, 2008, 12:26:18 pm »
there is map data for lagrange, ctf_dropdown2 and s_pipe already included.

in this thread u can find 2 more maps with their data:
http://forums.soldat.pl/index.php?topic=23462.0

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: Soccer
« Reply #19 on: April 10, 2008, 01:42:34 pm »
I am going to run server today, who wants then join.

Server: soldat://80.235.48.56:114/
3 maps,

But i wanted to know how i can configure .ini when making new map?
[saw]  on 1.5.1