DoomRL > Modding
Modding Tutorial (WIP)
Game Hunter:
There were only a couple of issues with each mod, so I revised them and posted the new stuff. Links are also there, but only for source code (not that having WADs matters all that much anyway).
If you're still finding problems, please let me know and post any error information.
Tormuse:
Thanks, Game Hunter! :)
I re-downloaded them and gave Hell's Arena a whirl and it worked fine up until the end where it failed to display the mortem and gave this message: (After winning all three rounds at ITYTD)
Spoiler (click to show/hide)
--- Code: -------------------------------------------------------------------------
Timestamp : 08/04/2012 16:24:21
Error level : ERROR
Message : Lua call OnMortem caught ELuaException!
Call path : arena.OnMortem
Call params : (false)
Error message : Call(arena.OnMortem) Lua error : modules\arena.module\main.lua:131: Unknown property "killedby" requested on object of type TPlayer!
----------------------------------------------------------------------
----------------------------------------------------------------------
Timestamp : 08/04/2012 16:24:38
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $004624B9 :
ELuaException : LuaError: arena.OnMortem -- Call(arena.OnMortem) Lua error : modules\arena.module\main.lua:131: Unknown property "killedby" requested on object of type TPlayer!
$004624B9 TDOOMLUA__ONERROR, line 608 of src/doomlua.pas
$00450916 TLUASYSTEM__PROTECTEDCALL, line 504 of e:/Projects/fpcvalkyrie/src/vluasystem.pas
$0041DA86 TDOOM__CALLHOOK, line 84 of src/doombase.pas
$00488AD7 TPLAYER__WRITEMEMORIAL, line 1219 of src/dfplayer.pas
$0041F2D0 TDOOM__RUN, line 422 of src/doombase.pas
$00401B15 main, line 71 of src/doomrl.pas
----------------------------------------------------------------------
--- End code ---
--- Quote from: shark20061 on April 08, 2012, 10:04 ---The irc channel would be a great place to get answers to modding questions.
--- End quote ---
Thanks for the suggestion. I have to go to a family Easter dinner now and I'm already late, but I'll probably drop by IRC another time.
Shinji_Ikari_9th:
Just tried the inf-arena, and things were going great till i decided to quit at round 15. I got some error about allkill or something like that, and the game crashed when I used the stairs. Can't find an error log though or i'd post it.
shark20061:
--- Quote from: Shinji_Ikari_9th on April 08, 2012, 22:39 ---Just tried the inf-arena, and things were going great till i decided to quit at round 15. I got some error about allkill or something like that, and the game crashed when I used the stairs. Can't find an error log though or i'd post it.
--- End quote ---
--- Quote from: Tormuse on April 08, 2012, 14:25 ---I re-downloaded them and gave Hell's Arena a whirl and it worked fine up until the end where it failed to display the mortem and gave this message: (After winning all three rounds at ITYTD)
--- End quote ---
This code in main.lua:
--- Code: ---function arena.OnMortem()
local kill = player.killedby --calls kill descriptions from beings
if arena.result then kill = arena.result end
player:mortem_print( " "..player.name..", level "..player.explevel.." "
.." "..klasses[player.klass].name..", "..kill )
--e.g., "Cool Guy, level 1 Marine, fled alive the trials at wave 3"
player:mortem_print(" in the Hell Arena...")
end
--- End code ---
Should be this:
--- Code: ---function arena.OnPrintMortem(killedby)
if arena.result then killedby = arena.result end
player:mortem_print( " "..player.name..", level "..player.explevel.." "
.." "..klasses[player.klass].name..", "..killedby )
--e.g., "Cool Guy, level 1 Marine, fled alive the trials at wave 3"
player:mortem_print(" in the Hell Arena...")
end
--- End code ---
GinDiamond:
--- Quote from: Game Hunter on September 16, 2011, 11:32 ---To be honest, I'm not sure of the best place to put this, but it will hopefully receive appropriate attention here.
I've been working on a series of tutorial pages on the wiki for people wanting to mod but aren't really sure how to get started. It's a work-in-progress and only a few tutorials have been created so far, but there should be more than enough to begin creating your own work. At the moment, I'm looking both for suggestions on what kinds of tutorials should be written for this series and anything that's hard to understand in the tutorials already added. This isn't explicitly a how-to thread, but I'm fine with people straight-up asking things that they don't know how to do: either I or one of the other, more experienced, modders will give you an answer at some point. Eventually a FAQ will be added to the tutorial series and will address the more common misunderstandings sent here.
If you have the time and are interested in modding, please take a look at what's already there and reply. Feedback is practically mandatory if these tutorials are to be any good. (If you want to see the current documentation that is often referenced in these tutorials, use this link instead.)
--- End quote ---
Hey, I would like an overall tutorial on ALL of your DoomRL experience and tricks, so I can learn off of it.
Also, I would like some tuts on a couple of the challenges, especially AoB and AoSh.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version