In this short tutorial, I’ll teach you how to implement a script that allows you to have Tommy sit down in any chair you want. Technically, this isn’t a mod – mainly because I don’t have time to implement the script for every chair in the entire game. Therefore, I decided to provide you with the script and let you implement it yourselves for the chairs you want Tommy to be able to sit down in.
Start by opening up BScript View 4 (use version 4, not 6) and make sure you run as Administrator. Now, hit Enter > Other and name your script Sitdown. Leave it at that for now and go into Editor. In Editor, seek out the chair you want Tommy to be able to sit down in. Place your script near the chair – yet not at it quite yet. Now, hit Enter Model and name it Sitdown2. Leave the parent at Primary Sector and let the model be nothing.i3d. Next, place Sitdown2 right at the chair (make it just barely be above the ground and have the pointy thing face away from the chair). Next, place Sitdown right at the chair as well (at about chest height and with the pointy thing facing towards the direction from which the player will approach the chair) and save.
Go back into BSV and replace the ‘/////’ in your Sitdown script with:
actor_setplacement 0, 1
Save the script and you’re done! You’ll be able to use the script an infinite amount of times within a single game session and you can use the script for any chair, couch or stool you like. You may also change the Seznormal.i3d animation to another sitting animation of your liking.
Thank you very much, i was looking for this in my mod, maybe i can delay the release and add it <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="” data-emoticon=”” srcset=”/email@example.com 2x” width=”20″ height=”20″>
Could you attach smoking script as well and tell how to execute it ? <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="” data-emoticon=”” srcset=”/firstname.lastname@example.org 2x” width=”20″ height=”20″>
Well, if you want to use a smoking script outside of a cutscene – you’ll have to hold perfectly still as to not cause Tommy to return to the normal playing state, which is why I don’t really recommend doing that. If you want a smoking script to use in say Freeride, I’d recommend having one that plays for a certain amount of time. This can easily be done, but you’ll need to decide as to whether you want it to play for a certain amount of time outside of a cutscene or if you want it for a game sequence during a dialogue or something like that.