Spawning Items without chests/barrels/ect. [message #22654] |
Thu, 26 July 2007 11:24 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
|
How do I spawn a potion or food in on the ground, the closest I've managed was getting it there, and when you tried to pick it up it said something, then I tried another script and it was there, but you couldn't target it. You just walked through it. I swear I looked all over for an answer, even in the wiki.
here is the script i used
Quote: | NewThing Object;
Player 4;
UID 18446741487466297160;
DefinitionType "OBJECT_ROMULAN_ALE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 57.428710;
PositionY 48.285640;
PositionZ 28.000000;
RHSetForwardX 0.406747;
RHSetForwardY 0.913541;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCInventoryItem;
InventoryUID 0;
EndCTCInventoryItem;
StartCTCEditor;
EndCTCEditor;
StartCTCStockItem;
ForSale FALSE;
Stealable TRUE;
Price 1000;
EndCTCStockItem;
Health 1.0;
EndThing;
|
"All of the work, and none of the play, will surely provide for a speedy decay"
[Updated on: Thu, 26 July 2007 11:46] Report message to a moderator
|
|
|
|
|
Re: Spawning Items without chests/barrels/ect. [message #22672 is a reply to message #22654] |
Thu, 26 July 2007 14:23 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
|
it didn't work, does it have anything to do with the fact that I changed the mesh of the beer, to look different, or the fact that you never find a beer just sitting around?
"All of the work, and none of the play, will surely provide for a speedy decay"
|
|
|
|
|
|
|
|
|
Re: Spawning Items without chests/barrels/ect. [message #22695 is a reply to message #22654] |
Thu, 26 July 2007 16:33 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) |
|
I still cant figure it out, as far as I know, there is only one thing left I can do, but I want to avoid doing... I could remake it, starting from the pie, and slowly turning it into my potion, and when I can no longer pick it up, I'll know, but that is kinda tedious
edit: WOOOOOOOOO!!!!!!! IT WORKED!!
for all of you wishing to do the same thing, look here(it's really frustrating when you cant find instructions).
(creating new object)
1. Go into FE, find an object similar to the one you want to make.
2. Double-click it, click export, save anywhere.
3. Right click on game.bin in the upper-left-hand corner of the screen, and click create new entry. type in OBJECT_(your object), in the entry type box type OBJECT, click "select data file" and choose the file you just saved.
4. find your new entry(near the top somewhere), double-click.
5. Anything you wish to change(CBonusItemDef,ect.), follow same procedure, exept name it something else, and under "entry type" put the type of entry.(CBonusItemDef,ect.)
(placing object)
1. put this this code in the area you want.
Quote: |
NewThing Object;
Player 4;
UID 18446741874686299934;
DefinitionType "(object name)";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX *;
PositionY *;
PositionZ *;
RHSetForwardX *;
RHSetForwardY *;
RHSetForwardZ *;
RHSetUpX *;
RHSetUpY *;
RHSetUpZ *;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCInventoryItem;
InventoryUID 0;
EndCTCInventoryItem;
StartCTCEditor;
EndCTCEditor;
StartCTCStockItem;
ForSale FALSE;
Stealable TRUE;
Price (the price of your item);
EndCTCStockItem;
Health 1.0;
EndThing;
* = move another object in albion explorer to where you want this item, check "set to ground" or whatever, and copy the coordinates, paste them here.
|
2. Your finished! Pat yourself on the back, look at the back of your head!
Special Thanks to Searyan!
"All of the work, and none of the play, will surely provide for a speedy decay"
[Updated on: Thu, 26 July 2007 17:46] Report message to a moderator
|
|
|