Unreal II, como jugar con bots
En el foro oficial del Unreal II, uno de los programadores de Legend, han posteado como poder jugar con bots en DM y en diferentes mutadores.
Foro U2
Nota:
Solo funciona contra bots, en MP no funciona, y también avisa que el código hace un año o más que no se toca.
mfox
Senior Programmer
Legend Entertainment
Reg: May 2000
Location:
Re: How to add Bots?
This is totally unsupported but there is somewhat functional botmatch support in the game if you want to experiment with it (standalone games only -- multiplayer games won't work).
First, you'll probably want to make a new map or change an existing map to contain additional playerstarts and pickups (weapons and ammo).
To start the botmatch use
unreal2 xxx?game=u2.u2deathmatch
where xxx is the name of the level that you want to use.
Use addbots [x] to add bots to the level.
There are also a number of "mutators" available, e.g.
unreal2 xxx?game=u2.u2deathmatch?mutator=u2.rocketarena
There were mutators for most of the weapon types last time I looked and there is a "NIU2" mutator which cycles the weapons or gives everyone specific weapons (pretty similar to the NIU mod that I did for UT a couple years ago).
There's no UI for this but you can use
setskill x
to set the bots' skill, and
togglescoreboard
to get a "scoreboard" that shows you the current standings.
Disclaimer: this code hasn't been worked on in over a year and your mileage may vary. I'm pretty sure there was a problem with bots not always respawning when they die, so you may need to useaddbots again from time to time to "replenish" the bots.
Mike
mfox
Senior Programmer
Legend Entertainment
Stick this in your .bat file (or make a shortcut):
D:\Programme\Unreal2\system\Unreal2.exe MAPNAME?game=u2.u2deathmatch
or
D:\Programme\Unreal2\system\Unreal2.exe MAPNAME?game=u2.u2deathmatch?mutator=u2.rocketarena
etc.
Once in the game, hit your fire button (e.g. left mouse button) to start the game. Bring the console down (~ or Tab key) then type
bemymonkey
to enable cheats. Then type
addbots 3
to add 3 bots. All the other commands that I mentioned are also typed in the console (or bind them to a key, e.g. I use
set input scrolllock togglescoreboard
so I can turn the scoreboard on/off by hitting the ScrollLock key).
Here's the complete list of arena mutators:
AssaultRifleArena
DispersionArena
EnergyRifleArena
FlamethrowerArena
GrenadeLauncherArena
LaserRifleArena
LeechGunArena
PistolArena
RocketArena
ShotgunArena
SingularityCannonArena
SniperRifleArena
TakkraArena
And you can also use the NIU2 mutator (cycles / modifies weapons -- see NIU2.ini to control the settings).
These are "gamerules" "mutators" (use ?gamerules=u2.showdamageinfo for these):
HitSound (beeps when target hit)
ShowDamageInfo (shows damage debug information)
Mike
Unreal Tournament 2003
otra cosa ya hay gente que esta intentando acabar el codigo multiplayer por su cuenta a partir del codigo inacabado del u2, sin el apoyo ni de Legend Epic ni nadie.
<a href=”https://www.ina-community.com/forums/showthread.php?&threadid=261582<br”>www.ina-community.com/forums/show…</a> />
multiplayer server code sample, soon will be playing unreal gimme some time.
//================================ />// $Workfile: U2XMPGame.uc $ // Created By: Mark Poesch // Created On: 6/22/2001 // $Author: Mfox $ // $Date: 6/28/02 5:37p $ // $Revision: 6 $ //================================ />class U2XMPGame extends U2TeamGame;
const MaxArtifacts = 8;
var() config string ArtifactList[MaxArtifacts]; // artifacts to spawn var() config int ArtifactCount; // number of artifacts to spawn per team (0, 1-8) var() config int ArtifactGoal; // must be less than or equal to the ArtifactCount*NumTeams (0, 2-16) // if GoalScore < 500, default to 1000, otherwise GoalScore ranges from 500-1000 var() config int EnergyLevel; // propogated to Replicators at game start (0, 100-10000) var() config int ItemLimit; // propogated to Replicators at game start (0, 1-10)
var() float Score_TapEnergySource; //TBI var() float Score_DefendEnergyRelay; //TBI var() float Score_DestroyEnergyRelay; //TBI var() float Score_DefendReplicator; //TBI var() float Score_ShutdownEnemyReplicator; // var() float Score_KillEnemyWithArtifact; //TBI var() float Score_ArtifactCapture; // var() float Score_ArtifactGoalAchieved; //
event PreBeginPlay() { super.PreBeginPlay();
//NEW MJL: levellists Spawn(class’XMPLevelListInfo’); //OLD
if( GoalScore < 0.5 * default.GoalScore ) { GoalScore = default.GoalScore; } }
function AdjustPawnClass( out string InClass ) { local class PawnClass; local class Light; local class Medium; local class Heavy;
DM( self$"AdjustPawnClass IN: " $ InClass ); // constrain InClass to "U2Pawns.U2PlayerXMPLight", "U2Pawns.U2PlayerXMPMedium", or "U2Pawns.U2PlayerXMPHeavy" PawnClass = class( DynamicLoadObject( InClass, class'Class' ) ); Light = class( DynamicLoadObject( "U2XMP.U2PlayerXMPLight", class'Class' ) ); Medium = class( DynamicLoadObject( "U2XMP.U2PlayerXMPMedium", class'Class' ) ); Heavy = class( DynamicLoadObject( "U2XMP.U2PlayerXMPHeavy", class'Class' ) ); if( !ClassIsChildOf( PawnClass, Light ) && !ClassIsChildOf( PawnClass, Medium ) && !ClassIsChildOf( PawnClass, Heavy ) ) { InClass = "U2XMP.U2PlayerXMPMedium"; } DM( self$"AdjustPawnClass OUT: " $ InClass ); }
function RestartPlayer( Controller aPlayer ) { super.RestartPlayer( aPlayer );
// if SP or 1:1 match, upgrade Pawn to Commander if( Level.NetMode == NM_Standalone || MaxPlayers == 2 ) { DM( aPlayer @ aPlayer.Pawn ); //MWP It looks like aPlayer can be None or will be none at the start of every match casuing // an accessed none. // assert( U2PlayerXMP(aPlayer.Pawn) != None ); U2PlayerXMP(aPlayer.Pawn).bCommander = true; } }
function SpawnArtifacts() { local Artif
aqui entre todos vosotros os presentamos el post mas largo 2002-2003

felicidades cote
Haber si lo hacen cooperative que es lo que mola
juassssssssssss todo el dll de multiplayer en un post

esperos k alguien se curre un buen Multi,y yo hare mapas pal u2
el multi de u2 espero que sean coop
n_n Sería cojonudo que lo terminase. Jostia, pues ahora que lo decis, tambien estaría bien que fuera en Cooperativa. Y también un CTF a campo abierto, debe de ser mortal. Que ni con el rifle de francotirador se pudiese ver la base del enemigo.
Estaría to guapo. Pero sería una putada, currarte una bandera, que para llegar a la tu base te tires más de 1min y al llegar que te la quiten. Entonces sería mejor que en vez de tocar la bandera y que volviese a la casa, sería mejor que tubiese que llevarla uno del equipo. Osea que cuando te quieten la bandera, tengas, no solo que tocarla, sino escoltarla hasta cierto punto, o algo así. Taría bien.
A mí también me gustaría hacer niveles. Que los editores siempre me han encantado. Son mi debilidad.
También estaría guapo lo de simepre un DM y un TDM.
Si por mí fuese, empezaría a hacer mapas ahora mismo. >
Pero tengo la duda de como narices voy a poner para que salgan distintas personas en un punto, porque igual no se puede. Igual solo te deja poner un punto y todos en ese punto sería mortal, primero que nada más aparecer, te mataría el siguiente, y encima siempre estaría el típico camper apuntando al lugar de origen. Espero que eso no suceda 
Si no pasa eso, yo me ofrezco a hacer alguna pantallica. Que mola.
En fin.
No creeis???

Si por mí fuese, crearía una pantalla que fuese tipo la de denoche en el bosque, la segunda o tercera pantalla, antes de matar el primer bicho. Esa no taba mal. Esa que encima te pudieses subir a los árboles, sería más que mortal. Ahí no pararían de morir la gente. Además, con tanto árbol, no creo que los campes puediesen hacertar mucho.
Me toy enrollando demasiado y me vais además de aborrecer, a matar
Asique mejor lo dejo ya. 
unreal2 multiplayer finally here i have some good knews for ya, multiplayer actually werk with no modification, the bad knews is we need new maps, the ureal2 maps are not design for multiplayer, altho we can run multiplayer there is more werk needed to run a stable and worthy multiplay.
anyway here what you need to do.
copy the text to notepad and save it as bat file and not txt, choose according to what type game you want to play and name the bat file whatever you want, and place it on system folder and execute.
example C:\unreal2\system\multiplayer.bat copy each line to notepad and save as bat file
1-teammissiongame: “unreal2 DM_waterfront.un2?game=U2.U2TeamGame?mutator=U2.ShotgunArena”
2-ctfgame: “unreal2 CTF_AvalonB.un2?”game=U2CTF.U2CTFGame
3-“teamdeathmatchgame: unreal2 DM_waterfront.un2?game=U2XMP.U2XMPGame”
note: you must rename a map according to my example .
see me playing here
Pero no quedamos en que el U2 no tendria multi? Pos dejadle en paz al pobre coño…..xD
[BB]COTE, podrías poner el LINK de la página dondeo pone todo eso, porque prefiero verlo entero y copiarlo a tener que estar copiando de aquí. Si funciona me apunto a hacer lo que haga falta para crear niveles.