Many changes. New build:
https://www.dropbox.com/s/pzcr4xfh2cm6m6t/BaronyBuild4.zip

Click to reveal..
  • Console commands have been added - simply precede chat messages with a backslash to invoke them. They are listed in the README file.
  • Graphics bug fixed. Turned out that I simply wasn't locking my display surfaces when I wrote to them.
  • Multiplayer is more stable and optimized.
  • Basic monster intelligence has been implemented. Rats use A* pathfinding to navigate the dungeon and find the player.
  • All item models finished.
  • Items can now be equipped and unequipped by left-clicking on them, though the inventory list will not show specifically what is equipped and what isn't.
  • Rats disappear when hit.
  • Data folder structure revamped to be more organized.
  • Command line parameters added: -windowed and -size


Since the dungeon is fairly large and every monster is constantly using A* + collision to navigate the dungeon, when the active monster count gets up to about 100 the game seems to become pretty much completely unresponsive (depending of course on how fast your computer is). However, I don't actually consider this an issue because I have no intention of having anywhere near that number of monsters active at any given moment while the game is being played, and ultimately I want the monster AI to be much more complicated than simply calculating and following a path to the player all the time. Fair warning however as I mentioned, since it can get pretty intensive if you ever happen to get way up there.

EDIT: Since adding console commands, I removed the built-in keybinding to spawn an item and have replaced it with a console command, "\spawnitem". Spawn item takes one argument, that being the index number of the item you want to spawn. The following is a complete list of all the items you can spawn using the command:
Click to reveal..

0 WOODEN_SHIELD
1 WOODEN_STAFF
2 BRONZE_SWORD
3 BRONZE_MACE
4 BRONZE_AXE
5 BRONZE_SHIELD
6 SLING
7 QUARTERSTAFF
8 IRON_SWORD
9 IRON_MACE
10 IRON_AXE
11 IRON_SHIELD
12 SHORTBOW
13 STEEL_HALBERD
14 STEEL_SWORD
15 STEEL_MACE
16 STEEL_AXE
17 STEEL_SHIELD
18 STEEL_SHIELD_RESISTANCE
19 CROSSBOW
20 GLOVES
21 GLOVES_DEXTERITY
22 GAUNTLETS
23 GAUNTLETS_STRENGTH
24 CLOAK
25 CLOAK_MAGICRESISTANCE
26 CLOAK_INVISIBILITY
27 CLOAK_PROTECTION
28 LEATHER_BOOTS
29 LEATHER_BOOTS_SPEED
30 IRON_BOOTS
31 IRON_BOOTS_WATERWALKING
32 STEEL_BOOTS
33 STEEL_BOOTS_LEVITATION
34 STEEL_BOOTS_FEATHER
35 LEATHER_BREASTPIECE
36 IRON_BREASTPIECE
37 STEEL_BREASTPIECE
38 HAT_PHRYGIAN
39 HAT_WIZARD
40 HAT_JESTER
41 LEATHER_HELM
42 IRON_HELM
43 STEEL_HELM
44 AMULET_SEXCHANGE
45 AMULET_LIFESAVING
46 AMULET_WATERBREATHING
47 AMULET_MAGICREFLECTION
48 AMULET_STRANGULATION
49 AMULET_POISONRESISTANCE
50 POTION_WATER
51 POTION_BOOZE
52 POTION_JUICE
53 POTION_SICKNESS
54 POTION_CONFUSION
55 POTION_EXTRAHEALING
56 POTION_HEALING
57 POTION_RESTOREABILITY
58 POTION_BLINDNESS
59 POTION_RESTOREMAGIC
60 POTION_INVISIBILITY
61 POTION_LEVITATION
62 POTION_SPEED
63 POTION_ACID
64 POTION_PARALYSIS
65 SCROLL_MAIL
66 SCROLL_IDENTIFY
67 SCROLL_LIGHT
68 SCROLL_BLANK
69 SCROLL_ENCHANTWEAPON
70 SCROLL_ENCHANTARMOR
71 SCROLL_REMOVECURSE
72 SCROLL_FIRE
73 SCROLL_FOOD
74 SCROLL_MAGICMAPPING
75 SCROLL_CHARGING
76 SCROLL_DESTROYARMOR
77 SCROLL_TELEPORTATION
78 MAGICSTAFF_LIGHT
79 MAGICSTAFF_DIGGING
80 MAGICSTAFF_LOCKING
81 MAGICSTAFF_MAGICMISSILE
82 MAGICSTAFF_OPENING
83 MAGICSTAFF_SLOW
84 MAGICSTAFF_COLD
85 MAGICSTAFF_FIRE
86 MAGICSTAFF_LIGHTNING
87 MAGICSTAFF_SLEEP
88 RING_ADORNMENT
89 RING_SLOWDIGESTION
90 RING_PROTECTION
91 RING_WARNING
92 RING_STRENGTH
93 RING_CONSTITUTION
94 RING_INVISIBILITY
95 RING_MAGICRESISTANCE
96 RING_SEEINVISIBLE
97 RING_LEVITATION
98 RING_REGENERATION
99 RING_TELEPORTATION
100 SPELLBOOK_FORCEBOLT
101 SPELLBOOK_MAGICMISSILE
102 SPELLBOOK_COLD
103 SPELLBOOK_FIREBALL
104 SPELLBOOK_LIGHTNING
105 SPELLBOOK_REMOVECURSE
106 SPELLBOOK_LIGHT
107 SPELLBOOK_IDENTIFY
108 SPELLBOOK_MAGICMAPPING
109 SPELLBOOK_SLEEP
110 SPELLBOOK_CONFUSE
111 SPELLBOOK_SLOW
112 SPELLBOOK_OPENING
113 SPELLBOOK_LOCKING
114 SPELLBOOK_LEVITATION
115 SPELLBOOK_INVISIBILITY
116 SPELLBOOK_TELEPORTATION
117 SPELLBOOK_HEALING
118 SPELLBOOK_EXTRAHEALING
119 SPELLBOOK_RESTOREABILITY
120 SPELLBOOK_CUREAILMENT
121 SPELLBOOK_DIG
122 GEM_ROCK
123 GEM_LUCK
124 GEM_GARNET
125 GEM_RUBY
126 GEM_JACINTH
127 GEM_AMBER
128 GEM_CITRINE
129 GEM_JADE
130 GEM_EMERALD
131 GEM_SAPPHIRE
132 GEM_AQUAMARINE
133 GEM_AMETHYST
134 GEM_FLUORITE
135 GEM_OPAL
136 GEM_DIAMOND
137 GEM_JETSTONE
138 GEM_OBSIDIAN
139 GEM_GLASS
140 PICKAXE
141 TOOL_TINOPENER
142 TOOL_MAGICMARKER
143 TOOL_MIRROR
144 TOOL_LOCKPICK
145 TOOL_SKELETONKEY
146 TOOL_TORCH
147 TOOL_LANTERN
148 TOOL_BLINDFOLD
149 TOOL_TOWEL
150 TOOL_GLASSES
151 TOOL_BEARTRAP
152 FOOD_BREAD
153 FOOD_CREAMPIE
154 FOOD_CHEESE
155 FOOD_APPLE
156 FOOD_MEAT
157 FOOD_FISH
158 FOOD_TIN

Since an item's exact properties isn't dictated by its type, all items generated using the command will be of excellent condition and uncursed status. You cannot generate items of varying appearance (i.e. all the different colors of cloaks) using \spawnitem, since that property is independent of the type.

Last edited by Redeemer; 10/06/13 19:59.

Eats commas for breakfast.

Play Barony: Cursed Edition!