A guide to create Entities?

DigAmy
Member
 
Posts: 44
Joined: Sun Aug 11, 2013 13:22

A guide to create Entities?

by DigAmy » Wed Aug 28, 2013 09:44

I want to create ostile and passive entities.. exist a guide to do this?Help me!
-DigAmy
DigAmy can do his work: request mod XD
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 28, 2013 11:36

Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
 

DigAmy
Member
 
Posts: 44
Joined: Sun Aug 11, 2013 13:22

by DigAmy » Wed Aug 28, 2013 11:38

PilzAdam wrote:Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
Ok... but exist a guide?
DigAmy can do his work: request mod XD
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 28, 2013 11:39

DigAmy wrote:
PilzAdam wrote:Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
Ok... but exist a guide?

No. There is just documentation about the API to create and handle entities, but there is no guide that tells you step by step what to do to get mobs.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Aug 28, 2013 11:41

DigAmy wrote:I want to create ostile and passive entities.. exist a guide to do this?Help me!
-DigAmy
You can use the mobf framework for passive and aggressive mobs. It is much easier than coding it from scratch. :P
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

DigAmy
Member
 
Posts: 44
Joined: Sun Aug 11, 2013 13:22

by DigAmy » Wed Aug 28, 2013 11:42

PilzAdam wrote:
DigAmy wrote:
PilzAdam wrote:Entities are just objects that can be moved freely in the world, there is no option for them to be "hostile" or "passive", you have to code all that on your own.
Ok... but exist a guide?

No. There is just documentation about the API to create and handle entities, but there is no guide that tells you step by step what to do to get mobs.
Ah ok thank you
DigAmy can do his work: request mod XD
 

User avatar
Neuromancer
Member
 
Posts: 793
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

by Neuromancer » Wed Aug 28, 2013 11:47

I'm still suggesting that more of the mob framework be implemented in the C++ engine to prevent lag. We'll see what Pilz and the others say.
 

DigAmy
Member
 
Posts: 44
Joined: Sun Aug 11, 2013 13:22

by DigAmy » Wed Aug 28, 2013 11:57

Neuromancer wrote:I'm still suggesting that more of the mob framework be implemented in the C++ engine to prevent lag. We'll see what Pilz and the others say.
Good
DigAmy can do his work: request mod XD
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

by webdesigner97 » Wed Aug 28, 2013 15:37

Neuromancer wrote:I'm still suggesting that more of the mob framework be implemented in the C++ engine to prevent lag. We'll see what Pilz and the others say.

Don't call him Pilz ;)
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 17 guests

cron