Jump to content


Photo

placing placeables


  • Please log in to reply
2 replies to this topic

#1 Roth9

Roth9

    Jedi Padawan

  • Members
  • PipPipPip
  • 86 posts

Posted 06 December 2017 - 08:20 PM

I want to ask how to place objects that weren't originally there.  Let's say that I want to place a workbench in a place that doesn't have one.  How I do that?



#2 DarthParametric

DarthParametric

    Dark Lord of the Sith

  • Members
  • PipPipPipPipPip
  • 1,178 posts
  • LocationOz

Posted 07 December 2017 - 06:32 AM

You have two options. The quick way is via scripting, to spawn the object when the PC enters the module. This is best used for testing. Typically you hijack the on-enter script for the module to have it fire your script first, before passing on the original on-enter script. You can read some info about that here - https://web.archive....hybrid&t=143536 - as well as plenty on DS, such as - http://deadlystream....ject-placement/ - if you use the search function/Google.

The second option is what would be considered the "proper" way to do it for the finalised version of a mod that is to be publicly released. Namely, adding your content to the module itself via a MOD file and editing the module's GIT to add in your placeable spawn data. The downside of this approach is it only works if you haven't previously entered the module, hence why this is better left for release versions and using scripting for testing.

#3 Roth9

Roth9

    Jedi Padawan

  • Members
  • PipPipPip
  • 86 posts

Posted 11 December 2017 - 12:22 AM

You have two options. The quick way is via scripting, to spawn the object when the PC enters the module. This is best used for testing. Typically you hijack the on-enter script for the module to have it fire your script first, before passing on the original on-enter script. You can read some info about that here - https://web.archive....hybrid&t=143536 - as well as plenty on DS, such as - http://deadlystream....ject-placement/ - if you use the search function/Google.

The second option is what would be considered the "proper" way to do it for the finalised version of a mod that is to be publicly released. Namely, adding your content to the module itself via a MOD file and editing the module's GIT to add in your placeable spawn data. The downside of this approach is it only works if you haven't previously entered the module, hence why this is better left for release versions and using scripting for testing.

Thank you.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users