ForumsGamesCrush the Castle 2 - Custom Castles

21403 1788723
Trismegistus23
offline
Trismegistus23
271 posts
Peasant

Post your playable Crush the Castle 2 maps. There are other threads for talking about CtC2. If it's not good for shooting at or interesting to look at don't put it here: NO castles that fall apart by themselves, NO random junk piles.

  • 21,403 Replies
CourtJester
offline
CourtJester
6,158 posts
Shepherd

How did you code it so either people are left on screen?

@limnxy, it is called cheating! By simply placing a person or persons at x=2000, they will die twice. If you want to delay the deaths, put them up high!

You can also put them at y=900. As long as they are totally off screen, they will die twice. On a level like that, you can't settle or it might not work.

CourtJester
offline
CourtJester
6,158 posts
Shepherd

The Weight of Wisdom
You can also set it up so that you have multiple kills. Alone with only the peasants underground, you get a 8/7 kill ratio. Add 2 people above and you get a 12/9 kill ratio. This means that for everyone that is safe, the same number of peasants die twice! Weird eh?

Limnxy
offline
Limnxy
53 posts
Peasant

Thanks @CourtJester. I will need to do some experiments using this cheating death method.

When I mentioned the problem of horizontal blocks it was about the issue of people hiding behind horizontal blocks, no longer being hidden when the camera pans back after the first shot. However, if you turn the block to a vertical position the person will remain hidden. But they still need a gap for the head and feet. It appears from from your example they can only be completely hidden by foundation blocks.

CourtJester
offline
CourtJester
6,158 posts
Shepherd

@Limnxy, they can also be hidden by any of the props. Windows are one of them that works quite well. You have to block them twice with the person in the middle. This is the way it works with Flash. I will make another level hiding people with other props.

CourtJester
offline
CourtJester
6,158 posts
Shepherd

INVISIBLE MAN 2
@Limnxy, using windows is a pain because @Joeybetz did not allow more than 1 decimal point in the coding so working with multiple of 40's is better thus the barrels. Once again, the victim must be covered from both top and bottom and you have to figure out the Y placement value. This time, I put the hidden Jester as the first victim in the code!

This is the code:

{"n":"INVISIBLE MAN 2","c":["jester,450,539.2,1,1,0","biv,450,589.1,0.5,1.1,90","biv,449.1,489.3,0.5,1.1,90","pl,404.8,639.1,1,1,0","pl,610,639.2,1,1,0","pl,610,589.3,1,1,90","pl,494.8,639,1,1,0","pb,435,659.1,1,5,0","pb,465,659.1,1,5,0","pb,435,619.1,1,5,0","pb,465,619.1,1,5,0","pl,405.1,539.3,1,1,0","pl,495.1,539.2,1,1,0","pb,435,459.4,1,-3.5,0","pb,465.1,459.4,1,-3.5,0","pb,434.9,419.4,1,-3.5,0","pb,465,419.4,1,-3.5,0","ptwv,610,544.4,1,1,0","jester,650,639.2,1,1,0","pl,275,639.2,1,1,0","pl,275,589.2,1,1,90","jester,245,639.2,1,1,0","ptwv,274.6,544.3,1,1,0","ptwv,450,354,1,-1.3,0"],"t":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"p":"","l":["tj","mm","bj","wc","im"],"o":-1,"r":["rw","rwc","rs","rsc","ri","ric","rb","rbc","rfb","rpb","rrb","rf","rl","rr","ra","rp","rc","rsl"]}

This will hold a whole new meaning for you in 3-D programming because once I had the basics built, I had to code in everything else without the editor. Ha ha! BTW, to crush this thing in one, you have to hit at or below the top iron bar so the ladder fails and not the barrels.

CourtJester
offline
CourtJester
6,158 posts
Shepherd
DrElmer
offline
DrElmer
553 posts
Farmer
DeathstormKnight
offline
DeathstormKnight
295 posts
Shepherd
CourtJester
offline
CourtJester
6,158 posts
Shepherd
ObieOdie
offline
ObieOdie
134 posts
Peasant

ZACH0 NEEDS A HEAD BUTT!

Still working on my castle but it keeps falling apart. The competition looks pretty heavy and nice to see @DrElmer back with a level that froze my computer!!! Ha ha ha Had to throw some acid in yo face mama! Ha ha ha

ObieOdie
offline
ObieOdie
134 posts
Peasant

Wobbly Desert Towers

Contest entry - figured out the problem. Never use a horizontal element as a base! Can't be done in one shot! Tough for 2!

CourtJester
offline
CourtJester
6,158 posts
Shepherd
Limnxy
offline
Limnxy
53 posts
Peasant

Hey @Courtjester, thanks for trying to help me understand. When you say you block them twice I still don't get it. Do you mean blocks on the left and right of the hidden person, and is that in the on screen editor or in the code? Are you saying the objects have to be right next to each other in the code?

Limnxy
offline
Limnxy
53 posts
Peasant

Oh I see, you have placed barrels over barrels on invisible man 2. So you do that in the code by coding them into the same position? How do they not fly off each other when it's played? Gonna have to do some experiments when I get some free time!

CourtJester
offline
CourtJester
6,158 posts
Shepherd

On the code, barrels are typically [pb, x pos, y pos, 1,1,Angle","], I simply manipulated the ,1,1 by changing the second one to a [+Y] for the lower barrels to move them up and a [-Y] on the upper barrels to move them down. The Jester is basically standing on an iron bar which is supported by the lower barrels, two ladder sides, and iron bar top and the upper barrels are sitting on the top. When you pick your +/- values, you also have to accomodate the thickness of the iron bars which in this case turned out to be "3.5". The barrels never touch each out but is only an optical illusion. The fact that the Jester is double hidden means he will not come out of hiding the next you scroll back to the scene. You cannot change the position of the characters, only the parts. It may look like you did in the editor, but as soon as you play it, they are back to normal. I did the same with the turret.

Showing 21076-21090 of 21403