Please ask your basic (newbie) questions in here. - by scumble
ShadowSneaker on 22/11/2008 at 00:38
I have a corpse that I don't want people to pick up and move. I gave it the 'healthstate - dead' 'isFrobbable - false' and 'Can pickup - false' properties but it is still frobbable and I can still pick it up :erg:. I looked at the Treebeast properties and nothing stood out that I could add to the AI that I am using (a hammerite worker).
Does anyone know what to do?
Thanks,
SS
Beleg Cúthalion on 22/11/2008 at 08:30
Have you tried to set it only to can_pickup: False? That's what I've tried with the enforcers and it worked. :erg:
Judith on 22/11/2008 at 15:30
Maybe just set the frobBias to 0? That's the first thing that came to my mind. Or the highlight distance.
Beleg Cúthalion on 22/11/2008 at 15:49
I'll have a look at it again. I'm sure it worked. :weird: Frobbias=0 is a little tricky with things that AIs can frob. I managed to be thrown out of All the World's a Stage because a guard accidentally opened the non-frobbable doors at the start and I went outside without being able to get in again.
Judith on 22/11/2008 at 16:46
Frobbias=0 is a little tricky with things that AIs can frob.
I thought that should be quite simple too, i.e. you leave the door frobbable and the frobBias too, but reduce highlight distance to 0. AI's don't have to highlight anything to frob it, player has to :)
ShadowSneaker on 22/11/2008 at 18:57
I've tried all your suggestions, I've tried adding all of the following properties and any combination of them :
Can Pickup, FrobBias, isFrobbable and Highlight Distance
I've tried this on all the HammerWorkers and on some regular Hammer Guards but nothing works.
I also changed the healthstate to 'disabled' but that made no difference.
Are you sure you added only that one property, Beleg?
SS
Tiens on 24/11/2008 at 06:08
Quote Posted by ShadowSneaker
I have a corpse that I don't want people to pick up and move. I gave it the 'healthstate - dead' 'isFrobbable - false' and 'Can pickup - false' properties but it is still frobbable and I can still pick it up...
Your corpse is frobbable because of an original TDS script that is rather difficult to remove. It's better just to add a new script to this corpse. As far as I remember, this script should say:
Cond. - When my behavior state changes to [Dead]
Act. - Delay [0.10] GAME seconds
- Set [Frobbias] to [0.00] on linked objects of [Myself]
- Set [Highlight Distance] to [0] on linked objects of [Myself]
Judith on 24/11/2008 at 07:40
...or try to remove all the scripts on the AI plus disable inheriting scripts.
ShadowSneaker on 24/11/2008 at 18:43
Thanks, Tiens/Judith. I made the script and gave him the 'inheritscript false' property also, and it works.
SS
ShadowSneaker on 24/11/2008 at 23:10
I've done this tutorial :
(
http://www.ttlg.com/wiki/index.php?title=Displaying_if_AI_is_Unconscious_or_Dead)
I put the .sch files in the Books-->English folder but the display says it "can't find the book AI_Unconscious/Dead". I added .txt to the end of the file name in the scripts but that didn't fix it.
Has anyone else tried this and got it to work? And is there somewhere else I should be placing the files?
SS