Files

> > CS2D > Lua Scripts > Entity-04-Boxes
Files overviewCS2D overviewLua Scripts overview

English Entity-04-Boxes >

24 comments839 b, 459 Downloads

old Entity-04-Boxes

Pseudon
User Off Offline

The 4th entity, breaking blocks to drop items.
• To use it, put a Env_Breakable, choose the tiles, the material and the HP, then name it "item" and on trigger write the ID of the item you want it to drop.
• This is not a big deal, just some lines of code that anybody could make, the reason I made it is because there are some mappers that may want to do something like this, but they don't know how to script with Lua.
• This was also suggested by @user Thug Life: .
• I am sure that screenshots aren't needed.

INFO
Summary : You put Env_Breakable, name it "item" and choose an item to write its ID on trigger section, then when you will break the block it will drop the item.
Approved by Infinite Rain

Download Download

839 b, 459 Downloads

Comments

24 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

Pseudon
User Off Offline

@user Gaios: And what do you mean by that? I haven't been paying close attention to latest updates on this game, and I must admit I was quite surprised with its evolution. So don't expect me to understand any rhethorical sentence.

old

Gaios
Reviewer Off Offline

It can be done with map editor only lol.

old

Masea
Super User Off Offline

Thank you so much dude, I will use this script for my maps.
I like it!

old

Waldin
User Off Offline

This resumed and without lua

Env_Breakable with trigger "e.g"
and put trigger_if with name "e.g" and
parse('spawnitem ID X Y')

Put X and Y of the Env_Breakable and finish.
I like it!

old

Pseudon
User Off Offline

Thank you all for your feedback. I am planning to continue making more entities, after I'm done with some work.

old

XoOt
Super User Off Offline

Well done mr. Pseudon. Stuff like this raise the possibilities of mappers by far. If you add more things like that it will be easy to create some way more amazing theme maps. Keep it up
I like it!

old

Lobwver
User Off Offline

Can do something like a "cut" entity?
(A entity what can stop the func. of other entity... like a delay... if you destroy an X breakable, the delay stop the X func. triggered...)

Btw, i like this...
I like it!

old

Sparty
Reviewer Off Offline

People like you gives me Hope Good work anyway I like it
I like it!

old

BcY
Reviewer Off Offline

Easy but useful.
I like it!

old

MikuAuahDark
User Off Offline

you also can use layered entities by placing item and breakable in same position.
I like it!

old

Thug Life
User Off Offline

My idea lives! Here's my like for your great work. Maybe in the future you'll make a pack with all of your entities.

Henny for 10th like! Who wanna?
I like it!

old

Pseudon
User Off Offline

@user BlackWizard: Dude, why would I upload screenshots? Please read the description.
edited 1×, last 18.11.17 07:37:12 pm

old

BlackWizard
User Off Offline

where screenshots ?

old

EXOSuit
User Off Offline

Good idea!
I like it!

old

Fabro
User Off Offline

8 likes , 2 downloads. Nice work
I like it!

old

Pseudon
User Off Offline

@user Sparty: Yes I could, but I started like this because I had only one idea at start, then I got more ideas asking other users.

Also, I am planning to add for the next one a Trigger_Move that will give you a boost of speed for a number of seconds.

old

Mora
User Off Offline

@user Pseudon: all is better and better
I like it!

old

Sparty
Reviewer Off Offline

Could make a Entity Mod/Pack instead of uploading it each day or day by day differently
I like it!

old

StirlizZ-Fapicon
Super User Off Offline

Already made by me in editor, but thanks for much easier way.
I like it!
To the start Previous 1 2 Next To the start