The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUTORIAL] Making Static Entities!
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#1
[TUTORIAL] Making Static Entities!

(I will move this to the Wiki as well.)
Surprisingly this is quite easy! You can change any entity in the Item category to a static object. This is helpful in puzzles, chemical ones especially. For this tutorial, I'll show you how easy it is to change!
  1. Open your Model Editor. Hit Open, and search through the entities>item folder to pick the entity you'd like. Once it's loaded in the editor, select the objects Body. This is the green square surrounding it.
  2. Under the Body tab, we're going to have to change a few things. Set Mass to 0. Looking at the bottom of the tab, you'll see quite a few options checked. Uncheck all of them, except for Continuous Collision, Use Surface Effects, and Has Gravity. Only those three should be checked.
  3. Now at the top bar, all the way to the right there is an option called Settings. Click that, then User Defined Variables. Only two things need to be changed; Type>Object and Subtype>Static. Once you change the Type to Object it should automatically change the Subtype to Static. Close the User Defined Variables Box.
  4. Hit File> SAVE AS. I can't stress enough how important it is to make sure you hit SAVE AS. Last thing to do is re-name the object. The easiest way is to add _static to the end. (EX: Say you're making orbpiece_obsidian static. Change the name to orbpiece_obsidian_static and hit Save.) Make sure you keep the new static object in the same folder as its' "brothers".
And that's it! It only takes a few minutes at most, and you can change almost everything! Hope you put this to good use, good luck~

Ba-da bing, ba-da boom.
(This post was last modified: 01-09-2012, 05:20 AM by Your Computer.)
01-01-2012, 08:17 PM
Find


Messages In This Thread
[TUTORIAL] Making Static Entities! - by JenniferOrange - 01-01-2012, 08:17 PM
RE: [TUTORIAL] Making Objects Static! - by Kman - 01-09-2012, 05:37 AM
RE: [TUTORIAL] Making Objects Static! - by Kman - 01-11-2012, 08:01 AM
RE: [TUTORIAL] Making Static Entities! - by Acies - 01-09-2012, 06:39 PM
RE: [TUTORIAL] Making Static Entities! - by Acies - 01-10-2012, 03:51 PM



Users browsing this thread: 1 Guest(s)