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 - Rally

Pages: 1 ... 55 56 57 58 59 [60] 61 62 63 64 65 ... 534
886
Add-Ons / Re: [Vehicle] Technical / Heavy Machine Gun
« on: December 10, 2017, 07:00:26 PM »
Yeah I forgot an eye node in the stand DTS lol. I'll update soon

887
Is it possible for you to provide a Bot Template with the tilting feature at some point? I have a few bot vehicles that weren't released and they would benefit a lot with this feature.

I'd be more comfortable releasing it with the skateboard, as it's not as fleshed out right now as I'd like it to be. It won't be much longer now though.

888
Add-Ons / Re: [Vehicle] Technical / Heavy Machine Gun
« on: December 10, 2017, 11:41:13 AM »
Hey having a big issue here where for some reason entering the gun makes my screen white and then my game crashes

Can you reproduce it? I've been battling with this stuff for a while and I have little idea what's causing it. Seems totally random

889
Off Topic / Re: POLITICS & DONALD Annoying Orange MEGATHREAD
« on: December 09, 2017, 06:20:14 PM »
wheres big boss when you need him smh

890
Off Topic / Re: Blocklander of the Year 2017
« on: December 09, 2017, 06:10:44 PM »
Rally [6]

I remember in BOTY 2015 or 2016 when I confused the "who's nominated" section with the "who's been nominated" section and thought I had been nominated a bunch of times when in reality I had been nominated 0 times so I ended up making big idiot of myself with a thank you post. thanks guys for real this time

I'm nominating Conan because I really just don't think I'd have a single add-on released without his help

891

892
Off Topic / Re: POLITICS & DONALD Annoying Orange MEGATHREAD
« on: December 09, 2017, 02:14:00 PM »
It's near infinite so long as we prevent Hillary Clinton from selling off our loving supplies again

893
Yeah I believe it's a method for Player objects. I'm using Player::setLookLimits(%player, %up, %down). Here's an example of it being used in the default tank:

Code: [Select]
  function armor::onMount(%this,%obj,%col,%slot)
   {
      Parent::onMount(%this,%obj,%col,%slot);
      if(%col.getDataBlock() == TankVehicle.getId())
      {
         if(%slot $= 2)
         {
            %obj.setLookLimits(1,0);
         }
      }
      else if(%col.getDataBlock() == TankTurretPlayer.getId())
      {
         %client = %obj.client;
         if(isObject(%client))
            ServerCmdUnUseTool(%client);
      }
   }

894
Off Topic / Re: POLITICS & DONALD Annoying Orange MEGATHREAD
« on: December 09, 2017, 09:35:05 AM »
Why don't we just force poor people to walk on power-generating hamster wheels forever

895
Actually it might not be that hard, I could just set the look limits over time instead of snapping them. I'll forget with that too



It works! Kinda. Have to fine tune it

Is the head able to move to the side?

If I'm able to directly set values for freelooking I don't see why not. As a matter of fact that would be very useful because it would give me another axis to animate the skateboard on

Dunno tho I'll have to look into it

896
Add-Ons / Re: [Vehicle] Technical / Heavy Machine Gun
« on: December 09, 2017, 07:20:55 AM »
I've sorta hit a roadblock which has killed my progress on the project but eventually I might revert to an old version and make more guns, currently busy with another project tho

897
Isn't there a way to clean it up? Because that feature would be incredibly useful for bot vehicles.

Probably, but it's over my head. What it's doing right now is just firing a raycast down, and when it hits a brick it just gets the normal of the face it hit, and then calculates it with that.

I could probably interpolate it based on how diagonal we are to the x and y axis though, I was loving with it earlier

EDIT: Actually it might not be that hard, I could just set the look limits over time instead of snapping them. I'll forget with that too

can you clarify how you know what limits to set, as the limits would change based on direction you’re facing? are you comparing normal of face you’re on to your eye?

I'm using the transform of the skateboard, getting the rotation on the Z axis, and using that to identify whether or not I'm using the x or y Euler angle I got from the normal. For example, if Z rotation is between -45 and -135, or between 135 and 45, I know it's on the X axis, and then I can just flip it based on whether or not the angle is negative.

Taking that angle and turning it into a look limit is just dividing by 180 and adding 0.5. So if we're on a ramp that's 45 degrees, 45/180 + 0.5 = 0.75, so I set the look limits to 0.75 + 0.05, 0.75 - 0.05. If I need to flip it because we're facing in the negative direction, I just take 0.75 and subtract it by 1.



It's not the most elegant thing that's ever been done in Blockland but I could probably make it a bit smoother

898
Off Topic / Re: POLITICS & DONALD Annoying Orange MEGATHREAD
« on: December 08, 2017, 06:55:01 PM »
who the forget dies in working solar

Ever played Fallout New Vegas?

899


Update: It's actually not that hard to get the angle of the ramp we're on. Once I've got it I can manually change the angle of the skateboard using setLookLimits.

This is the result:


I don't think it's too bad but it requires a bunch of handicapped schedule spam and my trademarked Rally Dumbass Vector Calculus™ so I'll probably include a pref to disable the stuff and just go back to the old version

900
https://blocklandglass.com/addons/addon.php?id=707

Awesome, I'll take a look

EDIT: Yeah it's totally possible actually, but it'll be difficult to add liveries to the skateboard after it's made from what I can tell, so if you want a design for the board y'all should post them in this thread now

Pages: 1 ... 55 56 57 58 59 [60] 61 62 63 64 65 ... 534