Yandros on 12/2/2015 at 20:43
No, at least not according to Telliamed's docs on Thief scripts.
Cardia on 13/2/2015 at 16:11
Quote Posted by R Soul
Make a copy of the doll, and place it in the footlocker, then make it invisible and unfrobbable. When the real doll is used on the footlocker, it gets deleted and the copy becomes visible.
1) Make a custom stim ((
http://dromed.whoopdedo.org/dromed/customstim) instructions here). Call it DollStim.
2) Edit the proerties of the real doll (the one that will be given to the player)
Add Act/React > Sources:
Stimulus: DollStim
Propagator: Contact
Intensity: 1
Click on Edit Shape:
Contact Types: Collision, Frob in Inv -> World (Collision allows the doll to be dropped on the footlocker. Remove it if you don't want that)
Add Engine Features > FrobInfo
Inv Action: Move
Tool Action: Move
3) Make a copy of the doll, and edit the properties:
Add Renderer > Render Type: Not Rendered
Place it in the footlocker.
Make a not of its object ID
4) Edit the footlocker's properties:
Add Act/React > Receptrons:
Add:
Stimulus: DollStim
Min: 0.9
Max: 1.1
Effect: Destroy Object.
Target Object: Source
(this will delete the original doll)
Add another one:
Stimulus: DollStim
Min: 0.9
Max: 1.1
Effect: Remove Property
Target Object: [the ID of the copied doll]
Edit Effect:
Prop Name: rendertype
(the copied doll should become visible)
That's the doll part done. The key part depends on how it should appear. Does it just pop into existence in front of the player, or should it go straight into the player's inventory?
when you mean placing the fake doll in the footlocker it means that i have t add the link contains? so far i was able to place the real doll in the box and make it appear in the footlocker unfrobable, but how do i make the key appear?
R Soul on 13/2/2015 at 16:33
Quote Posted by cardia1
when you mean placing the fake doll in the footlocker it means that i have t
add the link contains?
No, just put it in the same place as the footlocker.
Quote:
but how do i make the key appear?
There are several ways, but it depends where you want it to appear. Should it go into the player's inventory appear in some location?
Cardia on 13/2/2015 at 16:36
Quote Posted by R Soul
No, just put it in the same place as the footlocker.
There are several ways, but it depends where you want it to appear. Should it go into the player's inventory appear in some location?
i have this unfrobale key in a table, i have a teleport trap for the real key and the fake, i want to link a control device to the teleport trap, this will make the real frobable key appear in the place where the fake unfrobale key is.
Cardia on 13/2/2015 at 21:19
hmmm, can´t figure out how to make the key appear :sweat:....damm
Yandros on 13/2/2015 at 21:34
You could also just use the FrobInert metaprop on the key and remove it instead of destroying one and teleporting in another. But anyway, just add a third receptron on the footlocker and have it frob a button linked to the TeleportTrap etc.
R Soul on 13/2/2015 at 21:35
You don't need to have anything teleported. Put the real key on the table (delete the fake one) and add Engine Features > FrobInfo. De-select everything. That makes it unfrobbable.
Go back to the footlocker and add another Receptron:
Stimulus: DollStim
Min: 0.9
Max: 1.1
Effect: Remove Property
Target Object: [the ID of the real key]
Edit Effect:
Prop Name: FrobInfo
Yandros, the Remove Metaproperty effect only works when the target is itself.
Cardia on 13/2/2015 at 21:47
Quote Posted by R Soul
You don't need to have anything teleported. Put the real key on the table (delete the fake one) and add Engine Features > FrobInfo. De-select everything. That makes it unfrobbable.
Go back to the footlocker and add another Receptron:
Stimulus: DollStim
Min: 0.9
Max: 1.1
Effect: Remove Property
Target Object: [the ID of the real key]
Edit Effect:
Prop Name: FrobInfo
Yandros, the Remove Metaproperty effect only works when the target is itself.
what you mean by de-select everything? than means set it all no "none" in the frob -info
the key is still unfrobable after i place the doll in the box
ZylonBane on 13/2/2015 at 21:53
Booo on usually frobbable objects being unfrobbable for no visibly apparent reason, then suddenly becoming frobbable, again, for no visibly apparent reason. It bugs the hell out of me when games do that (I'm looking at you, Bioshock), because it plays Calvinball with the player's sense of what can and cannot be interacted with.
Cardia on 13/2/2015 at 21:59
Quote Posted by ZylonBane
Booo on usually frobbable objects being unfrobbable for no visibly apparent reason, then suddenly becoming frobbable, again, for no visibly apparent reason. It bugs the hell out of me when games do that (I'm looking at you, Bioshock), because it plays Calvinball with the player's sense of what can and cannot be interacted with.
i can do that with create and teleport traps