User Tools

Site Tools


scripting:commands:ctc:ctcobjectaugmentations
CTCObjectAugmentations
SavedInGame 	BOOL 	
AugmentationDefNames[0] 	ENUM 	*Note* Sets number of slots, Enum left blank
Notes

SavedInGame seems to always need to be true.

AugmentationDefNames[0] “Object_WhateverAug”;
AugmentationDefNames[1] “Leave Blank for empty Slots”;
AugmentationDefNames[2]
AugmentationDefNames[3]
AugmentationDefNames[4]

Max of 5 slots. 5th slot is the hidden 5th slot glitch seen with the frying pan.

Example
NewThing Object;
Player 4;
UID 18446741874686298454;
DefinitionType "OBJECT_RIVAL_HERO_THUNDER_SWORD_V2";
CreateTC "CTCOwnedEntity";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent TRUE;
ThingLevelPersistent TRUE;
StartCTCPhysicsStandard;
PositionX 41.539795;
PositionY 44.694092;
PositionZ 31.862812;
RHSetForwardX 0.536971;
RHSetForwardY -0.239076;
RHSetForwardZ -0.809008;
RHSetUpX 0.709198;
RHSetUpY -0.391352;
RHSetUpZ 0.586375;
EndCTCPhysicsStandard;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCInventoryItem;
InventoryUID 0;
EndCTCInventoryItem;
StartCTCEditor;
EndCTCEditor;
StartCTCOwnedEntity;
SwitchableNavigationTCAdded FALSE;
VersionNumber 1;
OwnerUID 0;
EndCTCOwnedEntity;
StartCTCStockItem;
ForSale FALSE;
Stealable TRUE;
Price 498;
EndCTCStockItem;
StartCTCObjectAugmentations;
SavedInGame TRUE;
AugmentationDefNames[0] "";
AugmentationDefNames[1] "";
AugmentationDefNames[2] "";
AugmentationDefNames[3] "";
AugmentationDefNames[4] "";
EndCTCObjectAugmentations;
Health 1.0;
EndThing;
scripting/commands/ctc/ctcobjectaugmentations.txt · Last modified: 2006/01/10 03:47 (external edit)