spawning a tree
Moderator: Moderators
well maybe someone could spawn a tree in a stock map,,,attach a ladder to the tree so ya could climb the tree,,,at top of tree maybe spawn a base to stand on ,,,then maybe spawn something like a wood plank to walk across,,,i know there isnt a tik for the wood plank but ya could probally use something to substitute a plank,,then maybe spawn another tree with the same set up as above ,,on maybe the other side of a piece of barbwire that ya cant remove from a stock map due to brushs i think so ya could access a area or cross a area that be4 couldnt be crossed...hint hint Bighead lol,,,does hunt ring a bell?? lol,,also if ya check the posts ringdog has already figured out how to make a flag ya can climb like a ladder guess if ya use the hide command and place it against the right tree ya could climb a tree or maybe even fences?? lol,,,sounds like something that may be kina fun and different to me anyways,,i recently downloaded and played a map that had a climable fence ,,i thought it was pretty kewl myself:))
Gold<<mohha freak
Gold<<mohha freak
Gold<<mohha freak
Gold<<mohha freak
Re: spawning a tree
Gold wrote:Is it possible to spawn a ladder so ya can climb the tree like the climable tree in gewitter??
Gold<<mohha freak
Yes
Regards
<TWZ>WarTech
Well since it looks like we've revived this from the dead...
Actually you can only spawn entities/models. You can't spawn brushes, so you'd have an invisible ladder, but even then I don't think you can spawn brush entities. Like func > ladder, because I don't know of anyway to spawn the actual brush. But you can certainly spawn a tree.
Actually you can only spawn entities/models. You can't spawn brushes, so you'd have an invisible ladder, but even then I don't think you can spawn brush entities. Like func > ladder, because I don't know of anyway to spawn the actual brush. But you can certainly spawn a tree.
Hi there:blue60007 wrote:Well since it looks like we've revived this from the dead...
Actually you can only spawn entities/models. You can't spawn brushes, so you'd have an invisible ladder, but even then I don't think you can spawn brush entities. Like func > ladder, because I don't know of anyway to spawn the actual brush. But you can certainly spawn a tree.
Yes, you can spawn a ladder ,brush , etc all via scripts. This will be in TWZ/OTD mod once we release it to the public.
Code:
spawn info_pathnode "targetname" "testing" "origin" "( 1073 -1040 -71 )"
spawn script_object "targetname" "clipbrush" "origin" "( 1073 -1040 -71 )"
$clipbrush.model = "static/static_nazibanner1b.tik"
$clipbrush show
$clipbrush setsize ( 0 0 0) ( 1 65 275)
$clipbrush.angles = ( 0 0 0 )
$clipbrush solid
spawn script_object "targetname" "tl1" "classname" "func_ladder" "origin" "( 1073 -1040 -71 )" "angle" "0" "model" "*clipbrush"
$tl1 setsize ( 0 0 0) ( 1 65 275)"
This is an example that has been around the forums for some time now.
Regards
<TWZ>WarTech
The TIK is only so the players can see that there is something there but the func_ladder is there and you can climb it with/without the tik. It works very well in SH.blue60007 wrote:Well so you can spawn brushes that are made into a model, via tiki. But can you make a script object a func_ladder?
You can spawn a tree next to it and it will allow the players to go up it.
Regards
<TWZ>WarTech
