Chilton
Member
Posts: 138
Threads: 9
Joined: Sep 2010
Reputation:
0
|
"Interacting" with Static Objects
If this has been asked before, the search tool denies it... By not saying anything, hence this note.
Moving on
Is it possible to make it possible to interact with a static object, such as in this case, a bed?
As in, if you left click on it, something happens.
Thanks in advance
|
|
11-12-2010, 02:26 PM |
|
Hooumeri
Member
Posts: 57
Threads: 11
Joined: Oct 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
(11-12-2010, 02:26 PM)Chilton Wrote: If this has been asked before, the search tool denies it... By not saying anything, hence this note.
Moving on
Is it possible to make it possible to interact with a static object, such as in this case, a bed?
As in, if you left click on it, something happens.
Thanks in advance
Isnt bed an entity?
What ever.. You can make static objects entities by changing it's properties in the model editor. You can make it a object, entity or static object for example.
|
|
11-12-2010, 03:15 PM |
|
Chilton
Member
Posts: 138
Threads: 9
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
(11-12-2010, 03:15 PM)Hooumeri Wrote: (11-12-2010, 02:26 PM)Chilton Wrote: If this has been asked before, the search tool denies it... By not saying anything, hence this note.
Moving on
Is it possible to make it possible to interact with a static object, such as in this case, a bed?
As in, if you left click on it, something happens.
Thanks in advance
Isnt bed an entity?
What ever.. You can make static objects entities by changing it's properties in the model editor. You can make it a object, entity or static object for example.
Im trying this now - If it works, ill edit this reply -- Also, it is an entity, but clicking on it does nothing - Making it clickable is closer to my goal; Now to the model editor with me
EDIT: The bed is now technically a level door, and works perfectly. Thankyou kindly!
(This post was last modified: 11-12-2010, 03:21 PM by Chilton.)
|
|
11-12-2010, 03:18 PM |
|
LoneWolf
Senior Member
Posts: 308
Threads: 43
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
Could you tell me how you changed the bed's specs so that it worked like a level door?
|
|
11-15-2010, 04:10 PM |
|
Chilton
Member
Posts: 138
Threads: 9
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
Sure - I opened it in the Model Editor, and changed its settings to Level Door, saved the new file in my custom story, and added a line to LevelEditor.cfg so that it would accept the file;
Now i have a small problem were clicking the bed does nothing, but that is likely because it hasnt been linked to a new map yet.
If that is not the case, ill have to manually add some collision boxes to it or something
|
|
11-15-2010, 04:53 PM |
|
LoneWolf
Senior Member
Posts: 308
Threads: 43
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
Yes i was wondering that myself. I have a hatch door and it doe snothign when i click on it, so must only work when you script it to teleport you?
Anyway thanks, what was the line you added in to the level editor.cfg ?
(This post was last modified: 11-15-2010, 05:01 PM by LoneWolf.)
|
|
11-15-2010, 05:01 PM |
|
Chilton
Member
Posts: 138
Threads: 9
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
ExtraStaticObjectDir1=*Insert the path to the file which contains the new entity here* />
Place this next to the directories string.
And i think you remove the /> from the end of said directories string, as it ends the whole line.
Im sure one of us will work out how to fix the whole clicking thing
*Starts playing with collision boxes*
|
|
11-15-2010, 05:05 PM |
|
house
Member
Posts: 195
Threads: 11
Joined: Oct 2010
Reputation:
1
|
RE: "Interacting" with Static Objects
If you just want a message to show up, then you can put a Examine area on the static prop.
|
|
11-18-2010, 10:39 PM |
|
Chilton
Member
Posts: 138
Threads: 9
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
(11-18-2010, 10:39 PM)house Wrote: If you just want a message to show up, then you can put a Examine area on the static prop. I know that, but what i want it to do is a ChangeMap function.
|
|
11-19-2010, 04:37 AM |
|
LoneWolf
Senior Member
Posts: 308
Threads: 43
Joined: Sep 2010
Reputation:
0
|
RE: "Interacting" with Static Objects
Well i got the bed to change me into my map 2 its pretty easy.
|
|
11-19-2010, 01:51 PM |
|
|