Two modding questions
Posted: Sun Jan 12, 2020 10:16 pm
(1) Situation: An play-test is in progress. An error in a script is discovered and fixed. The editor is used to "compile" the fixed script and the campaign is saved.
Is there any way to resume the in-progress play-test with the updated script or must a restart occur to see the effects of the fixed script?
(2) I use a pile of loop scripts to create interstellar jump points. I am trying to get a cool sound to occur when a starship jumps (i.e., when a loop script event occurs). The following is an example of one such loop script specifying a sound .ogg file. The sound file is here:
C:\Users\mroye\Documents\My Games\Strategic Command WWII - War in Europe\Campaigns\_Bellum Galaxia\Media\Hyperdrive_Jump.ogg
It doesn't work and the jump occurs silently. Is there anything obviously wrong with the script or do I have to do something else to get the sound to play?
{
#NAME= Ploton => Epsilon Eridani (Primary Jump Point)
#POPUP=
#IMAGE=
#SOUND= Hyperdrive_Jump.ogg
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 0
#ALIGNMENT_ID= 0
#TRIGGER= 100
#DELAY= 1
#FAILED_DELAY= 2
#LEVEL= 0
#FRIENDLY_POSITION=
#START_POSITION= 464,47
#FINISH_POSITION= 473,46
}
Thanks for any thoughts,
-Mark R.
Is there any way to resume the in-progress play-test with the updated script or must a restart occur to see the effects of the fixed script?
(2) I use a pile of loop scripts to create interstellar jump points. I am trying to get a cool sound to occur when a starship jumps (i.e., when a loop script event occurs). The following is an example of one such loop script specifying a sound .ogg file. The sound file is here:
C:\Users\mroye\Documents\My Games\Strategic Command WWII - War in Europe\Campaigns\_Bellum Galaxia\Media\Hyperdrive_Jump.ogg
It doesn't work and the jump occurs silently. Is there anything obviously wrong with the script or do I have to do something else to get the sound to play?
{
#NAME= Ploton => Epsilon Eridani (Primary Jump Point)
#POPUP=
#IMAGE=
#SOUND= Hyperdrive_Jump.ogg
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 0
#ALIGNMENT_ID= 0
#TRIGGER= 100
#DELAY= 1
#FAILED_DELAY= 2
#LEVEL= 0
#FRIENDLY_POSITION=
#START_POSITION= 464,47
#FINISH_POSITION= 473,46
}
Thanks for any thoughts,
-Mark R.