Forgotten Beast

hurufu
Member
Posts: 21
Joined: Sat Dec 24, 2011 18:52

Forgotten Beast

by hurufu » Post

Inspired by Dwarf Fortress. Random mobs they are made of different body parts merged into one tile.
Breaf proof of concept screenshots (sorry, I'm very bad in painting).
UPDATE: Changed texture shapes.
ImageImageImage
Old screenshots can be found here:
http://piccy.info/view3/2410932/bed914b ... ca1c56d5d/
http://piccy.info/view3/2410934/52ec966 ... d20691616/
http://piccy.info/view3/2410935/649b489 ... 74a32db93/
Last edited by hurufu on Tue Dec 27, 2011 10:45, edited 1 time in total.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Please tell us the download link, we want try this!

And also do they do damage??

EDIT: You do have good drawing skills, I could not do that.

EDIT2: Cool idea!!
Last edited by Jordach on Mon Dec 26, 2011 23:22, edited 1 time in total.

hurufu
Member
Posts: 21
Joined: Sat Dec 24, 2011 18:52

by hurufu » Post

It was a very quick work, only to show it could be done. They currently don't damage user, spawns at the surface and are quite ugly. If this idea is worth doing (i'm currently thinking about it), i'll continue my work. Also it was written in C++, because I write faster in C++, not in Lua.

EDITED: I'll think how to make it in Lua.
Last edited by hurufu on Mon Dec 26, 2011 23:29, edited 1 time in total.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

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.

EDIT3: Have you thought about putting your help to develop this? Celeron could do with the help.
Last edited by Jordach on Mon Dec 26, 2011 23:47, edited 1 time in total.

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

Lua isn't exactly the same as c but if you're a skilled c/c++ programmer you'll be able to learn lua really fast.

have a look at the animals mod (written by me), the movement generator there might be a starting point for adding attack abilitys too.

I already thought about creating unfriendly animals.

But by now I miss an algorithm spawning animals on surface, if I got it right you do have sort of it?
Last edited by sapier on Mon Dec 26, 2011 23:58, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved

hurufu
Member
Posts: 21
Joined: Sat Dec 24, 2011 18:52

by hurufu » Post

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.
Thanks, I'll look to your code.
sapier wrote:But by now I miss an algorithm spawning animals on surface, if I got it right you do have sort of it?
I am using deprecated method: add_legacy_abms(). It's hardcoded and I don't know even if it's possible to make with current API.

User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Post

You could do same in LUA by using entities (and on_step function for moving). Dunno how to make random parts automatically merged into one enemy.

mcburgerbob
Member
Posts: 141
Joined: Wed Dec 14, 2011 19:50
Location: B.C Canada

by mcburgerbob » Post

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.
no it looks like a big poo thing... lol
MY CAKE!

User avatar
Hackeridze
Member
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Post

Try on_generate and add_entitY
Last edited by Hackeridze on Tue Dec 27, 2011 04:42, edited 1 time in total.
My game: RTMG
GENTOO USER

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

the problem is not how to add an entity on generation but to add it ON SURFACE
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
Hackeridze
Member
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Post

sapier wrote:the problem is not how to add an entity on generation but to add it ON SURFACE
abm + add_entity
My game: RTMG
GENTOO USER

hurufu
Member
Posts: 21
Joined: Sat Dec 24, 2011 18:52

by hurufu » Post

xyz wrote:Dunno how to make random parts automatically merged into one enemy.
It is quite simple. Textures may be named as:

Code: Select all

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
After that, pseudocode may be similar to:

Code: Select all

a,b,c = math.random(1,n)
image = "body_"..a..".png^arms_"..b..".png^head_"..c..".png"
Last edited by hurufu on Wed Dec 28, 2011 16:07, edited 1 time in total.

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

by Dragonop » Post

I WHANT DOWNLOAD!

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

I don't think that download will come. I actually liked the idea and the images.

I don't mind you going through the very old mods (or never finished mods) and reviving the most interesting threads. They might inspire modmakers.

cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

if someone makes images like this either myself or some other mod-maker will code it into a working mod.

sysedit
Member
Posts: 27
Joined: Sun Aug 12, 2012 10:53

by sysedit » Post

Please do this in C++. Lua produces so much overhead and forces you to waste a lot of resources so that you run into a lot of resource and scalability issues.

cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

I doubt any mobs will be implemented directly into c++

sysedit
Member
Posts: 27
Joined: Sun Aug 12, 2012 10:53

by sysedit » Post

cornernote wrote:I doubt any mobs will be implemented directly into c++
Interesting. Do you like to elaborate on why this is so?

cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

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.

sysedit
Member
Posts: 27
Joined: Sun Aug 12, 2012 10:53

by sysedit » Post

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.
All that I can say is that the current mobs are wasting a lot of resources and make my server crash.

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

by Dragonop » Post

Download Download!

User avatar
Mihobre
Member
Posts: 101
Joined: Tue Oct 30, 2012 08:45
Location: In your mouth

by Mihobre » Post

Please finish this!
I wanna fly!!!
I wanna have feathery wings of silver, blue, and white!!!
I wanna soar high and touch the sky!!!
I wanna fly!!!

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

The first post was last edited "by hurufu 2011-12-27 11:45:06".
So no, it's probably dead.

wilkgr76
Member
Posts: 832
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re:

by wilkgr76 » Post

Calinou wrote:The first post was last edited "by hurufu 2011-12-27 11:45:06".
So no, it's probably dead.
Darn... :(
N/A

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: Forgotten Beast

by Sokomine » Post

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 :)
A list of my mods can be found here.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests