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.
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