Author Topic: Spawning Bots  (Read 22252 times)

0 Members and 1 Guest are viewing this topic.

sWiTcH_bLaDe

  • Goblin Pup
  • *
  • Posts: 12
  • Reputation: +0/-0
Spawning Bots
« on: November 9, 2002 04:31 pm CST »
Can someone tell me how to spawn bots??? :-/ ???
« Last Edit: December 31, 1969 06:00 pm CST by sWiTcH_bLaDe »

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: Spawning Bots
« Reply #1 on: November 9, 2002 05:14 pm CST »
#spawn bottype botname loadout team

ex.
#spawn runt Test default 2
« Last Edit: December 31, 1969 06:00 pm CST by Particle »
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

sWiTcH_bLaDe

  • Goblin Pup
  • *
  • Posts: 12
  • Reputation: +0/-0
Re: Spawning Bots
« Reply #2 on: November 12, 2002 02:52 pm CST »
Thanx Particle ;D
« Last Edit: December 31, 1969 06:00 pm CST by sWiTcH_bLaDe »

Particle

  • Chief Codemonger
  • Administrator
  • Centurian Lord
  • ********
  • Posts: 5,904
  • Reputation: +20/-4
    • Particle's Custom RPG
Re: Spawning Bots
« Reply #3 on: November 12, 2002 04:26 pm CST »
Anytime.
« Last Edit: December 31, 1969 06:00 pm CST by Particle »
As a point of history:  Our last server clear was on September 27, 2004.  That is 4963 days ago (13.6 years) as of today.

If you're visiting after a long hiatus and have forgotten your password, try emailing me via the support form at http://www.pcrpg.org.

If your character is from after the 2004 clear but appears to have been deleted or reset, chances are it was caught in one of the inactive account purges over the years.  Backups were made before such events, so try the support form.

Jigen

  • Goblin Pup
  • *
  • Posts: 6
  • Reputation: +0/-0
Spawn type
« Reply #4 on: August 25, 2003 06:48 pm CDT »
Can anyone give me a list of classes and races for spawning bots?
« Last Edit: December 31, 1969 06:00 pm CST by Jigen »

Jigen

  • Goblin Pup
  • *
  • Posts: 6
  • Reputation: +0/-0
Spawning merchants
« Reply #5 on: August 25, 2003 07:26 pm CDT »
Also can any one tell me how to spawn a merchant and how to add items to them?
« Last Edit: December 31, 1969 06:00 pm CST by Jigen »

eViL

  • Uber Menace
  • *******
  • Posts: 1,022
  • Reputation: +0/-0
(No subject)
« Reply #6 on: August 25, 2003 09:28 pm CDT »
$NameForRace[generic] = "MaleHuman";
$NameForRace[merchant] = "MaleHuman";
$NameForRace[banker] = "MaleHuman";
$NameForRace[assassin] = "MaleHuman";
$NameForRace[mage] = "MaleHuman";
$NameForRace[porter] = "FemaleHuman";
$NameForRace[manager] = "MaleHuman";

$NameForRace[Thug] = "Traveller";
$NameForRace[Monk] = "Traveller";
$NameForRace[Miner] = "Traveller";
$NameForRace[Commoner] = "Traveller";
$NameForRace[Mercenary] = "Traveller";
$NameForRace[Militia] = "Traveller";
$NameForRace[Brigand] = "Traveller";
$NameForRace[Marauder] = "Traveller";
$NameForRace[Knight] = "Traveller";
$NameForRace[Paladin] = "Traveller";

$NameForRace[Runt] = "Goblin";
$NameForRace[Thief] = "Goblin";
$NameForRace[Wizard] = "Goblin";
$NameForRace[Raider] = "Goblin";

$NameForRace[Pup] = "Gnoll";
$NameForRace[Shaman] = "Gnoll";
$NameForRace[Scavenger] = "Gnoll";
$NameForRace[Hunter] = "Gnoll";

$NameForRace[Warlock] = "Orc";
$NameForRace[Berserker] = "Orc";
$NameForRace[Ravager] = "Orc";
$NameForRace[Slayer] = "Orc";

$NameForRace[Ruffian] = "Ogre";
$NameForRace[Destroyer] = "Ogre";
$NameForRace[Halberdier] = "Ogre";
$NameForRace[Dreadnought] = "Ogre";
$NameForRace[Magi] = "Ogre";

$NameForRace[Mauler] = "Zombie";
$NameForRace[Thrasher] = "Zombie";
$NameForRace[Skeleton] = "Undead";
$NameForRace[Necromancer] = "Undead";
$NameForRace[Spawn] = "Demon";

$NameForRace[Protector] = "MaleElf";
$NameForRace[Peacekeeper] = "MaleElf";
$NameForRace[Lord] = "MaleElf";
$NameForRace[Champion] = "MaleElf";
$NameForRace[Conjurer] = "FemaleElf";

$NameForRace[Civilian] = "MaleHuman";
$NameForRace[Gladiator] = "MaleHuman";

$NameForRace[Goliath] = "Minotaur";
$NameForRace[Reaper] = "Minotaur";

$NameForRace[Sloth] = "Uber";
$NameForRace[Gohort] = "Uber";

and the merchant thing, thats in the map...
« Last Edit: December 31, 1969 06:00 pm CST by eViL »
Quote from: "LastWish || NextWish"
eViL, you were probably the coolest but most misunderstood person in this community.. maybe the rest will find out how cool of a person you are some day, and don't get too mad at the people who dont understand you.. its their loss in the end.

Jigen

  • Goblin Pup
  • *
  • Posts: 6
  • Reputation: +0/-0
thanks evil
« Reply #7 on: August 27, 2003 12:17 pm CDT »
Thank you very much evil
« Last Edit: December 31, 1969 06:00 pm CST by Jigen »

Hersh

  • Elvin Legion
  • *****
  • Posts: 413
  • Reputation: +0/-0
Re: Spawning merchants
« Reply #8 on: August 28, 2003 06:34 pm CDT »
Quote from: "Jigen"
Also can any one tell me how to spawn a merchant and how to add items to them?


Open rpgmap5.mis and search for  the "TownBots" are ...

You'll see something like this.
Code: [Select]
instant SimGroup "merchant1" {
instant Marker "keldrin merchant" {
dataBlock = "PathMarker";
name = "";
position = "-2403.5 -296.25 65.0942";
rotation = "0 -0 0.559956";
};
instant SimGroup "NAME merchant";
instant SimGroup "ITEMS CLASS Ranger LVL 2 LCK 0 Dagger 1";
instant SimGroup "RACE MaleHuman";
instant SimGroup "SHOP 1 3 18 19 20 21 36 39 40 47 48 55 56 63 64 65 73 131";
};


Easy enough to understand, To make a new one, just copy that and paste it after a bot's  }; but stay in " instant SimGroup "TownBots" { " , if your not sure where it ends, just add it in the middle somewhere.
Ok, so heres what it all means...

instant SimGroup "merchant1" { - name of simgroup
instant Marker "keldrin merchant" { - name (in map editor)
dataBlock = "PathMarker"; - datablock, leave it
name = ""; - blank
position = "-2403.5 -296.25 65.0942"; - x y z
rotation = "0 -0 0.559956"; - r1 r2 r3
instant SimGroup "NAME merchant"; - Name that will appear on crosshair
instant SimGroup "ITEMS CLASS Ranger LVL 2 LCK 0 Dagger 1"; - Loadout
instant SimGroup "RACE MaleHuman"; - Its Race
instant SimGroup "SHOP 1 3 18"; - What he sells (look in shopping.cs)

A rough explaination, but there are plenty of templates in the map file to go off of.

Hersh
« Last Edit: December 31, 1969 06:00 pm CST by Hersh »

I kissed a drunk girl on the lips.
This post, by its very length, defends itself against the risk of being read.