ElCuGo

Email: <elcugo AT SPAMFREE gmail DOT com> or <elio AT SPAMFREE mixtk DOT com>

Homepage: http://elcugo.mixtk.com (Currently down!)

Me

My name is Elio and I'm from Mexico. I studied computer engineering in the UTM and like many areas of computing, specially programming and games.

I love roguelikes but i haven't played many. I often play NetHack and ToME, but have tried others like ADOM, Zangband and Gearhead,I sometimes play LostLabyrinth and Diablo (almost a roguelike.) I love classic SNES era console RPG, like Final Fantasy. (I'm working in a console style RPG with roguelike elements, but it's going to take a while to get it somewhere.)

Play style

I like to explore every room of every floor of every dungeon, but the game is so long that I often simply rush to the stairs. I choose either no random quests or 98 quests, and I often use the ironman_rooms option.

I tend to rush screaming into battles withouth preparing the terrain or anything. It's fast but I die very often because of this.

Window layout: I use 4 windows: The map, visible monsters, message recall and inventory neatly aligned so I can see them all at all times.

Options: Autosave, center view on player, hilite player and special floor colors, always small levels.I use slightly modified PREF files to change several tiles and make them easier to see and reduce some symbol overload (specially from '~' and '?')

Characters

I don't like to get too atached to my characters as they die a lot, but:

ToME 2

See all my characters in the ladder.

ToME 3

None yet.

B.O.B.

ToME3 stuff

Changing font size on the SDL interface

In linux, open the file ~/.tome/3.0/settings/sdl.cfg in your favorite editor and change the following line for something of your liking:

fonts.set0.size = 10

To enable antialiasing, pass the -a parameter to the interface, example:

$ tome3 -Mtome -msdl -- -a

Modules

Engine stuff

Things that I have found about the engine and may be useful to others. See also EtMarc user page.

Inventory

Recover control of your inventory colors. Open the file pref/font-xxx.prf in your module directory and delete all the harcoded colors there. Don't delete the entries about spells if you want the projection effects.

I just found something interesting. The inventory subsystem divides player.weight_limit() by two for its calculations. I see no apparent reason why this is done. If you want to have an effect on your player when you are carrying a lot, make sure you make computations with half of the weight limit for consistency.

Player

Types

player_type

Global variables

energy_use: Energy use for an action (0 if action does not take a turn). (Number)

alive: Is the player alive (boolean)

death: Is the player dead (boolean)

player: The player. (player_type)

max_dp_idx: ??? (player_type)

descriptor_info[]: Player descriptor info (player_descriptor)

Functions

set_died_from(cptr from): Sets the reason fo death.

check_experience(void): Check if player experience level has changed.

check_experience_obj(object_type *o_ptr): Check if object "o_ptr" experience level has changed.

gain_exp(s32b amount): Gain "amount" of experience.

lose_exp(s32b amount): Decrease experience by "amount".

no_lite(void): Return true if the player's grid is dark.

Monsters

Types

monster_type: Contains information about a monster.

Functions

monster_desc(monster, mode): Build a string describing a monster in some way. monster is a monster_type structure identifying the monster. mode determines how to build the thing.

Mode Flags:

Useful Modes:

Terminal

Functions

term.gotoxy(row, col): Moves the cursor to the specified location.

term.addstr(n, a, s): Prints the string s in the current cursor position using a as atribute (color) and prints as most n characters. If you pass n as -1 then the function tries to use as much as possible.

term.inkey(): Reads a keypress and returns it as a number. Example:

  key = term.inkey()
  char = strchar(key)
  if char == 'a' then
    -- do something
  elseif key == ESCAPE then
    -- exit
    ...
  end

Chatter


CategoryHomepage

ElCuGo (last edited 2008-10-10 16:45:55 by ElCuGo)