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


Poll: Are you a good coder in Amnesia?
You do not have permission to vote in this poll.
Yes, I know alot about coding in Amnesia, though Im not gona help any1 with it. Everyguy for himself!
0%
0 0%
No, Im new to this and alot of noob friendly help would be great for me!
0%
0 0%
Yes, I know alot about coding in Amnesia, and I would gladly help people who needs help!
33.33%
2 33.33%
Yes, but only a little, Im pretty new to this.
16.67%
1 16.67%
Not really, but im starting to learn.
50.00%
3 50.00%
Total 6 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making objects pickupable?
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#11
RE: Making objects pickupable?

(03-24-2013, 03:50 PM)Erik The Born Wrote:
(03-24-2013, 03:45 PM)SilentStriker Wrote:
(03-24-2013, 03:42 PM)Erik The Born Wrote:
(03-24-2013, 03:25 PM)Adrianis Wrote:
(03-24-2013, 12:57 PM)Erik The Born Wrote: Hello, I am making my first custom story and I was thinking theres alot of items you cant pickup. Is there anyway I can make the game allow me to pickup any sort of item I choose? For example. I take a brazen bull and make it small. I want the player to be able to pickup that small bull and hold it just like with a rock for example.

So you want to be able to grab and throw it? (rather than make it into an inventory item) You'll need to make it into an entity of Object > Grab type (in User Defined Variables)
You'll need to open up the Brazen Bull in the model editor and scale it down there. It's kind of complicated though as it has a Hinge joint for opening the door on it's side, you may want to remove that but I'm not sure what it will do if you just delete the hinge - you may need to play around with the body's on it too (there should be a separate body for the door)

Hope that helps, sorry I can't give a more detailed answer, I haven't change many things with the model editor so I'm not sure what kind of problems you might run into.

(also, this kind of question should go into Development Support sub-forum in the future :))

Dont really get it. I was just using brazen bul as an example though. The item I really want the player to carry is the bridge torch. The grren torches near the inner sanctum at the end of the game. I clicked setting user define variables. Choosed object and then grab to the right. No things such as (modified) appeared but I assumed it would work. Then I saved it. Opened my level editor and placed my new made bridge_torch_handheld. (Wich I choose to name it). When I come to that part in the story I cant pick it up. Its just as static as static can be :(. Thoug the level editor has other options for it in the entities window compared to normal bridge_torch

That's probably because you didn't give it a body. A grabable object needs a body of mass to be able to move and be grabbed :)

And how do I add that? Common I need to know how to give it a body.

Just look at other grab type objects and make sure all settings and stuff that you dont understand are the same, You should also look up in the wiki if you get stuck : http://wiki.frictionalgames.com/hpl2/too...del_editor

YourComputer also did a video on the model editor, but dont rely on it:
http://www.youtube.com/watch?v=nWkMdpU7k...8&index=17

Lastly you should stop making so many damn threads, you can edit the ones you have already created(even the title) and do a bump to make people notice.

Good luck.
03-24-2013, 04:28 PM
Find Reply
Erik The Born Offline
Member

Posts: 59
Threads: 7
Joined: Mar 2013
Reputation: 0
#12
RE: Making objects pickupable?

(03-24-2013, 04:28 PM)martinnord Wrote:
(03-24-2013, 03:50 PM)Erik The Born Wrote:
(03-24-2013, 03:45 PM)SilentStriker Wrote:
(03-24-2013, 03:42 PM)Erik The Born Wrote:
(03-24-2013, 03:25 PM)Adrianis Wrote: So you want to be able to grab and throw it? (rather than make it into an inventory item) You'll need to make it into an entity of Object > Grab type (in User Defined Variables)
You'll need to open up the Brazen Bull in the model editor and scale it down there. It's kind of complicated though as it has a Hinge joint for opening the door on it's side, you may want to remove that but I'm not sure what it will do if you just delete the hinge - you may need to play around with the body's on it too (there should be a separate body for the door)

Hope that helps, sorry I can't give a more detailed answer, I haven't change many things with the model editor so I'm not sure what kind of problems you might run into.

(also, this kind of question should go into Development Support sub-forum in the future Smile)

Dont really get it. I was just using brazen bul as an example though. The item I really want the player to carry is the bridge torch. The grren torches near the inner sanctum at the end of the game. I clicked setting user define variables. Choosed object and then grab to the right. No things such as (modified) appeared but I assumed it would work. Then I saved it. Opened my level editor and placed my new made bridge_torch_handheld. (Wich I choose to name it). When I come to that part in the story I cant pick it up. Its just as static as static can be Sad. Thoug the level editor has other options for it in the entities window compared to normal bridge_torch

That's probably because you didn't give it a body. A grabable object needs a body of mass to be able to move and be grabbed Smile

And how do I add that? Common I need to know how to give it a body.

Just look at other grab type objects and make sure all settings and stuff that you dont understand are the same, You should also look up in the wiki if you get stuck : http://wiki.frictionalgames.com/hpl2/too...del_editor

YourComputer also did a video on the model editor, but dont rely on it:
http://www.youtube.com/watch?v=nWkMdpU7k...8&index=17

Lastly you should stop making so many damn threads, you can edit the ones you have already created(even the title) and do a bump to make people notice.

Good luck.

Thank you now I got this solved! Smile

Is there anyway I can decide the weight of the object? Right now the player is moving pretty slow with it. Why it didnt work for me on the start was probably because I chosed save rather then save as. But I still need to know how to make the object weight less. How do I do that?
(This post was last modified: 03-26-2013, 07:56 AM by Erik The Born.)
03-25-2013, 08:04 AM
Find Reply
Erik The Born Offline
Member

Posts: 59
Threads: 7
Joined: Mar 2013
Reputation: 0
#13
RE: Making objects pickupable?

Never mind I got it to be easy to carry now. I just changed the mass of the entity. By going to bridge_torch folder and opening the .ent file with a texteditor and searching for mass. There you should be able to change the mass to 10. Then the player will be moving just as fast with the torch as without it.
03-26-2013, 08:17 AM
Find Reply
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#14
RE: Making objects pickupable?

(03-26-2013, 08:17 AM)Erik The Born Wrote: Never mind I got it to be easy to carry now. I just changed the mass of the entity. By going to bridge_torch folder and opening the .ent file with a texteditor and searching for mass. There you should be able to change the mass to 10. Then the player will be moving just as fast with the torch as without it.

Actually in real life, if you carry such a torch, your running speed will decrease as it's heavy.

"Veni, vidi, vici."
"I came, I saw, I conquered."
03-26-2013, 09:56 AM
Find Reply
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#15
RE: Making objects pickupable?

(03-26-2013, 08:17 AM)Erik The Born Wrote: Never mind I got it to be easy to carry now. I just changed the mass of the entity. By going to bridge_torch folder and opening the .ent file with a texteditor and searching for mass. There you should be able to change the mass to 10. Then the player will be moving just as fast with the torch as without it.

Just for future reference, you can change the mass within the model editor by selecting the body.

In Ruins [WIP]
03-26-2013, 10:29 AM
Find Reply
Erik The Born Offline
Member

Posts: 59
Threads: 7
Joined: Mar 2013
Reputation: 0
#16
RE: Making objects pickupable?

(03-26-2013, 09:56 AM)JustAnotherPlayer Wrote:
(03-26-2013, 08:17 AM)Erik The Born Wrote: Never mind I got it to be easy to carry now. I just changed the mass of the entity. By going to bridge_torch folder and opening the .ent file with a texteditor and searching for mass. There you should be able to change the mass to 10. Then the player will be moving just as fast with the torch as without it.

Actually in real life, if you carry such a torch, your running speed will decrease as it's heavy.

In real life, you probably wouldnt be able to hold it because the metal would be burning hot.
04-05-2013, 06:28 PM
Find Reply
Erik The Born Offline
Member

Posts: 59
Threads: 7
Joined: Mar 2013
Reputation: 0
#17
RE: Making objects pickupable?

(03-26-2013, 10:29 AM)NaxEla Wrote:
(03-26-2013, 08:17 AM)Erik The Born Wrote: Never mind I got it to be easy to carry now. I just changed the mass of the entity. By going to bridge_torch folder and opening the .ent file with a texteditor and searching for mass. There you should be able to change the mass to 10. Then the player will be moving just as fast with the torch as without it.

Just for future reference, you can change the mass within the model editor by selecting the body.

And yes if you gona atempt to make objects pickupable use the model editor to change the mass. It fixed the problem for me. Click on 1 of the green bodies. Then choose body tab in model editor. There you can change the mass. Make sure all of the green bodies have set mass. Have fun!
04-06-2013, 07:32 AM
Find Reply




Users browsing this thread: 1 Guest(s)