I want to create a new MOBS for hurtworld. How to do it, through the Unity? Developers do not give a complete project
Creating new mobs/animals?
Discussion in 'Hurtworld Development' started by Natrix, Jan 7, 2017.
-
Wulf Community Admin
Mods or mobs? Also, plugin for Oxide or Workshop mod for Hurtworld?
-
Can you help me ? -
Wulf Community Admin
I don't think it's possible to add new mobs/animals to the game, at least not without some sort of client mod.
-
check Players to damage in oxide plugin.
Code:public class Monster { GameObject Monster_Obj; float Health=100; public Monster() { //spawn the Monster GameObject; } public move() { } public attack() { } public damage() { RaycastHit hitInfo; var rayLength = 1; Collider[] coll = Physics.OverlapSphere(randposition,1); for(int i=0;i<coll.Length;i++) { string name=coll[i].gameObject.name; hurt.SendChatMessage(session,coll[i].gameObject.name);// <----check the collision to damage } } }
-
-
Wulf Community Admin
-
i have make .
movement,attack to players,is's working now!
check players attack the mod/animals,not working. -------> I have no solution to the problem.
please help. -
i can create mobs in unity but you must give me script
-
check players attack the mod/animals,not working.
[DOUBLEPOST=1483967370][/DOUBLEPOST] -
Have been thinking about something like this myself. I can't code it, but a working concept could be to spawn a dynamic item from the workshop with something like a "walk cycle" animation. Give the prefab two colliders, one quite large and if the player is inside the large collider move the center of the prefab towards the coordinates of the player. If player is within smaller collider, deal some damage to the player.
-
but the player damage to animals,i have try but not working.
Code:RaycastHit hitInfo; var rayLength = 1; Collider[] coll = Physics.OverlapSphere(randposition,1); for(int i=0;i<coll.Length;i++) { string name=coll[i].gameObject.name; hurt.SendChatMessage(session,coll[i].gameObject.name);//<---- animals object sensor,can't find player attack object }
-
Wouldn't you need to, in theory, create a new asset compatible with Hurtworld SDK... complete with graphics and animations.... and then, if needed, manipulate through oxide what you can't through Unity? That's my educated guess on it anyway. I don't know if Hurtworld SDK accepts new AI assets or not. From what I've heard it is still a bit limited.... which is why right now all the workshop mods are essentially tech demos.
-
so....use oxide only now.
===========================
but this car mod, http link : Steam Workshop :: Scout by Noviets
add wheel to car in game,player can attack it..The car will explode.....
===========================
so make a new animals add the car scripts in unity3d, add wheel to animals in game,and player attack it..
I think it's a good idea.Do you think it's feasible? -
[DOUBLEPOST=1484059515][/DOUBLEPOST]
how to do it?
You know ? -
My shigi-uploader is currently broken again - so I can not test anything per now. -
Replaces the Loot crate in game with this custom loot crate. The only difference is that it does not collide with vehicles, and they are a bit larger.
Everything else works the same. No oxide needed.
==========
i think this just add to autoexec.cfgLast edited by a moderator: Jan 11, 2017 -
-
-