Page 2 of 2

Posted: Sun Jan 11, 2004 4:36 am
by bighoss
Ok here is my script, I'm not to familiar with scripts so bare with me, cause i'm not to intelligent when it comes to this part of mapping. Also this is using nuggets idea.



// testfloor
// ARCHITECTURE: bighoss
// SCRIPTING: bighoss
main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" ""
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none"

// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread

exec global/exploder.scr

level waitTill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/testfloor.scr
exec global/ambient.scr music


level waittill spawn

floor_drop:
$floor_trigger nottriggerable
$falling_floor time 2
$falling_floor moveDown 196
$falling_floor waitmove

end

Posted: Sun Jan 11, 2004 4:46 am
by bighoss
Ok I got nuggets suggestion to work, but how do I get the floor to just fall so the player gets hurt, the floor moves down too slow, what do i change the floor drop time?

Posted: Sun Jan 11, 2004 11:27 am
by wacko

Code: Select all

$falling_floor time 2
ought to be the line defining the falling speed (lower value = higher speed)

Posted: Sun Jan 11, 2004 5:21 pm
by bighoss
Ok through all your combined efforts I have finally gotten my floor to fall how i want. So thanks to all that gave me suggestions. :D :!: