I made a unit with no movement capabilities. I don't want him to move, ever. It all works until I throw a grenade near him. Then he rolls away. How can I prevent that?
Also, I want him to explode on death. I gave him an explosion odf and the line ChunkFrequency = 1.0 to make him explode all the time, taking the example from stock droid odfs. In-game he never explodes. Why not?
Teancum wrote:Make roll cost more energy than the character has, that way they can't use it.
EDIT - I gave the unit an energy of 1, but they still rolled. Also, I put in a chunk reference and now they aren't affected by Force Push/Pull, or any push at all.
Teancum wrote:Make roll cost more energy than the character has, that way they can't use it.
EDIT - I gave the unit an energy of 1, but they still rolled. Also, I put in a chunk reference and now they aren't affected by Force Push/Pull, or any push at all.
Teancum wrote:Make roll cost more energy than the character has, that way they can't use it.
EDIT - I gave the unit an energy of 1, but they still rolled. Also, I put in a chunk reference and now they aren't affected by Force Push/Pull, or any push at all.
thats really weird 0.o but you can push droids around in the game..
maybe you have to lower the frequency a bit
Teancum wrote:Make roll cost more energy than the character has, that way they can't use it.
EDIT - I gave the unit an energy of 1, but they still rolled. Also, I put in a chunk reference and now they aren't affected by Force Push/Pull, or any push at all.
thats really weird 0.o but you can push droids around in the game..
maybe you have to lower the frequency a bit
But push inexplicably fails on them sometimes...always assumed it was some weirdness with their skeletons.
But just did an experiment and turns out chunkfrequency controls how often units get pushed. At 0.1 the droids get pushed most of the time, at 0.9 they hardly ever get pushed. Weird.
Big thanks for posting this chaps - because of this the rotten droids being immune to fp dilemna looks solved. This will help with Last Days heaps, thanks again.
I came up with a solution in my sleep, and woke myself up to tell you this Fiodis. Hope you appreciate it.
You can in theory, make a .combo file for the unit at hand, and create a dummy state for RollRight and RollLeft inputs and give transitions with those commands from Idle. Essentially you'd be removing the characters ability to roll properly, if you do it right. Just make sure they cant move in the State for its duration and it returns them to idle.
Actually here's one that might work - units created with CreateEntity (or something like that, uses a matrix) don't react to anything (no AI?), but still have the same physics as units (can be pushed/pulled, can be moved by walking into them).