Jump to content

Home

Placing Question


monkey joe

Recommended Posts

This has prolly already been covered but I can't find any information on it. How do you place an item like on a table or something? My idea was to put a drink on every counter of different cantinas so you can collect them and get thier bonuses. I have all the items but I don't know how to put them there. Is it even possible?

Link to comment
Share on other sites

There is a tutorial on how to spawn a footlocker and fill it with items.

http://www.lucasforums.com/showthread.php?s=&threadid=143536

 

Basically, you need to replace footlocker placeable with beer can (or whataver) and you don't have to populate it with items. Otherwise, the mechanics are the same.

 

The actual problem for you (the way I see it) will be determining right coordinates for your drinks.

Link to comment
Share on other sites

Originally posted by monkey joe

Couldn't I find the coordinates by using the "whereami" cheat when I'm standing next to the counter in the game, or would that not work

 

It will work, but it will provide you the coordinates of your character, and since you can't actually climb on the counter, you will need to do some trial-and-error "extrapolation".

Link to comment
Share on other sites

I see you edited out your second question, but I'll answer just in case.

 

You can't add a placeable object to player's inventory, so for your mod, you'll have to actually make two versions of each drink(can, bottle, etc).

1. placeable object, which player will see standing on the counter, and will be able to click on it.

 

2. an item object which will be added to the inventory when player clicks on the placeable.

 

For this interaction, you'll also need a dialog which will prompt the player, "do you want to pick that up?" or somesuch.

 

Clicking on the placeable will trigger the dialog. If player selects "yes", a script should destroy the placeable and create item object in player's inventory.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...