Script for Fakk 2 level using Radiant Editor by 83uCkRd

VIEWS: 0 PAGES: 5

									 Script for a level in Fakk 2 using Radiant Editor

// Unlock the elevator door begin

thread lock_door
thread lift1
thread door_used
waitforplayer
end

lock_door:
$elevatordoor lock
end

got_jewel:
$elevatordoor unlock
end

// Unlock the elevator door end




//Elevator function begin

lift1:

waitevent:
$lift1 ontouch start_move
pause

start_move:
$lift1 notouch
$lift1 time 2
$lift1 moveDown 448
waitfor $lift1
wait 4
$lift1 moveUp 448
waitfor $lift1
goto waitevent
end

//Elevator function end
// Jammed Door display message begin

door_used:

loopy:
$brokendoor OnUse printit
pause

printit:
locprint 230 220 "This door is broken"
goto loopy

end

// Jammed Door display message end




//Grawlix in basement cut scene begin

gr_cutscene:

freezeplayer
cinematic
skipthread skip_gr_scene


spawn Camera targetname grcam
wait .1
$grcam follow $grcam_node1 $Grawlix
$grcam fadetime 0
$grcam cut
$grcam speed .4
cuecamera $grcam


$Grawlix ai_off

$Grawlix walkto $gr_node1
waitFor $Grawlix
$Grawlix anim "taunt"

waitFor $Grawlix

//Grawlix/roarl.wav , Grawlix/step.wav , Grawlix/idle.wav ,
Grawlix/jump.wav ,Grawlix/roarm.wav

//idle jumpfull happy2 hide hit1 pain1

$Grawlix walkto $gr_node2
waitFor $Grawlix
//$Grawlix anim ""
$Grawlix walkto $gr_node3
waitFor $Grawlix
//$Grawlix anim ""



$Grawlix walkto $gr_node4
waitFor $Grawlix
//$Grawlix anim ""

$Grawlix walkto $gr_node5
waitFor $Grawlix
$Grawlix anim "taunt"

waitFor $Grawlix

$Grawlix ai_on

skipthread ""
cueplayer
noncinematic
releaseplayer
end


skip_gr_scene:

skipthread ""
cueplayer
noncinematic
releaseplayer
end

//Grawlix in basement cut scene end




//Prison release of Water Sister begin

ws_prisonrelease:

freezeplayer
cinematic
fakeplayer
skipthread skip_ws_scene

spawn Camera targetname wscam
wait .1
$wscam fadetime 0
$wscam cut
$wscam speed .7
cuecamera $wscam
$wscam follow $wscam_node1 $ws

$ws ai_off
$bars notouch
$bars time 3
$bars moveUp 224
waitfor $bars


$ws walkto $ws_node1
waitFor $ws
//$ws anim "aerial_skip"
//waitFor $ws

wait .5

spawn Camera targetname wscam2
wait .1
$wscam2 fadetime 0
$wscam2 cut
$wscam2 speed .7
cuecamera $wscam2
$wscam2 follow $wscam_node3b $bars2

$ws ai_on

wait 8

$bars2 notouch
$bars2 time 2
$bars2 moveUp 192
waitfor $bars2

skipthread ""
removefakeplayer
cueplayer
noncinematic
releaseplayer
end


skip_ws_scene:

skipthread ""
removefakeplayer
cueplayer
noncinematic
releaseplayer
end

//Prison release of Water Sister end
//End Level begin

levelcomplete:

freezeplayer
cinematic
fakeplayer
skipthread skip_levelcomplete

spawn Camera targetname endcam
wait .1
$endcam fadetime 0
$endcam cut
$endcam speed .7
cuecamera $endcam
$endcam follow $endcam_node1 $gameover

skip_levelcomplete:

skipthread ""
removefakeplayer
cueplayer
noncinematic
releaseplayer
end


//End Level end

								
To top