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
Level Editor Help Active Entity Bug on Level Editor
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#1
Active Entity Bug on Level Editor

There's an entity which I set it not active in the level editor. But when I run my map, it's active without any script. Anyone know how to fix this ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
01-22-2013, 06:21 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#2
RE: Active Entity Bug on Level Editor

I'm assuming you didn't accidentally actually place a Static_Object.

BUT, the most likely reason it won't work as intended is because of the .ent file.
1) Open the problem entity in the Model Editor
2) go to Edit > User Defined Variables
3) Change Type to "Object" and SubType to "Static"
4) Save As... a new entity in your custom story folder

Change the problem model to the new one you just saved by selecting the problem entity and on the bottom right, it should say: "Entity File [...]" Press that button and locate your custom story entity.

It should work now.

NOTE: As a further precaution, be sure to open your resources.cfg in Notepad(++) and add a new directory leading to the "custom_stories" folder so the editors can load all the custom content.
01-22-2013, 06:33 AM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#3
RE: Active Entity Bug on Level Editor

I'll try that and no I didn't place a static object

EDIT : Yeah it works now. Thanks !

[Image: the-cabin-in-the-woods-masked-people.jpg]
(This post was last modified: 01-22-2013, 07:45 AM by No Author.)
01-22-2013, 06:50 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: Active Entity Bug on Level Editor

Some entities (like the giant wine barrel) are StaticProp entities. That means they are like static objects but in entities (static_objects are walls, entities more decoration).

So, unless you convert them, the entity won't spawn.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
01-22-2013, 07:43 AM
Find




Users browsing this thread: 1 Guest(s)