Cerere Ajutor Modificare PTB.cfg

Tutoriale scripting, cod si portiuni de cod.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
trekA
eXtream Mod
eXtream Mod
Posts: 581
Joined: 09 Mar 2019, 23:13
Detinator Steam: Da
CS Status: know no better
SteamID: picanetu
Reputatie: eXtream Mod
Membru Club eXtreamCS (17 Feb - 17 Mai)
Fond eXtream: 0
Location: Piatra Neamț
Has thanked: 134 times
Been thanked: 36 times
Contact:

20 Mar 2020, 17:32

Salut! Am si eu o problema cu plugin-ul ptb. Nu stiu cum sa-l configurez exact pentru un mod de CSDM, dat fiind faptul ca functioneaza pe baza unei runde nelimitate.
| Afiseaza codul
// PTB Configuration
//
// File location: addons/amxmodx/configs/ptb.cfg
//
// Settings are loaded on every mapchange
// from this cfg file
//
// For details on the settings check out the documentation
// in the readme.txt file
echo [PTB] Ptb.cfg is being executed

// These two cvars must be set to 0 so PTB can work properly.
mp_autoteambalance 0
mp_limitteams 0

// Control of chatmessages which can be 0 for off 1 on if set to 2 then Transfers will show in hud but not chat.
// If set to 3 it will show all messages in chat and transfers as hudtext
ptb_saychat 1
			  
// Transfertype can only be 1, 2 or 3 and 3 is the most agressive transfer 
// 1 is PTBs original transfertype
ptb_transfer_type 1

// Set to 0 if admins with immunity also should be switched
ptb_switch_immunity 1

// Set to 0 if admins with immunity cant choose the team they wants
ptb_limitjoin_immunity	1

// Here you set which flag an admin must have to be immune against transfers (Default o ADMIN_LEVEL_C)
ptb_immunity_level "o"

// Here you set which flag an admin must have to be able to change PTB settings (Default l ADMIN_RCON)
ptb_access_level "l"

// If you want to see Transfers made in the HLSW chat have this set to 1
ptb_show_in_hlsw 1


// team selection control
amx_ptb limitjoin    on 	// set limits on team joining
amx_ptb limitafter   0		// number of rounds after which teams limiting begins
amx_ptb limitmin     0		// number of minimum players on map for team limiting
amx_ptb maxsize      16		// maximum team size per team
amx_ptb maxdiff      2		// maximum team size difference
amx_ptb autorounds   3		// number of first rounds into match, which allow autojoin only
amx_ptb wtjauto      3		// wtj tries needed to become autojoined
amx_ptb wtjkick      5		// wtj tries needed to become kicked
amx_ptb kick         off	// kick for wtj counts
amx_ptb savewtj      off 	// save wtjs to wtj.log

// team balancing actions
amx_ptb switch       on		// switch/transfer players
amx_ptb switchafter  1		// number of rounds after which switching begins
amx_ptb switchmin    5		// number of minimum players on map for switching
amx_ptb switchfreq   1		// relative next possible switch round
amx_ptb playerfreq   7		// relative next possible switch round for player
amx_ptb forceswitch  0		// number of tries after which PTB switches alive, if neccessary
amx_ptb deadonly     off 	// switch dead only

// messages (good to have on when debugging if you use statsx dont have them on)
amx_ptb tellwtj      off 	// tell about wtj tries
amx_ptb announce     off	// announce team status at beginning of round
amx_ptb sayok        off	// announce team status, if teams are alright
amx_ptb typesay      off	// use HUD messages

// team strength limits
amx_ptb maxstreak    3		// max. allowed team win streak
amx_ptb maxscore     2		// max. allowed team score difference
amx_ptb minrating    1.5	// minimum critical team rating
amx_ptb maxrating    2.0	// maximum critical team rating
amx_ptb superrating  3.0	// super critical team rating
amx_ptb maxincidents 50		// maximum kills + deaths before the score is divided by PTB_SCALEDOWN
amx_ptb scaledown    2		// divisor for kills and deaths, when PTB_MAXINCIDENTS is reached
Nu stiu daca e bine cum l-am modificat asa.
RoyalServer 2
User avatar
levin
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 3844
Joined: 24 Aug 2011, 12:24
Detinator Steam: Da
CS Status:
Detinator server CS: ☯∴
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Location: ҳ̸Ҳ̸ҳ
Discord: devilclass
Has thanked: 36 times
Been thanked: 594 times
Contact:

20 Mar 2020, 17:39

ptb_switch_immunity 0
amx_ptb limitjoin off
amx_ptb limitafter 1
amx_ptb limitmin 4
amx_ptb autorounds 1
amx_ptb forceswitch 1
amx_ptb maxstreak 0
amx_ptb maxscore 0
Pentru ajutor, faceți cerere bine detaliată, completând și respectând modelul corespunzător.
Nu-mi mai dați cereri doar pentru a mă avea în lista de prieteni.
Dacă te ajut, și mă ignori/etc > te adaug în „foe”.
Aveți grijă la cei ce încearcă să mă copieze sau să dea drept mine..Puteți lua legătura cu mine prin STEAM dacă aveți o problemă/nelămurire în acest caz! Cont de forum am doar aici.
În cazul în care utilizați ceva din ce am postat(ex: aici), e bine să fiți la curent cu modificările aduse și de aici, iar dacă sunt ceva probleme nu ezitați să luați legătura cu mine. Actualizarea unor coduri nu se vor afișa public, doar dacă se găsește ceva critic/urgent de remediat, unele fiind coduri vechi iar unele refăcute chiar recent dar private.
* Nume pe cs1.6: eVoLuTiOn \ Nume vechi: eVo
* Atelierul meu - post2819572.html#p2819572 (închis, click link ca să vedeți de ce)
Post Reply

Return to “Scripting”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests