Spawn Itmes in Game Problem [message #16021] |
Sat, 20 January 2007 11:22 |
mainblz
Messages: 2 Registered: January 2007
|
|
|
|
Not sure where else to put this on this forum, but i followed a tutorial i found in one of these topics that told me how to spawn items in game, i got both Albion Explorer and Freeroam. I set up the code and everything and even moved to my location of choice on the map. Ive redone the code three times, even tried changeing the position. It wont spawn the Treasure Chest Can someone tell me whats wrong with my code or why it wont spawn in game.
Code:
NewThing Object;
Player 4;
UID 18446766684187468629;
DefinitionType "OBJECT_CHEST_OPENABLE";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 171.833000;
PositionY 86.958740;
PositionZ 20.132410;
RHSetForwardX 0.999751;
RHSetForwardY 0.022293;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCEditor;
EndCTCEditor;
StartCTCChest;
ContainerContents[0] "OBJECT_HERO_SHIRT_PLATINUM";
ContainerContents[1] "OBJECT_HERO_TROUSERS_PLATINUM";
ContainerContents[2] "OBJECT_HERO_BOOTS_PLATINUM";
ContainerContents[3] "OBJECT_HERO_GLOVES_PLATINUM";
ContainerContents[4] "OBJECT_HERO_HELMET_PLATINUM";
ChestOpen FALSE;
EndCTCChest;
Health 1.0;
EndThing;
Should i try setting the objects to a already in-game treasure chest?
|
|
|
|
|
Re: Spawn Itmes in Game Problem [message #16029 is a reply to message #16026] |
Sat, 20 January 2007 18:14 |
Evil-Ninja
Messages: 3 Registered: January 2007
|
|
|
|
//Don't mess
SetRunScripts(true);
SetPlayCD(false);
SetPlayIntro(false);
SetSound(true);
SetFullscreen(true);
SetForcePrimaryDevice(true);
SetSkipFrontend(FALSE);
SetMaxTextureSize(2048);
SetCompressedTextures(true);
SetDefinitionValidation(false);
SetUseOldWeaponTrails(false);
SetUseCompiledWAD(false);
//****** Select your resolution
SetResolution(1024, 768, 16);
SetZBufferDepth(32);
SetTripleBuffering(BFALSE);
SetLevel("FinalAlbion.wld");
UseLevelWAD FALSE;
PresentImmediate FALSE;
ShowDevFrontEnd FALSE;
AllowDebugProfile FALSE;
SetStartingHolySite("NOVStartHSP");
EnableCodeSectionLoading(true);
UseCompiledDefs TRUE;
UseCompiledWorldFiles TRUE;
UseCompiledGlobalThings TRUE;
UseCompiledAnimationEvents TRUE;
AllowDataGeneration FALSE;
UseCompiledSoundSymbols TRUE;
UseRetailBanks TRUE;
RunFromDVD TRUE;
UsePhysicalDVD TRUE;
delete everything in userst.ini
then paste the above code it
it makes it not read wad's
|
|
|
Re: Spawn Itmes in Game Problem [message #16679 is a reply to message #16021] |
Fri, 16 February 2007 19:28 |
dragongamer9
Messages: 31 Registered: January 2007 Location: florida
|
|
|
|
i did everything in atutorial too but did not rename finalalbion.wad file evereything worked the chest was in the game but once you try to open it the chest moves in trees
its a glitch cause once i try to get out i cant the trees block you so what do i do?
|
|
|