Mapcycle et crontablist


thorase75

Recommended Posts

Bonjour, Voila je voudrai fair un truc asser particulier:

bon on va fair simple, mon serv est only d2. Je veux qu'a partir de minuit pile la map en cour et le map cycle soit changer de la maniere suivante:

Mapcycle 6h-00h(jour):

de_dust2

Mapcycle 00h-6h(nuit):

Surf_1

Surf_2

Surf_3

Surf_4

Sachant que, pour les maps surf il faut changer le Cvar suivant: sv_airaccelerate 1000

je voudrait que le changement de map de 00h entre d2-surfmap se fasse meme si le serv est vide :)

je donne les expliquations :)

//

// crontablist.txt

//

// Place all your server commands that you want

// executed at the start of each map during

// specified times of particular days

//

// The first field defines the days of the week

// that the command will be run. If the field

// is left as "" the command will be run every day of the week

//

// Days of the week are

//

// 1 = Sunday

// 2 = Monday

// 3 = Tuesday

// 4 = Wednesday

// 5 = Thursday

// 6 = Friday

// 7 = Saturday

//

// To have a command run on Tuesday and Friday use

// the day string

//

// "36"

//

// For Monday, Wednesday and Saturday use: -

//

// "247"

//

// The second field defines the time of day that

// the server should run the command and is setup

// in the following format "HH:MI-HH:MI"

//

// Start time to End time

//

// "09:30-14:10"

//

// The above time range is from 9.30am to 2:10pm. The time

// format MUST be in military 24 hour style, any hours below 10:00 must

// start with a preceeding 0 as in 01:00, 02:00, 03:00, you must

// not use 1:10 for instance.

//

// The third field instructs the server the command

// to run at the start of each map during that time

// period. For example

//

// "" "09:30-15:10" exec daytime_config.cfg

//

// The above line will run the command 'exec daytime_config.cfg'

// on the start of each map during the time period 09.30 upto and

// including 15:10 for every day of the week.

// If you only wanted it to run on Monday, Wednesday and Friday

// the line would look like

//

// "246" "09:30-15:10" exec daytime_config.cfg

//

// The default configuration is to run your command before

// any custom map config is run (see map_configs folder)

//

// If you place a # symbol before the server command it will

// be run after any custom map config is exectuted.

//

// "" "19:00-21:59" #sv_gravity 800

//

// The above command will be run from 19:00 to and including

// 21:59 each time a map starts but after any custom map configs.

// In this case if you have a low grav map that uses a custom map

// config to set sv_gravity to say 150. The above command will

// override that setting.

//

// You can have as many entries in this file as you wish.

//

Voila... bon c'est relou et je vais y reflechire de mon coter:p

NB: si c'est pour flooder mon topic c'est pas la peine >_< :(

Je vous remerci ENORMEMENT de l'intention porter a mon probleme, merci

Link to comment
Share on other sites

Alors deja tu cré un .cfg avec tes commandes surf dedans et l'autre avec FFA

Mettons surf.cfg et FFA.cfg

Dans ton contrablist

Tu mets

"1234567" "00:00-06:00" exec surf.cfg

Par contre je n'ai aucune idée pour changer ton mapcycle.txt ... mais apparamment tu as un dossier map_config.

Essaie de voir ce qu'il y a dedans. Ou donne un lien pour qu'on puisse voir ce que c'est ( PS : J'avais jamais entendu parlé :D )

Link to comment
Share on other sites

  • 6 years later...

Archived

This topic is now archived and is closed to further replies.