The Hazardous Realm
The Hazardous Realm
READ ONLY MODE

The forum is now in read-only mode! It's only kept around for informative purposes and to prevent deadlinks!
Use e-mail to contact me instead. Any announcements would be made on my twitter account and any discussions would use some public platform instead.

Add "team" command to console when spawning creatures

All topics related to the game 'Die by the Sword' and it's add-on 'Limb from Limb' go into this board!

Add "team" command to console when spawning creatures

by Blinn » 23 Oct 2012 19:57

This new spawn command is ace, Hazard. :) One thing that would really make things more fun is the option to select which team each spawned creature is on. For example, Skulls/Wolfpack, or someway to spawn creatures to fight alongside Enric in the main quest.
Blinn
User
 
Posts: 48
Joined: 10 May 2011 23:04

Re: Add "team" command to console when spawning creatures

by Hazard » 23 Oct 2012 20:12

This new spawn command is ace, Hazard. :) One thing that would really make things more fun is the option to select which team each spawned creature is on. For example, Skulls/Wolfpack, or someway to spawn creatures to fight alongside Enric in the main quest.


This is actually possible. :) I used it to test some things but didn't document it because it's a bit awkward to use. First spawn the new actor, then type in "show actors" to see the actor ID of the new actor. You now have to select the actor in the console by typing in select followed by the actor ID. "select actor5" for example. Afterwards, type in "set team 0" to assign the actor to your team. the number in the end is the team ID. 0 to 7 are the normal teams, -1 is the default team and is usually used for monsters and other enemies in the world.
Hazard
Hazardous Code Monkey
 
Posts: 187
Joined: 05 Jan 2006 19:49

Re: Add "team" command to console when spawning creatures

by Blinn » 23 Oct 2012 20:18

Maybe this is something you could make easier in the next release. :)

EDIT: And you could even add commands that restore an actor's health or make an actor follow the player.
Blinn
User
 
Posts: 48
Joined: 10 May 2011 23:04


Return to 'Die by the Sword' Fan and Modding Community