Files

> > CS2D > Lua Scripts > [CSP] Tree Setup [v 1.0] -script-
Files overviewCS2D overviewLua Scripts overview

English [CSP] Tree Setup [v 1.0] -script- >

37 comments28 kb, 516 Downloads

old [CSP] Tree Setup [v 1.0] -script-

Alistaire
User Off Offline

NEVER care about the rotation, color and size of a tree on your map anymore!

With this script you can plunk down some random entities called 'tree1' or 'tree2' or whatever tree you want and on the start of a map it generates a tree on that entity!

----

The script is particularly useful for mapmakers that have to create huge forests on their maps and the like. You can just place for example a dynwall called 'tree1' and use ctrl+c and ctrl+v to paste your randomly generated forest on the map.

The best part is that you can use your own images and you can even change the way trees generate so that you can paste some oak trees here, then some birch trees there, and not care about position AT ALL!

----

Sorry I'm really excited over this script, enjoy!
Approved by Yates

Download Download

28 kb, 516 Downloads

Comments

37 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

EndDead
User Off Offline

I am still wondering why VIPskiner isn't banned yet...

Anyway nice script, could be useful
I like it!

old

VIPskiner
User Off Offline

alastire yu no najs. aj sejd đast mj tink of dis. waj mj mom horses fuk

old

Alistaire
User Off Offline

@user VIPskiner

Stfu nob faker yu mom fuk hosres dei in a pit fak fak fak fak!

----

Srsly Dux.

old

VIPskiner
User Off Offline

dis so bed from yu! yu havnt skils nub faker. dis no lajk

old

Hanz
User Off Offline

I like it because the tree graphic, lol.

I like your tiles dude can I have it? I will put a credits for that.

I change my mind, I don't like it.

It not working. I need a help here.
I like it!
edited 1×, last 07.10.12 05:48:59 pm

old

hacked
User Off Offline

I still don't understand how to use this.
I like it!

old

Black Wolf
User Off Offline

Can you send download link of your tiles used in this pic?
I like it!

old

TopNotch
User Off Offline

Nice.
I like it!

old

Alistaire
User Off Offline

@user Avo

Oh god please. You know if you use that method, you just paste more trees over the existing trees if a bug doesn't occur.

----

I've added it to the new version.
edited 1×, last 18.07.12 02:12:00 pm

old

loldlold123
User Off Offline

damn good,you cant know how much time i spent on creating those damnit forests(you know 1 year ago at countrylifemod damn) with that no more creating forest problem...
I like it!

old

Avo
User Off Offline

@user Alistaire: I edited it for try and it works every roundstart, but of course, on each all trees are random.

More >

old

Alistaire
User Off Offline

@user Apache uwu

Startround is only triggered once everyone spawned. I said, it will be possible in the next version of CS2D, because startround_prespawn doesn't exist yet.

I can't make it that's the problem.

old

Jela331
User Off Offline

I really like it. Pretty useful for forest maps.
I like it!

old

Apache uwu
User Off Offline

@user Alistaire: He's saying that images are automatically removed on roundstart by cs2d. That is a problem because once the round restarts you won't see the trees. A fix is just to place building trees around a startround hook.

old

Avo
User Off Offline

@user Alistaire: So it's good for adventures single player maps

Make new version, good luck

old

Alistaire
User Off Offline

@user Avo

It's not possible to make it remove the images and replace them on a roundstart. It will be in the next version.

----

@user mafia_man

The point is that you can't place env_object trees which are lag-free with Lua.

All the damn trees wave all time and it takes too much CPU if you have a forest.

old

mafia_man
User Off Offline

I aleready done something like this in BlitzMax, but it generates env_object for map. This one in lua is slow and many images causes, that some players can't join the server.

old

Yates
Reviewer Off Offline

@user Avo: He means how to put them back, I guess..
To the start Previous 1 2 Next To the start