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

Alistaire
User Off Offline

@user Avo

I don't care, it works fine already.

old

Avo
User Off Offline

Factis699 has written
2.The trees will disappear every roundstart

Alistaire has written
2. I don't know how to fix that.

Answer is easy: all images are removed on each roundstart

Read second note @ cs2d cmd image

old

Sniper_x
User Off Offline

Nice Idea for a new script !
5/5 ∗ ∗ ∗ ∗ ∗
I like it!

old

Alistaire
User Off Offline

@user SkullzOrig

I'm working on 3 mods at the same time. Many ideas to make into stand-alone scripts.

old

SkullzOrig
User Off Offline

Is it me or has Alistaire been uploading more files than he usually had been than before?
I like it!

old

Alistaire
User Off Offline

I really can't see what you're talking about. The setup is based on entity x and y, which are tile positions if that's what you mean.

old

Apache uwu
User Off Offline

You can only put trees within the grid (32x32), you should change from accepting tiles to pixels.

old

Apache uwu
User Off Offline

You can't place tress outside of the 32x32 boundary...

If you change that then I'll give you a like

old

Alistaire
User Off Offline

1. Random function is not what this script was made for, it's meant so that you don't have to place the same tree over and over again.

2. I don't know how to fix that.

old

Infinite Rain
Reviewer Off Offline

That's what I call 'The Big Success'
Edit:
Hey you must to seed random function, else it would be all the same trees every time!
Edit2:
The trees will disappear every roundstart
I like it!

old

maPmaKer
User Off Offline

Hmm, preety cool, but can they shake?
I like it!

old

BaDgEr
User Off Offline

I'll use it on my maps
I like it!

old

krabob
User Off Offline

Naiiise
I like it!

old

Raisun
User Off Offline

Amazing work
I like it!

old

Marcell
Super User Off Offline

Coool!
i like it!
I like it!
To the start Previous 1 2 Next To the start