I'm trying to create a timed fire immunity and levitation potion with air control. - by RandomIndividual999
RandomIndividual999 on 15/4/2020 at 18:33
I'm trying to create a timed fire immunity and levitation potion with air control.
I'm using Thief Gold with TFix 1.27, NewDark version 1.27 and DromEd Basic 1.14 (Beta4).
UPDATE: I've decided to try creating an object that grants fire immunity when held, removes it when dropped, and a levitation room with air control.
john9818a on 15/4/2020 at 23:49
You can do all three in dromed, but if you want the potion to still look like a potion, it would be better to load the file crytexd.gif from the RES\OBJ.CRF file into something like Paint Shop Pro or IRFanView and change the hue to something else. That file is in the txt16 folder of the OBJ.CRF zip file.
I did the same thing in one of my past missions except I made the immunity permanent. All you need to do is add the FireProof metaproperty to the object 'player' while in game, and then remove it later. I've forgotten how to make a self deleting metaproperty but I could figure it out tonight.
As far as renaming the potion, just edit the C:\Thief2\Strings\English (or whatever language you use) \OBJNAMES.STR file and find the Name_SpeedPotion: "Speed Potion" text. Edit the part in between the quotes to "Burn Resistance Potion" and then save the OBJNAMES.STR file. Remember to include this file in your zip file when you release the mission.
RandomIndividual999 on 16/4/2020 at 01:12
Quote Posted by john9818a
You can do all three in dromed, but if you want the potion to still look like a potion, it would be better to load the file
crytexd.gif from the
RES\OBJ.CRF file into something like Paint Shop Pro or IRFanView and change the hue to something else. That file is in the
txt16 folder of the
OBJ.CRF zip file.
I did the same thing in one of my past missions except I made the immunity permanent. All you need to do is add the
FireProof metaproperty to the object '
player' while in game, and then remove it later. I've forgotten how to make a self deleting metaproperty but I could figure it out tonight.
As far as renaming the potion, just edit the
C:\Thief2\Strings\English (or whatever language you use)
\OBJNAMES.STR file and find the
Name_SpeedPotion: "Speed Potion" text. Edit the part in between the quotes to "
Burn Resistance Potion" and then save the
OBJNAMES.STR file. Remember to include this file in your zip file when you release the mission.
Thank you kindly for sharing your knowledge, I appreciate it.
I'm afraid there doesn't appear to be a "FireProof" metaproperty, only a list of vulnerabilities.
nicked on 16/4/2020 at 07:03
Quote Posted by RandomIndividual999
timed levitation potion
That one might give you some trouble - you can change gravity, but (and someone correct me if I'm wrong) I don't think there's any way to affect Garrett's air control.
Nameless Voice on 16/4/2020 at 21:46
Air control is based on friction.
Base Friction: 1.00: full air control.
Base Friction: 0.00: no air control (the default.)
RandomIndividual999 on 17/4/2020 at 20:31
Quote Posted by Nameless Voice
Air control is based on friction.
Base Friction: 1.00: full air control.
Base Friction: 0.00: no air control (the default.)
Hello. Thank you kindly for your response.
I created a small Room Brush and added -10 Gravity to make Garrett ascend whenever he was within it. I tried adding the "1.00" value to the "Physics > Terrain > Friction" property to the Garrett avatar, but still couldn't control him while airbourne.
Please bear in mind I'm still learning how to use DromEd. Did you mean something else? Thanks.
Nameless Voice on 17/4/2020 at 22:17
Base Friction under Physics -> Model -> Attributes.
john9818a on 17/4/2020 at 23:00
Quote Posted by RandomIndividual999
Thank you kindly for sharing your knowledge, I appreciate it.
I'm afraid there doesn't appear to be a "FireProof" metaproperty, only a list of vulnerabilities.
In the command box at the lower right hand corner type "find_obj FireProof" and it should show you object # -2257. Its under Resistances which is under Vulnerabilities.
RandomIndividual999 on 18/4/2020 at 15:28
Quote Posted by Nameless Voice
Base Friction under Physics -> Model -> Attributes.
Hello. Thank you kindly for all of your advice so far, but I still can't seem to control his movement while airbourne.
I made a video on YouTube to further illustrate what's going on.
(
https://www.youtube.com/watch?v=fqEGya9q8p0)
I also made one of me installing DromEd while following TTLG's instructions.
(
https://www.youtube.com/watch?v=N1wXr6ZD_oY)
R Soul on 18/4/2020 at 17:23
The FireProof metaprop is in the T2 gamesys but not TG. Fortunately there's nothing special about it (i.e. it doesn't use scripts unique to T2), so you can just add it yourself with this receptron:
Inline Image:
https://i.postimg.cc/ZKPc9R88/image.pngThis is the T2 location, but the main thing is that it doesn't inherit anything else (e.g. Vulnerabilities and Resistances are emtpy and just used for grouping things):
Inline Image:
https://i.postimg.cc/y6TNGCs1/image.pngHowever, there's going to be more to it than just replacing the effect of the speed potion. The archetype has a script, also called SpeedPotion. This page explains what all/most of the scripts do: (
https://www.thiefmissions.com/telliamed/scripts.html#speedpotion)
In T1/G, it just adds and metaprop and sends a message. The metaprop has another script (also mentioned in the link above) which responds to the message. Unfortunately, that script handles both the speed
and the timing, so you can't just remove it and add fire invulnerability. I'm fairly sure it can be done with custom scripts, but I'm not sure if its wise to go in to that at this stage in your Dromed life or if it'll be information overload.