Changes between Version 2 and Version 3 of Wumpus World


Ignore:
Timestamp:
Aug 10, 2011 11:32:01 AM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Wumpus World

    v2 v3  
    22
    33'''Making the Wumpus World'''
    4 * '''Items''': In the Wumpus World, the quagent must be able to perceive senses in each room to update it's knowledge of the world. Items are used to represent the different senses. The classnames of the items are "quagent_sense_breeze", "quagent_sense_stench" and "quagent_sense_glitter". There items are defined in bg_misc.c and are of type IT_QUAGENTSENSE. Some code was then added to the server so that all IT_QUAGENTSENSE items would become invisible but still exist in the game. The quagent is still able to perceive these 'senses' by calling the radar function. The gold is also represented by an item we have created called "quagent_item_gold" of type IT_QUAGENTITEM. This is the type of item that quagents can pick up and put down.
     4* '''Items''': In the Wumpus World, the quagent must be able to perceive senses in each room to update it's knowledge of the world. Items are used to represent the different senses. The classnames of the items are "quagent_sense_breeze", "quagent_sense_stench" and "quagent_sense_glitter". There items are defined in bg_misc.c and are of type IT_QUAGENTSENSE. For more detail about how to create item, see [[ioquake3]] "Adding New Items". Some code was then added to the server so that all IT_QUAGENTSENSE items would become invisible but still exist in the game. The quagent is still able to perceive these 'senses' by calling the radar function. The gold is also represented by an item we have created called "quagent_item_gold" of type IT_QUAGENTITEM. This is the type of item that quagents can pick up and put down.
    55
    66* '''Maps''': The [[Map Editor]] is used to create maps for the Wumpus World. First, create a map with MxN rooms. To make a pit, use the trigger_hurt option to make a brush that will hurt a player if he touches it, and place it in the rooms where there is a pit. We are currently working on representing the Wumpus as another quagent. For now, you can do the same thing you did for the pits. You can not use the map editor to place the senses and gold directly onto the map. Instead, use the default quake items and rename them in the .map file. For example, use "item_health_small" to represent breezes and place them in the center of rooms where there is a breezes. Then, open up the .map file and change the class name to the item you want, in this case, "quagent_sense_breeze". Once you are done making the map, follow the rest of the directions in the map editor page to create the .bsp and .aas files. Make sure to keep the size of the rooms the same and remember that size. We are currently working on generating random maps.