Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Trinick.

Pages: 1 ... 5 6 7 8 9 [10] 11 12 13 14
136
Off Topic / Re: Pop Isn't EDM (rant)
« on: November 27, 2012, 08:35:37 PM »
90% of the "EDM" kids listen to these days anyway
You're 17. You don't get to say, "these kids."

Not to mention, EDM isn't all about the drop. Really, only friends listen to EDM for a drop. Yeah, a drop is the climax of a song, but not all EDM has drops nor do drops have to be the main focus of the song.

137
Off Topic / Re: You are not shy.
« on: November 27, 2012, 08:34:03 PM »
Sorry to be uninspiring, but no. Everyone has confidence on the internet, only a select few share that same confidence in real life. Just because you can bash on someone on the internet doesn't mean you can ask a girl out in real life.

138
Just make sure the baseplates are square. I didn't add any kind of rotation.

Oh, and I revised my code. I absentmindedly made the trigger the size of the brick instead of having it above the brick.

139
Oh and it needs to be efficient and stuff
Cause I'll be looping through all buildings on a regular basis
I thought of a much better way, then. Use triggers, like so:
Code: [Select]
function BuildingBaseplateData::onPlant(%this)
{
%db = %this.getDatablock();
%x = %db.sizeX/2;
%y = %db.sizeY/2;
%scalevector = vectorAdd(%x SPC %y, "0 0 50");
%this.trigger = new Trigger() {
position = vectorAdd(%this.getPosition(), "0 0 25");
scale = %scalevector;
polyhedron = "0 0 0 1 0 0 0 -1 0 0 0 1";
datablock = BuildingBaseplateTrigger;
};
}

function BuildingBaseplateTrigger::onEnterTrigger(%db, %this, %obj)
{
if(%obj.getType() !$= "Player")
return;
%obj.isInBuilding = 1;
}

function BuildingBaseplateTrigger::onLeaveTrigger(%db, %this, %obj)
{
if(%obj.getType() !$= "Player")
return;
%obj.isInBuilding = 0;
}

datablock TriggerData(BuildingBaseplateTrigger) { tickPeriodMS = 500; };

function player::isInBuilding(%this)
{
return %this.isInBuilding || 0;
}

140
The best thing I can think of is to throw a box search straight down to see if they're over a baseplate that designates a building, something like this:
Code: [Select]
function player::isInBuilding(%this)
{
initContainerBoxSearch(vectorSub(%this.getHackPosition(),"0 0 50"), "0.5 0.5 100", $TypeMasks::fxBrickObjectType);
while(isObject(%i = containerSearchNext()))
if(%i.getDatablock().getName() $= "BuildingMarkerData")
return 1;
return 0;
}

141
How can one be a "fan" of MIDI?

That's like saying I'm a fan of ASCII. Or a fan of MP3. Or a fan of AVI. It's just a data format.

142
Off Topic / Re: How tall are you?
« on: November 27, 2012, 07:05:06 PM »
5'10. I feel like this will be skewed because most people here aren't anywhere near fully grown.

143
Off Topic / Re: The Computer Megathread
« on: November 27, 2012, 07:04:30 PM »
I live in a small, rural suburbs town, wealth here is very prevalent.
Long live the 1%

144
Modification Help / Re: Triggering code when a bot is in the line of sight
« on: November 27, 2012, 06:58:44 PM »
How could I make this work for bots seeing players?
change it to AIPlayer::canSeeObject

145
Off Topic / Re: ...in my ass. [V3]
« on: November 27, 2012, 06:56:36 PM »
In and out of love in my ass

>.>

146
He's in Europe. Tomorrow is his birthday, by the way.

147
i'm seeing a break somewhere around there
nah, philosophy is like science without any actual research. It's like, hypothesizing but not testing.

148
Off Topic / Re: The EDM Megathread - Monday Monstercat release!
« on: November 27, 2012, 02:22:19 AM »
After like 3 days of trying to install mac in a VM so I could run Ableton I gave up.

So I installed XP.

Then Ableton wouldn't install on XP despite it being listed as supported.

I don't think my computer wants me to make music.

149
obviously blockland copied lego which copied plastic which copied polymers which copied science which copied philosophy which copied religion which copied humanity which copied apes which copied sea creatures which copied cells which copied amino acids which copied proteins which copied atoms which copied quarks which copied energy.

blockland copied energy

150
Off Topic / Re: Hey guys!!! I'm new here!!
« on: November 27, 2012, 02:17:04 AM »
i dont even know if people like me

Pages: 1 ... 5 6 7 8 9 [10] 11 12 13 14