User Tools

Site Tools


scripting:map_scripting_101

This is a very rough draft of some of the map scripting commands.

Version 2;

Start of Level Scripting

XXXSectionStart QuestName;

Each seperate Script, quest names go here, NULL is always loaded

NewThing NewThingName;

The thing your adding:
This also determines what CTC commands are standard)
AICreature
Building
HolySite
Marker
Object
Physical Switch
Sliding Block
Sound Emitter
Switch
Thing
TrackNode
Village
PlayerCreature

CreateTC “optional” specialized CTC commands
Player -1, 0, 2, 3, 4

-1 = Marker
0 = Non-Combative Creature
2 = Unarmed Creature
3 = Armed Creature
4 = Inanimate Objects


UID Unique ID. Everything receives its own unique ID number for use with game saves.
DefinitionType Enum name of object you wish to add, See Fable Explorer for a list of usable Enums
ScriptName ENUM - Actual script name
ScriptData ENUM - Plain Text can be used to pop up a text box, Otherwise use text.big identifiers
ThingGamePersistent TRUE/FALSE - Does the object last through the whole game?
ThingLevelPersistent TRUE/FALSE - Is the object only level persistent?

NewThing specific CTC commands (As determined by the the type of NewThing)
CTC Commands Bulk of scripting (Each one will need to be followed by a corresponding end command e.g. EndCTCHero

StartCTCActionUseAcceptBoast
StartCTCActionUseActivateQuest
StartCTCActionUseBed
StartCTCActionUseBlowHorn
StartCTCActionUseBuyHouse
StartCTCActionUseMapTable
StartCTCActionUsePickUpGenericBox
StartCTCActionUsePutInInventory
StartCTCActionUseReadable
StartCTCActionUseScriptedHook
StartCTCActionUseSearch
StartCTCActionUseSwitch
StartCTCActionUseTorch
StartCTCActionUseWallMount
StartCTCActivationReceptorChest
StartCTCActivationReceptorCreatureGenerator
StartCTCActivationReceptorDoor
StartCTCActivationReceptorRelay
StartCTCActivationTrigger
StartCTCAICreatureWillPowerIndicator
StartCTCAIScratchpad
StartCTCAISummon
StartCTCAmbientBird
StartCTCAnimatingObject
StartCTCAnimationComplex
StartCTCAtmosPlayer
StartCTCAvoidRegionExit
StartCTCBandit
StartCTCBed
StartCTCBetting
StartCTCBlacksmiths
StartCTCBoastingArea
StartCTCBoastingCrowdControl
StartCTCBoastingPodium
StartCTCBoastingPosition
StartCTCBoastUI
StartCTCBob
StartCTCBoss
StartCTCBuyableHouse
StartCTCCameraCollision
StartCTCCameraPointBuilding
StartCTCCameraPointDead
StartCTCCameraPointFixedDolly
StartCTCCameraPointFixedPoint
StartCTCCameraPointGeneralCase
StartCTCCameraPointScripted
StartCTCCameraPointScriptedSpline
StartCTCCameraPointTrack
StartCTCCarriedActionUseAbility
StartCTCCarriedActionUseActivateQuest
StartCTCCarriedActionUseDrop
StartCTCCarriedActionUseDropGenericBox
StartCTCCarriedActionUseExpression
StartCTCCarriedActionUseFish
StartCTCCarriedActionUseFishingRod
StartCTCCarriedActionUseFood
StartCTCCarriedActionUseGive
StartCTCCarriedActionUseGiveBeer
StartCTCCarriedActionUseGoldBag
StartCTCCarriedActionUseLamp
StartCTCCarriedActionUsePotion
StartCTCCarriedActionUseRead
StartCTCCarriedActionUseShow
StartCTCCarriedActionUseSpade
StartCTCCarriedActionUseTrophy
StartCTCCarryable
StartCTCCarrying
StartCTCChest
StartCTCClock
StartCTCCombat
StartCTCCombatLeader
StartCTCContainerRewardHero
StartCTCCoopSpirit
StartCTCCrateStack
StartCTCCreatureExpression
StartCTCCreatureGenerator
StartCTCCreatureGeneratorCreator
StartCTCCreatureHitNotification
StartCTCCreatureHive
StartCTCCreatureItemLevitationHero
StartCTCCreatureModeManager
StartCTCCreatureNavigation
StartCTCCreatureOpinionOfHero
StartCTCCreditsUI
StartCTCCupboard
StartCTCDayOrNightOnlySupport
StartCTCDCameraPoint
StartCTCDecapitation
StartCTCDegradableBarrier
StartCTCDExperienceOrb
StartCTCDExplosion
StartCTCDExplosiveTrail
StartCTCDHeroSuit
StartCTCDiceGame
StartCTCDiggingSpot
StartCTCDInternalMarker
StartCTCDNavigationSeed
StartCTCDNone
StartCTCDoor
StartCTCDParticleEmitter
StartCTCDPhysicalObstruction
StartCTCDRegionEntrance
StartCTCDRegionExit
StartCTCDRumble
StartCTCDrunkenness
StartCTCDummyVillager
StartCTCEmoteIcon
StartCTCEnemy
StartCTCEntityEvents
StartCTCExclusiveUse
StartCTCExplodingObject
StartCTCExpression
StartCTCFamilyMember
StartCTCFineDialogue
StartCTCFireheartMinigame
StartCTCFish
StartCTCFishing
StartCTCFishingRod
StartCTCFishingSpot
StartCTCFollowed
StartCTCGamePlayer
StartCTCGeneratesExperienceOnKilling
StartCTCGift
StartCTCGold
StartCTCGossip
StartCTCGraphicAppearance
StartCTCGraphicAppearanceAnimatedMesh
StartCTCGraphicAppearanceMultipleStaticMeshes
StartCTCGraphicAppearanceReplaceableMesh
StartCTCGraphicAppearanceSprite
StartCTCGraphicAppearanceStaticMesh
StartCTCGraphicAppearanceStaticMeshFadeOutOnProximity
StartCTCGuard
StartCTCHasName
StartCTCHaste
StartCTCHero
StartCTCHeroAttachableAppearanceModifiers
StartCTCHeroCentre
StartCTCHeroCentreDoorMarker
StartCTCHeroExperience
StartCTCHeroGuide
StartCTCHeroMorph
StartCTCHeroOnlineScoreboard
StartCTCHeroOpinionDeedLog
StartCTCHeroRangedAttacks
StartCTCHeroReceiveItems
StartCTCHeroRememberCrimes
StartCTCHeroSpecialMovement
StartCTCHeroStats
StartCTCHighlightItem
StartCTCHitLocations
StartCTCIdleScheduler
StartCTCInfoDisplay
StartCTCInGameMenu
StartCTCInterestingToVillagers
StartCTCInventory
StartCTCInventoryAbilities
StartCTCInventoryClothing
StartCTCInventoryExperience
StartCTCInventoryItem
StartCTCInventoryMap
StartCTCInventoryQuests
StartCTCInventoryStats
StartCTCInventoryTrade
StartCTCInventoryWeapons
StartCTCJackPillar
StartCTCJackShield
StartCTCKraken
StartCTCKrakenTentacle
StartCTCLight
StartCTCLightningOrb
StartCTCLook
StartCTCMeleeTrap
StartCTCMeshAutomaticEntityCreator
StartCTCMoneyReceiver
StartCTCNamedUserActionPoints
StartCTCNoise
StartCTCNymph
StartCTCObjectAugmentations
StartCTCObstacle
StartCTCOracleMinigame
StartCTCOverheadDisplay
StartCTCOwnedEntity
StartCTCParticleAttacher
StartCTCParticleAttachmentTracker
StartCTCPerceiveThing
StartCTCPhotojournalCapture
StartCTCPhysicsControlled
StartCTCPhysicsLight
StartCTCPhysicsNavigator
StartCTCPhysicsStandard
StartCTCPlot
StartCTCPreCalculatedNavigationRoute
StartCTCProjectileTrap
StartCTCQuestCard
StartCTCQuestCompletionUI
StartCTCQuickAccessMenu
StartCTCRandomAppearanceMorph
StartCTCRegionDisplay
StartCTCRegionFollower
StartCTCResurrectionItem
StartCTCScriptedControl
StartCTCSearchableContainer
StartCTCShapeManager
StartCTCShop
StartCTCShopKeeper
StartCTCShotDefinitionDrainLife
StartCTCShotDefinitionFireballSpell
StartCTCShotDefinitionForcePushBall
StartCTCShotDefinitionNymphFun
StartCTCShotDefinitionProjectile
StartCTCShotDefinitionProjectilePredictive
StartCTCShotDefinitionQueenHornetShot
StartCTCShotDefinitionTearInGround
StartCTCShotDefinitionThrow
StartCTCShotDefinitionThrowPredictive
StartCTCSinglePersonOccupiable
StartCTCSingleUserActionPoints
StartCTCSkeletalMorph
StartCTCSleep
StartCTCSmashableBarrier
StartCTCSmashableWindow
StartCTCSmokeGenerator
StartCTCSolidToThing
StartCTCSoundAtmosphereVillage
StartCTCSoundPlayer
StartCTCSpecialAbilities
StartCTCSpotLight
StartCTCStealableItemLocation
StartCTCStealth
StartCTCStockItem
StartCTCSummonableCreature
StartCTCSwitchableNavigation
StartCTCTalk
StartCTCTargeted
StartCTCTargetingAI
StartCTCTargetingPlayer
StartCTCTargetingSpirit
StartCTCTavern
StartCTCTavernBar
StartCTCTavernGameCardBlackjack
StartCTCTavernGameCardPairs
StartCTCTavernGameCardSorting
StartCTCTavernGameCoinGolf
StartCTCTavernGameMaster
StartCTCTavernGameShoveHaPenny
StartCTCTavernGameSpotTheAddition
StartCTCTavernJug
StartCTCTavernTable
StartCTCTavernTankard
StartCTCTeleporter
StartCTCTextureDecal
StartCTCThingOwner
StartCTCThingUIDDummyForSerialisation
StartCTCTrespassable
StartCTCTrespasser
StartCTCTrophy
StartCTCTurncoat
StartCTCUndeadSoul
StartCTCVillage
StartCTCVillageMember
StartCTCVolumeContainmentTracker
StartCTCVolumeContainmentTrackerDef
StartCTCWallMount
StartCTCWaterWader
StartCTCWeapon
StartCTCWeaponTrail
StartCTCWeatherVane
StartCTCWife
StartCTCWillResponse
StartCTCWound

EndThing; end of definition
XXXSectionEnd; end of quest section

scripting/map_scripting_101.txt · Last modified: 2006/08/17 04:43 (external edit)