PDA

View Full Version : Knightfall Script?



jsaechao
02-10-2008, 06:28 AM
1. Where can I find the script or source file for Knightfall?

2. I am also having trouble with the script for ambient sound. I tried following the example in curriculum teacher guide (pg 274):

Play a Looping Ambient Sound In World_script.txt:

RegisterAmbientSound "sound" "sound.wav"
SetSoundLoop "sound" 7 2 1

It gives an error: ..."setsoundloop" is an invalid script command

However the following works:

RegisterAmbientSound "sound" "sound.wav"
SetAmbientLoopParams "sound" 7 2 1

It doesn't seem to read the "SetSoundLoop" command.

KenMaffei
02-10-2008, 06:56 AM
1. The reason for the script error is that the documentation you are looking at is more recent than the PLE version. The Teacher's Guide documentation reflects the more recent version of the engine that ships with the curriclum. A more up-to-date PLE that matches the shipping version will be posted this coming week so check back.

2. When you download the standalone Knightfall executable from our website, the scripts are installed in the installation directory, so you can find them there. They are a good source of reference, but I should caution you that the standalone Knightfall executable that you download from our site was built some time ago with an older version of Ignition. Therefore those scripts work with the Knightfall executable, but some aspects are outdated against the current engine. The complete, latest Knightfall project files (all 3ds Max files, exported assets and scripts) are only available through a purchase of the curriculum.

--KM