Wanting to start a module, but.... [Template Request]

If you have a module that you'd like comments on or would like to know how to create your very own module, post here

Moderator: Moderator

Post Reply
Message
Author
ilariel
Posts: 4
Joined: Fri Jul 29, 2011 3:56 am

Wanting to start a module, but.... [Template Request]

#1 Post by ilariel »

The example module seems to have problems and gives me a black screen and white square block as mouse... (Tales of Maj'Eyal beta31 aka "Slime of Death" - Release of the T-Engine and Tome)

So I'd like to have straightforward template for a base to start testing and learning how things work and so on.
The template at least in my opinion should be a basic map, with few selectable classes and ready stats, etc. You get me, right?

If anybody can share a one with me and rest of the community, I'd be really thankful.

Antagonist
Higher
Posts: 71
Joined: Sun May 23, 2010 9:55 am

Re: Wanting to start a module, but.... [Template Request]

#2 Post by Antagonist »

Heh, I was just yesterday speculating sharing my improved example module with the community. Unfortunately you'll have to wait till I get home before I can post the in-progress one, but it has a few improvements of interest I can mention now. I am trying to add some features common to angband, nethack and crawl that is common enough that people can use it as a base for their own modules.

Done:
* Object and inventory support
* Character sheet dialog 'C' and Player Display (sidebar for stats)
* Pick up, drop, wear, takeoff, use dialogs and commands

TODO:
* Ranged combat (done by 'f' key and seperate launcher slot, not talent like ToME, but easy to change)
* Multiple levels deeper and 'town' level with stores

Due to your request I'll also try and add:
* Basic stat distribution on character creation

As I'm working on this I have been adding it to the guides here:
http://te4.org/wiki/t4modules-module-howto-guides

I intend that all the changes I make for the improved example module will be documented to make it easier for anyone to change it themselves later.

I'll accept submissions from others and merge it in this module if they have good improvements that are general enough for a template module.

Antagonist
Higher
Posts: 71
Joined: Sun May 23, 2010 9:55 am

Re: Wanting to start a module, but.... [Template Request]

#3 Post by Antagonist »

Here we go, improved_example module.

Enjoy.
Attachments
example_improved.zip
(39.57 KiB) Downloaded 200 times

ilariel
Posts: 4
Joined: Fri Jul 29, 2011 3:56 am

Re: Wanting to start a module, but.... [Template Request]

#4 Post by ilariel »

Something wrong DarkGod, getting black screen and white square as mouse, but no module loaded completely
Attachments
te4_log.txt
Ok, there seems to be something wrong don't know what.
(19.01 KiB) Downloaded 190 times

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Wanting to start a module, but.... [Template Request]

#5 Post by darkgod »

Ah right

Add a line

Code: Select all

profile_defs = {}
In your init.lua file, it shouldnt be needed but I seem to have forgot to add a test in b31, I'll go fix it
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Antagonist
Higher
Posts: 71
Joined: Sun May 23, 2010 9:55 am

Re: Wanting to start a module, but.... [Template Request]

#6 Post by Antagonist »

With that fix and fixing some of my own mistakes, heres a newer .zip. No new features, havn't had time, but consider it a bug fix one.

Edit: .7z sorry, not .zip. Let me know if you cant open it, but its a relatively common format these days.
Attachments
example_improved.7z
(16.65 KiB) Downloaded 257 times

Post Reply