spawning func _ladder

Post your scripting questions / solutions here

Moderator: Moderators

LeBabouin
Lance Corporal
Posts: 22
Joined: Tue Jun 21, 2005 11:10 pm

Post by LeBabouin »

Code: Select all

	spawn models/animate/Af_P_CargoNetting.tik "origin" "2995 -320 -525" "angles" "0 270 0" "classname" "script_model" "targetname" "filet" 
	spawn func_ladder "classname" "func_ladder" "origin" "3000 -323 -238" "angle" "90" "model" "*filet" "targetname" "Ladder1"
	$Ladder1 setsize ( -30 -1 -240 ) ( 30 1 -40 )
	$filet anim sway
I just BT spawned this and it works great (and im proud)
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

thats incredibly interesting... i didn't realize how little entities are calculated in compile. if you can spawn a ladder, you could probably spawn anything and have it work perfectly. doors, beams, anything.

sorry for spam... just thought it was cool.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

When i spawned a ladder, It was kinda buggy, As in didnt go up the ladder smoothly, And sometimes was hard to even engage the ladder :(
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

at TMT Sorridstroker posted a global/ladderspawn.scr that works well in all aa maps.
Post Reply