sapier wrote:have a look at the animals mod (written by me), the movement generator there might be a starting point for adding attack abilitys too.
sapier wrote:But by now I miss an algorithm spawning animals on surface, if I got it right you do have sort of it?
Jordach wrote:And I do believe that LUA is almost the same as CPP Anyway.
EDIT: They should come out at night. Not day. :)
EDIT2: UGLY?!? Have you seen the Dungeon Master? That looks like Bigfoot or something.
sapier wrote:the problem is not how to add an entity on generation but to add it ON SURFACE
xyz wrote:Dunno how to make random parts automatically merged into one enemy.
body_1.png and arms_1.png and head_1.png
body_2.png arms_2.png head_2.png
⋮ ⋮ ⋮
body_n.png arms_n.png head_n.png
a,b,c = math.random(1,n)
image = "body_"..a..".png^arms_"..b..".png^head_"..c..".png"
cornernote wrote:I doubt any mobs will be implemented directly into c++
cornernote wrote:Mobs were taken out of c++ when the Lua modding API was added. They were replaced by hooks, so that Lua code could define the c++ objects. I assume that because of all that effort, the way forward is not to code directly in c++, but code "hooks" in the c++ and then call those hooks using Lua.
Calinou wrote:The first post was last edited "by hurufu 2011-12-27 11:45:06".
So no, it's probably dead.
wilkgr76 wrote:Darn... :(
Sokomine wrote:wilkgr76 wrote:Darn... :(
I doubt it would look good in current MT. After all we have 3d mobs now - and composing those of random parts won't be so easy. On the other hand, some mob mods still support 2d mobs, and merging diffrent textures into one is pretty easy in the game. So...if you'd create such textures, it might still be possible. 2d mobs are scary anyway - especially when seen from the side :)
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
azekill_DIABLO wrote:it's always a nice mod!! :D
Users browsing this forum: No registered users and 10 guests