Files

> > CS2D > Lua Scripts > Entity-02-Animated Tree
Files overviewCS2D overviewLua Scripts overview

English Entity-02-Animated Tree >

31 comments7 kb, 486 Downloads

old Entity-02-Animated Tree

Pseudon
User Off Offline

Hello, this is the second entity I made, a tree that can be destroyed.
• To place this tree you need to create a Env_Breakable and name it "tree".
• This tree uses image and break hook, when you shoot and destroy the block, the tree will "fall".
• Also the tree is animated, it moves it's branches as the original CS2D tree.
• To modify the color and the transparency of the tree, open the .lua file.
• On the Env_Breakable you can set its HP and material.
• Also, the image of the tree can be changed.
• Be sure to install the servertransfer or to create one.
@user Rainoth: gave me this idea on his comment on file cs2d More Trees V1 .
Special thanks to @user TopNotch: for making this viddeo : https://www.youtube.com/watch?v=SnG7Tv0eSik
I know it has a bug and the freeimage is not working, I still try to find a way to fix it.


FIXED
The freeimage.
Still for some reason when you shoot some trees will still stop from moving...
edited 4×, last 31.08.15 09:52:45 pm
Approved by Rainoth

Download Download

7 kb, 486 Downloads

Comments

31 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Lobwver
User Off Offline

Like!
Nice work and idea... (of :user Rainoth)
I like it!

old

Hellcat
GAME BANNED Off Offline

I did not think that someone would create something like this
I like it!

old

Rainoth
Moderator Off Offline

Excellent! -Mr. Burns
I like it!

old

Sebax
User Off Offline

Excellent! -TF2 Spy
I like it!

old

Crabby
User Off Offline

Can you make the trees come back after a while?
I like it!

old

Avo
User Off Offline

The effect looks great. Deserves my like, sir!
I like it!

old

Infinite Rain
Reviewer Off Offline

Don't you think that trees should just fall over when destroyed? And not just be sucked in random black hole?

Animation looks great though. Not giving you a like because trees don't fall like that.

old

Pagyra
User Off Offline

i have realized 3d falling for trees -
it can be seen (very short-just the beginning of animation) in THIS VIDEO (old overview)
i can give you that idea if you want
I like it!

old

Rainoth
Moderator Off Offline

Sounds good. Nothing more to say. @Everyone, thanks
I like it!

old

VADemon
User Off Offline

Nice and clean
I like it!

old

EXOSuit
User Off Offline

Why? VIDEO ? Oww man That's cool!
I like it!

old

Pseudon
User Off Offline

@user Mora: It's one of my next projects, also with the Healing Fountain.

old

Mora
User Off Offline

@user Pseudon: good luck...
eh i forget: i like it... i know that i can tell it by likes, but ... but i wanna say it
How about Mirror entity?
I like it!

old

EXOSuit
User Off Offline

Description has written
• To place this tree you need to create a Env_Breakable and name it "tree".
• This tree uses image and break hook, when you shoot and destroy the block, the tree will "fall".
• Also the tree is animated, it moves it's branches as the original CS2D tree.
• To modify the color and the transparency of the tree, open the .lua file.
• On the Env_Breakable you can set its HP and material.
• Also, the image of the tree can be changed.
• Be sure to install the servertransfer or to create one.



You must be read it!
I like it!

old

BlackWizard
User Off Offline

cool. But how add it in map ?
I like it!

old

Mora
User Off Offline

Good, but when i "chop" tree, it got error:
1
LUA ERROR: sys/lua/entity-02-tree.lua:290: bad argument #1 to 'freeimage' (numberexpected, got table)
but even if this error are all works perfect, but error, but perfect...
I like it!

old

EXOSuit
User Off Offline

Good Trees. I mean the trees can "Fall"
I like it!
To the start Previous 1 2 Next To the start