DoomRL > Modding

Uniques/exotics/assemblies/artifacts test

<< < (2/9) > >>

Matt_S:
I only have a cursory understanding of Lua, but I think you might have to do thing:get_position() because that's the format, using the colon, where it passes objects to the function as a self parameter.

tinyrodent:
Yeah you're right I figured that out after.

tinyrodent:
EDIT: Latest version is compatible with 0.9.9.5 and 0.9.9.6 beta. More terrain types added to monster spawn area, soldier lever suppressed.

There is a schematics lying here.                                             
 You feel yanked away!                                                         
 ##############################################################################
 #++++"?+......^^^^^^#.&&&&&..................                                #
 #"++%"+........^^^^^#&&&&&&&...................                              #
 #""""+..........^^^.#.&&&&&&...................                              #
 # ++"?..........^...#&&&&&&...................                               #
 #####...........#####..&&&&.......###========###                             #
 #\.\..............||#..&.&........###========### .                           #
 #.\\..............||#.............###========###..                           #
 #\\;...*...>........#.*...........===........===...                          #
 #;;;..............!!#.............===........===...                          #
 #;;;..............!!#.............===....@...===....                         #
 #####...........#####.............===........===....                         #
 #  ...............  #.............###........###....                         #
 #}}.}.............  #.............###........###                             #
 #}}}}............[  #.............###........###                             #
 #}}}}}......... [[[[#...........................                             #
 #}}}}}....... [[[[[[#...........................                             #
 #}}}}}}....   [[[[[[#  .........................                             #
 #}}}}}}        [[[[[#     ......................                             #
 ##############################################################################
 Igor Savin                 Armor : none                                       
 Health: 100% Exp:  1/0%    Weapon: pistol (2d4) [6/6]                         
 cautious                                                    Hell's Playground 

tinyrodent:
Some notes about the playground mod:

* It dynamically spawns all items in each category, so new items will appear with no code changes.
* Similarly there is a lever dynamically created to spawn each monster type. You need Intuition 1 or 2 to see what type.
* Items and powerups remain after pickup/use so you can grab another one.
* There is just one new example item, a powerup which levels up the player (helps to get Intuition/Whizkid for experiments). Its source is found in levelup.lua
* Some glitchy schematic powerups appear. There may be other items that were never intended to be spawned this way.
* There is no PickupCheck for items, so you can grab the Dragonslayer and go nuts. ;)I'd like to remove the hard-coded "require" and enumerate all of the source files in the mod folder but haven't heard whether this is possible...

Kornel Kisielewicz:
As for the auto-require: It's not possible and will not be possible.

Reason:
1) any functionality needs to work from in a wad and as plain files
2) os-functions (like opening files, browsing directories, I/O, etc) need to be turned off for safety reasons (this will be especially important once DoomRL works in a Unix shared environment)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version