November 26 2024 11:36:00
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 9

· Members Online: 0

· Total Members: 1,134
· Newest Member: Brody
Teamspeak 3
Last Seen Users
· hackepter02:18:06
· GONZO19:12:37
· Intruder19:39:20
· Sully 1 day
· desintegrator 2 days
· WEZ 3 days
· Homi 3 days
· The ACE 4 days
· xhc 1 week
· dRgiGGLeZ 1 week
· El Dookie 1 week
· Melber 2 weeks
· SGT PEPPER 2 weeks
· martyr 2 weeks
· Terminator 2 weeks

View Thread: Random maplist - need help
Vietcong.Info » Vietcong General Discussion » General Discussion
Who is here? 1 Guest
Current Rating: (Total: 0 ratings)  
 Print Thread
Random maplist - need help
KostiCZ
Hello, soldiers.

Yesterday I tested script for generating random maplists. I know you are bored when still the same 5 maplists are on servers so I want to change it. Script is ready but I need your help with definition for each map. I need to create .bat file for each map and because I have over 400 tested maps in mapstorage, it is a lot of work. So I vould like to ask if any volunteer want to help me.

What I need to do is for each map generate .bat file with following inside:


Hanoi_Hilton.bat
Download source  Code


echo Mission = Hanoi_Hilton, Coop, time, 60:00 >> "%1Vietcong\dedicated\maplist.txt"
set name=Hanoi_Hilton
mklink "%1Vietcong\maps\%name%.cbf"    "\---MAPSTORAGE---\%name%.cbf"
mklink "%1Vietcong\maps\%name%.dat"    "\---MAPSTORAGE---\%name%.dat"







Important parts different for each map are in red. First line should be copied from .ded file, not edited manualy because gamemode is case sensitive and we have a lot of different "coop" modes, for example COOP, coop, Coop, CooP, coop', COOPL...

I want to split maps for some groups, for example TMG maps, VET maps, TR/TP maps, GW maps, (...) maps etc. So any volunteers for this job who can care about some group?

Thanks a lot
Edited by KostiCZ on 04-10-2013 11:45
Signature________________________________________________

2LT William Theolinus "KostiCZ" Boner Jr.
LRRP Squad Baker, Delta Team
cache.www.gametracker.com/player/KostiCZ/63.143.47.189:2302/b_560x95.png
  x 1
 
Teamrespawn.cz
Silent Bob
You need a .bat for each map? I can provide a .txt for all maps i have.......

So in case 1 it would be:

Download source  Code
Server name = VC Multiplayer

//Server settings
Friendly fire = 1
Auto balanced teams = 0
Maximum players = 32
Enemy camera = 0
Internet game = 1
Hide server IP = 0
Port number = 5425
Cooperative difficulty = 0
Player respawn method = 0
Weapon respawn limit = 30
Engineers = -1
Medics = -1
Snipers = -1
Radiomans = -1
MachineGunners = -1
ATG mission time = 5
TT mission time = 0
TT respawn time = 0
CTF respawn time = 0
Immortality after respawn = 3
Vietnam mode = 0
Vietnam chat mode = 0
Ammo boxes = 1
Team kill = 3
Team kill ban = 6
Ping kick = 0
Idle player kick = 10
Team booby trap = 1
Hradba enable = 1
Hradba auto update = 1
Hradba upload limit = 5
User-map enable = 1
User-map upload limit = 10
Voice chat = 0
Change map voting = 1
Restart map voting = 1
Password =
Admin password =
Server join message =


//List of missions
Mission = Monsoon_v6A, Coop, time, 20:00




Case 2 would be:

Download source  Code
//List of missions
Mission = Monsoon_v6A, Coop, time, 20:00
Mission = XIENG_XEU_BETA_01, COOP, time, 120:00




Note: just random picked maps
 
www.vietcong.info
KostiCZ
Yes, for my system I need separate .bat for each map but if you have .ded files with mission definitions, it can help

Till now I have about 25 .bat files, Teamrespawn.cz server is already running with this system, only 24 maps in maplist.
Signature________________________________________________

2LT William Theolinus "KostiCZ" Boner Jr.
LRRP Squad Baker, Delta Team
cache.www.gametracker.com/player/KostiCZ/63.143.47.189:2302/b_560x95.png
 
Teamrespawn.cz
KostiCZ
Just to explain - because I have only 64GB SSD at server PC I need to share mapfiles with other servers, so it is not possible to make 5 copies of 10GB folder with all maps. Also it is not good to left all maps in mapfolder and let game engine to load it at startup (memory problems and crashes). So only 50 maps will be "added" to maps folder (symbolic links). Also for each map I need to add definition to .ded file, it is not possible to change only mapname because mission type is case sensitive and I don't know which maps are COOP and which are Coop or coop ...
Signature________________________________________________

2LT William Theolinus "KostiCZ" Boner Jr.
LRRP Squad Baker, Delta Team
cache.www.gametracker.com/player/KostiCZ/63.143.47.189:2302/b_560x95.png
 
Teamrespawn.cz
Brchi
I am already working on a program for him.
  x 1  x 2
 
http://www.myCong.net
Silent Bob
any updates? (still willing to help)
 
www.vietcong.info
KostiCZ
Yes, program is finished and I'm testing it at S#1 already. You can notice a lot of new maps there. Thanks to Brchi APPLAUSE
Signature________________________________________________

2LT William Theolinus "KostiCZ" Boner Jr.
LRRP Squad Baker, Delta Team
cache.www.gametracker.com/player/KostiCZ/63.143.47.189:2302/b_560x95.png
 
Teamrespawn.cz
Jardacz
KostiCZ wrote:
Yes, program is finished and I'm testing it at S#1 already. You can notice a lot of new maps there. Thanks to Brchi APPLAUSE
SignatureSnažím se
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Random enemy placement General Discussion 6 12-11-2014 07:20
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.28 seconds - 64 Queries 5,473,592 unique visits