23 de abril de 2011

Bots en Urban Terror

Urban Terror se ejecuta con el motor gráfico ioUrbanTerror que está basado en el ioQuake3 liberado por IdSoftware bajo licencia GNU/GPL. Tal motor permite el uso de bots. Los bots son instrucciones que crear jugadores virtuales controlados por el equipo donde corren. Todos podemos recordar los bots del Quake III Arena. Es muy difícil ganarles a ellos en nivel "Nightmare". Lamentablemente, Frozen Sand (empresa desarrolladora de Urban Terror) no incluyó bots en el juego y esta función está desactivada desde la instalación.



Sin embargo, existe un forma para activar estos bots. Ahora ustedes se preguntan, ¿por qué activarlos? Por la sencilla razón que jugando en modo off-line nos permite ejercitar ciertas habilidades que se nos haría casi imposible en internet. Por ejemplo, podemos ejercitar nuestra puntería con el SR8 o el lanzagranadas. También está el caso que si no tuviéramos internet no estaremos limitados. Además, los bots le dan vida a partidas donde hay pocos jugadores humanos.

Activando los Bots
Para activar los bots debemos modificar nuestro archivo "autoexec.cfg" que se encuentra ubicado en la carpeta "q3ut4". Con cualquier editor de texto podemos agregar la siguiente línea:

    bot_enable 1

Con esto el motor ioUrbanTerror permitirá la ejecución de bots. Después ejecutamos el comando /reload para que el motor recargue el autoexec.cfg.

El siguiente paso es ejecutar una instrucción en la consola de comandos del UrT:
    /addbot <tipo> <nivel> <equipo> <ping> <nick>

En <tipo> tenemos las siguientes opciones:
 boa, cheetah, chicken, cobra, cockroach, cougar, goose, mantis, penguin, puma, python, raven, scarab, scorpion, tiger y widow.

En <nivel> indicamos el nivel de dificultad de los bots. Los valores son del 1 al 5. El 5 es el más difícil y parecería que estos bot tuvieran un "aimbot" por la precisión que tienen desde tan lejos. Para jugadores arriesgados el nivel idóneo es el 4

En <equipo> indicamos a qué equipo pertenece el bot. Los valores son "Red" y "Blue".

En <ping> le indicamos qué ping tendrá nuestro bot. Si queremos que ellos reaccionen como jugadores reales le pondremos un ping de 70 a 250. Prueba diferentes valores.

Y por último, <nick> le indicamos un nombre que identifique al bot en la pantalla de score.

Ejemplo de un bot. Abrimos consola y escribimos
/addbot cheetah 4 blue 150 Cheetah_nivel4

Importante:
Cada nombre de bot tiene un armamento primario y secundario predefinido, por lo que si queremos que ellos tengan cierto armamento debemos usar los nombres correctos. He aquí la lista de sus nombre y equipamiento:

Nombre: Boa
Primary: ZM LR300 ML
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Cheetah
Primary: Kalashnikov AK103
Secondary: Franchi SPAS-12
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Chicken
Primary: H&K G36
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Cobra
Primary: ZM LR300 ML
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: Smoke Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Cockroach
Primary: H&K UMP45
Secondary: -
Sidearm: Beretta 92G
Grenades: Flash Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Cougar
Primary: H&K G36
Secondary: -
Sidearm: Beretta 92G
Grenades: Flash Grenades
Item 1: Silencer
Item 2: Kevlar Vest
Item 3: -

Nombre: Goose
Primary: H&K 69
Secondary: H&K UMP45
Sidearm: .50 Desert Eagle
Grenades: -
Item 1: Extra Ammo
Item 2: Kevlar Vest
Item 3: -

Nombre: Mantis
Primary: ZM LR300 ML
Secondary: -
Sidearm: Beretta 92G
Grenades: -
Item 1: Laser Sight
Item 2: Silencer
Item 3: Kevlar Vest

Nombre: Penguin
Primary: ZM LR300 ML
Secondary: -
Sidearm: .50 Desert Eagle
Grenades: -
Item 1: Laser Sight
Item 2: Silencer
Item 3: Kevlar Vest

Nombre: Puma
Primary: ZM LR300 ML
Secondary: -
Sidearm: Beretta 92G
Grenades: -
Item 1: Laser Sight
Item 2: Silencer
Item 3: Kevlar Vest

Nombre: Python
Primary: H&K G36
Secondary: Franchi SPAS-12
Sidearm: .50 Desert Eagle
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Raven
Primary: H&K PSG-1
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: -
Item 1: Kevlar Vest
Item 2: Silencer
Item 3: -

Nombre: Scarab
Primary: H&K G36
Secondary: H&K MP5K
Sidearm: .50 Desert Eagle
Grenades: -
Item 1: Kevlar Vest
Item 2: Silencer
Item 3: -

Nombre: Scorpion
Primary: Remington SR8
Secondary: H&K MP5K
Sidearm: Beretta 92G
Grenades: HE Grenades
Item 1: Kevlar Vest
Item 2: -
Item 3: -

Nombre: Tiger
Primary: Kalashnikov AK103
Secondary: -
Sidearm: Beretta 92G
Grenades: HE Grenades
Item 1: Medkit
Item 2: Kevlar Vest
Item 3: -

Nombre: Widow
Primary: ZM LR300 ML
Secondary: H&K MP5K
Sidearm: Beretta 92G
Grenades: -
Item 1: Kevlar Vest
Item 2: Laser Sight
Item 3: -



Tips:
Podemos automatizar el proceso de añadir bots mediante scripts. He aquí un ejemplo de scripts que te ayudarán mucho. Créelo con cualquier editor de texto. Una vez creados solo necesitas abrir consola de comandos y escribir lo siguiente:

/exec addsixbluebot.cfg        ---> para agregar bots al equipo azul o
/exec addsixredbot.cfg          ---> para agregar bots al equipo rojo.


Script para bots de equipo azul:

//        addsixbluebot.cfg
//        Creado por UrbanLamer v1.0
//
// Añade seis bots a Urban Terror
// Nivel de dificultad 4
// Ping 150
//
// Formato:
// addbot <tipo> <nivel> <equipo> <ping> <nick>
//
// Bots añadidos son:
//
// Nombre: Boa
// Primary: ZM LR300 ML
// Secondary: H&K MP5K
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot boa 4 blue 150 BoaBlue
//
//
// Nombre: Cheetah
// Primary: Kalashnikov AK103
// Secondary: Franchi SPAS-12
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot cheetah 4 blue 150 CheetahBlue
//
//
// Nombre: Chicken
// Primary: H&K G36
// Secondary: H&K MP5K
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot chicken 4 blue 150 ChickenBlue
//
//
// Nombre: Python
// Primary: H&K G36
// Secondary: Franchi SPAS-12
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot python 4 blue 150 PythonBlue
//
//
// Nombre: Scarab
// Primary: H&K G36
// Secondary: H&K MP5K
// Sidearm: .50 Desert Eagle
// Grenades: -
// Item 1: Kevlar Vest
// Item 2: Silencer
// Item 3: -
addbot scarab 4 blue 150 ScarabBlue
//
//
// Nombre: Scorpion
// Primary: Remington SR8
// Secondary: H&K MP5K
// Sidearm: Beretta 92G
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot scorpion 4 blue 150 ScorpionBlue


Script para bots de equipo rojo:

//        addsixredbot.cfg
//        Creado por UrbanLamer v1.0
//
// Añade seis bots a Urban Terror
// Nivel de dificultad 4
// Ping 150
//
// Formato:
// addbot <tipo> <nivel> <equipo> <ping> <nick>
//
// Bots añadidos son:
//
// Nombre: Boa
// Primary: ZM LR300 ML
// Secondary: H&K MP5K
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot boa 4 red 150 BoaRed
//
//
// Nombre: Cheetah
// Primary: Kalashnikov AK103
// Secondary: Franchi SPAS-12
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot cheetah 4 red 150 CheetahRed
//
//
// Nombre: Chicken
// Primary: H&K G36
// Secondary: H&K MP5K
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot chicken 4 red 150 ChickenRed
//
//
// Nombre: Python
// Primary: H&K G36
// Secondary: Franchi SPAS-12
// Sidearm: .50 Desert Eagle
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot python 4 red 150 PythonRed
//
//
// Nombre: Scarab
// Primary: H&K G36
// Secondary: H&K MP5K
// Sidearm: .50 Desert Eagle
// Grenades: -
// Item 1: Kevlar Vest
// Item 2: Silencer
// Item 3: -
addbot scarab 4 red 150 ScarabRed
//
//
// Nombre: Scorpion
// Primary: Remington SR8
// Secondary: H&K MP5K
// Sidearm: Beretta 92G
// Grenades: HE Grenades
// Item 1: Kevlar Vest
// Item 2: -
// Item 3: -
addbot scorpion 4 red 150 ScorpionRed

1 comentarios:

Ricardo dijo...

Tengo una duda, si lo llego a hacer automatico, en la parte de bot_enable... el 1 va con o sin "comillas"

//Activar Server
bot_enable 1

//Recargar servidor
exec botserver.cfg

Publicar un comentario