Forum

> > Stranded II > Scripts > blocks on each other
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch blocks on each other

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt blocks on each other

amstel bier9
User Off Offline

Zitieren
hi there people,

i was wondering if there is a script to place 2 blocks on each other (like in minecraft)
so when you mine the upper one, the lower one still stays.

thx already,
and sorry for my bad English.

alt Re: blocks on each other

Lion_Hearted
User Off Offline

Zitieren
I think it might be possible, using a location finder.

But, it would be a large, and complicated script, that would have to include every block in your minecraft mod, and for sand, it would have to run every sec...

alt Re: blocks on each other

Hurri04
Super User Off Offline

Zitieren
make a model of a simple cube and divide it into 6 different models, 1 for each side of the cube.

then make your own type of info.
write a script which you write into the global script box of a map which starts an event upon on:start.

when this event is triggered there shall be created plenty of the new infos, in a pattern like the blocks in minecraft.
you can use s2 cmd loop, s2 cmd loop_id, s2 cmd create, s2 cmd setat, s2 cmd rpos and some variables for this.

write a script into the definition file of the info so that when it is created it will create one of each of the different pieces which form a cube together.
use s2 cmd setat to do place the tiles at the info.

then write different scripts into each of these tiles so that a new info is created when it is used and e.g. when using the upper tile of an existing cube the new info for a new cube is created above the already existing cube.
you can do this by using s2 cmd setat and s2 cmd rpos again.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht