I downloaded the script: see how many errors you can spot. (I saw three)
function useItem(x,y,z,itemId255,blockId2,side)
{
Block.defineBlock(501, "Oh Ya", [[4, 1]])//Your Code Here
}
function attackHook(attacker, victim)
{
BlockdefineBlock(999, "test", [[9, 9]])//Your Code Here
}
function modTick()
{
//Your Code Here
}
no problem with functions, but missing . after block, and I have to ask myself
"can block Id exceed 255? doesnt day have only 00 to ff?"
And I think no prob with ; cuz javascript will add it by it self,
and Im not sure he is meaning if itemId==255&&blockId==2
so I found two(blockId, missing.).
Wait a sec, the Portal Gun? Picking up blocks and stuff sound like the Gravity Gun from Half Life 2. Sure, the Portal Gun pick stuff up too, but it mainly does portals (hence the name).
true. but its beta as you know...
I want to make it to portal gun mod and gravity gun mod
so it will split to two branches.
I'll allow portal to portal gun, and gravity gun will get throwing feature instead.
i put it on trble's repo it is 14303 but i am currently editing it so it doesn't move blocks because the block movement is in convenient for me and also the item that controls the gravity is not the hoe it is a stick.
He said it was TNT (which you can spawn with Level.spawnMob and change render type to falling block). I found that dropped item entities are better for this, though.
true. dropped Item is way more easier to spawn/setblock.
and with entityaddedhook, it works perfectly. but the problem is that it will be picked by player. well, I could make the distance a bit far so it cant be picked, but in multiplayer, it will be messy cuz other player can actually pick that.
+item will be killed by lava/fire
I started making a portal gun mod but not finished yet and I wanted to do this to but I'm not sure how. I have working portals, bouncing gel, speed gel, the emancipation grid, and jump pads. Still need to figure out how to make portals work with snowballs instead of a sword and fix the positioning a little bit
hmm. I wanted to do that too, but I have no idea how I can make portal looks like portal...(sounds akward but true)
and gels, Im planning on using snowcover with damage.
and grid... its easy to do but hard to make it looks gridy(?)...
but Im hoping that 0.8.0 comes out early so we can use orange/blue/black carpet for gel/gel/pad
or maybe I can steal yor code...(just jocking!)
If he could actually throw blocks he would add that to his video.
well... thats POSSIBLE, but cuz it uses modTick to move it, It'll look a little bit derpy...
I was planning to make water bomb or wither or slime and stuff like that, but I dont have enough time for it...
It was just TNT rendered as falling sand.
I think It doesnt need any explanation...
though, if you still want it, just let me know so I can give it to you
0
just bit different. new level means your map gets loaded, and select level means you clicked(selected) your world
1
no problem with functions, but missing . after block, and I have to ask myself
"can block Id exceed 255? doesnt day have only 00 to ff?"
And I think no prob with ; cuz javascript will add it by it self,
and Im not sure he is meaning if itemId==255&&blockId==2
so I found two(blockId, missing.).
0
true. but its beta as you know...
I want to make it to portal gun mod and gravity gun mod
so it will split to two branches.
I'll allow portal to portal gun, and gravity gun will get throwing feature instead.
1
ah! tahts okay!
sorry for bad words lol
0
... with no agree?
I have to say you suck
0
great idea!
0
totally true
oops! fixed it!
thanks!
22
you can pick blocks, entities, and move them around.
0
true. dropped Item is way more easier to spawn/setblock.
and with entityaddedhook, it works perfectly. but the problem is that it will be picked by player. well, I could make the distance a bit far so it cant be picked, but in multiplayer, it will be messy cuz other player can actually pick that.
+item will be killed by lava/fire
0
well actually Im making that. portalgun-gravitygun addition lol
and about other people using this... ofcourse noproblem! but maybe after noticing me... cuz I wanna see how they can use this more cooler
after I make it throwable... hehehe
0
hmm. I wanted to do that too, but I have no idea how I can make portal looks like portal...(sounds akward but true)
and gels, Im planning on using snowcover with damage.
and grid... its easy to do but hard to make it looks gridy(?)...
but Im hoping that 0.8.0 comes out early so we can use orange/blue/black carpet for gel/gel/pad
or maybe I can steal yor code...(just jocking!)
working on it. made some progress with mathmatical stuffs so it can fly in arc shape...
0
well... thats POSSIBLE, but cuz it uses modTick to move it, It'll look a little bit derpy...
I was planning to make water bomb or wither or slime and stuff like that, but I dont have enough time for it...
5
0
It was just TNT rendered as falling sand.
I think It doesnt need any explanation...
though, if you still want it, just let me know so I can give it to you
0
well, actually, I didnt use that cuz it will make it laggy cuz it have to do it every tick
I used other thing