Blog Archives

RagnarStats Mod

RagnarStats

RagnarStats is a mod for keeping track of who has got most frags on your server. It will display a list of names of the 10 players with the most frags at the start of every map.

There are two mutators, RagnarStats and RagnarStatsDisplay. Only RagnarStatsDisplay needs to be downloaded by players. The other one should be on the server only.

Read the ReadMe.txt file for more info.

Works with versions: 1.00/1.01/1.02/1.07
Does not work with: 1.04/1.10 (Classic)
Not tested with: 1.08 (should work)

DOWNLOAD:

Rune 1.00-1.02
RagnarStats100.zip

Rune 1.07-1.08
RagnarStats107.zip

Code
RagnarStatsSrc.zip

A Simple Bot

A VERY simple bot. Works with all versions of Rune. It’s actually just a scriptpawn that automatically restarts when it dies.

To use it on your server, put all the files into your game System folder. Then when you make a server, select the ASimpleBot mutator from the list. Also add ServerPackages=ASimpleBot under all the other ServerPackages in Rune.ini.

DOWNLOAD:
ASimpleBot.zip | ASimpleBotSrc.zip

CODE:

//=============================================================================
// ASimpleBot
//=============================================================================
Class ASimpleBot extends LokiGuard;

function InitPlayerReplicationInfo()
{
	if (PlayerReplicationInfo.PlayerName == "")
		PlayerReplicationInfo.PlayerName = "ASimpleBot";
}

state Dying
{

PostDeath:
	if( Level.Game.RestartPlayer(self))
    {
		Enemy = None;
		StowWeapon = None;
		ClientReStart();
    }
    else
		log("ASimpleBot failed to restart!");
}

DefaultProperties
{
	bIsPlayer=True
	Intelligence=BRAINS_HUMAN
	Health=100
	MaxHealth=100
	bCanJump=True
	bCanWalk=True
	bCanSwim=True
	bCanFly=True
	bCanOpenDoors=True
	bCanDoSpecial=True
	bAdvancedTactics=True
	bCanStrafe=True
	bCanGrabEdges=True
	Skill=2.000000
	StartStowWeapon=None
	StartShield=None
	StartWeapon=None
	BlockChance=1.000000
	FightOrDefend=0.500000
}