Falling Floor question from noob

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

bighoss
Major
Posts: 276
Joined: Fri Jan 09, 2004 3:34 pm
Location: USA, Ohio

Post 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
Image
Strive to accomplish great things!!
bighoss
Major
Posts: 276
Joined: Fri Jan 09, 2004 3:34 pm
Location: USA, Ohio

Post 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?
Image
Strive to accomplish great things!!
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

Code: Select all

$falling_floor time 2
ought to be the line defining the falling speed (lower value = higher speed)
bighoss
Major
Posts: 276
Joined: Fri Jan 09, 2004 3:34 pm
Location: USA, Ohio

Post 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 :!:
Image
Strive to accomplish great things!!
Post Reply