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

Pages: 1 2 [3] 4 5 6 7 8 ... 33
31
Modification Help / Re: noShootCrouch package problem
« on: May 08, 2019, 07:52:25 PM »
Thanks guys! I'm so glad

32
Modification Help / noShootCrouch package problem
« on: May 08, 2019, 04:56:02 AM »

I found out that the code that $trinick made for me a long time ago activated on any player in my server, so I tried to make it work only for my playertype :
Code: [Select]
package noShootCrouch
{
    function Armor::onTrigger(%db, %this, %slot, %pos)
{
        if(%slot == 3 && isObject(%this.getMountedImage(%pos?0:2)) )
{
if(%this.getName() $= "BlockSoldierArmor" || %this.getName() $= "BlockSoldierSArmor") //<-- this is the line I added
{
%this.mountImage(%this.getMountedImage(%pos?0:2), %pos*2);
%this.unMountImage(%pos?0:2);
}
}
        parent::onTrigger(%db, %this, %slot, %pos);
    }
};
activatePackage(noShootCrouch);
but it seems not working,it looks like the game thinks i'm using the wrong playertype,
 %this is the player datablock, am i right?
What should I do for making it work only with my shooter playertype? thanks

33
Suggestions & Requests / Re: Bot StopFollowPlayer Event
« on: May 02, 2019, 02:32:20 PM »
I have a different question:
could it be possible to make a script that does that the bots won't be too close to the player they follow?

34
Add-Ons / Re: Bot_Elephant
« on: April 24, 2019, 01:44:53 AM »
Thank you all.
sry i never got around to testing, but the code looked fine when i glanced over it! glad to see such a high quality addon <3
Thank you! and It's allright
Does it make random sounds without jump key
Yes, unlike the dinos i made.
you should make it so the elephant just passively makes random sounds rather than on command. it'd be annoying to have an elephant noise every time i reload my ak47. and maybe parent /alarm so instead of your usual alarm sound it plays the elephant noise
Isn't the reload uses the 'light' key?  anyways the elephant can't hold any weapon except his own weapon (Weapon_TuskAttack.cs), so you can't use youre ak47 or anything when you play as elephant. and if you ment that he will do sound when you ride on him, then it won't happen and that's because the 'jet' key is for 'leave vehicle'.
loving awesome although you theres some weird clicking noise at the start of all the audio, you should open them in like audacity and remove them

woah havn't recognized that, thanks.
EDIT: Fixed.
@op, where did you get the decals?
I made them. the shirt decals actually from my Jurassic Park Pack:

http://www.mediafire.com/file/9vudlxol8b2bb1x/Decal_JurassicParkCharacters.zip/file
I haven't public the face decal yet. maybe I should make johnny thunder shirt decal and then public both..

35
Add-Ons / Bot_Elephant
« on: April 22, 2019, 03:53:37 PM »
Bot_Elephant

Abilities:
*Is rideable.
*Can attack.
*Does random sounds (Press the 'jet' key for doing sounds).


Download:
http://www.mediafire.com/file/bxg5qa1hbujnbuv/Bot_Elephant.zip/file

Have fun kiddies

36
Suggestions & Requests / Large lego stone bricks
« on: April 21, 2019, 02:30:11 AM »
those two:


Are those bricks exist? Can I have a worked link for them?
I guess it's not worth it to make them because I can build them by myself...

37
Creativity / Re: The new and improved 3D model topic!
« on: April 20, 2019, 05:39:55 PM »
forgot to post this here yesterday;
https://skfb.ly/6JGSV

(click to see full 4k render)
Looks fantastic

38
Creativity / Re: The new and improved 3D model topic!
« on: April 18, 2019, 02:02:16 PM »
i feel like just bring the bottom of the belly down a few units and you're good. eg make him a tad fatter (belly-wise)

How about that?
while we are sharing lego 3d models here is mine i made in the first year of college
Looks great

39
Creativity / Re: The new and improved 3D model topic!
« on: April 18, 2019, 09:19:13 AM »
It's funny cause I used that picture exactly to model my elephant

Should he be fatter?

40
Creativity / Re: The new and improved 3D model topic!
« on: April 18, 2019, 08:21:46 AM »

Not sure if it looks good enough
if you think that there's something is missing or should be fixed, then tell me, I'll try to fix it.

EDIT:

Is that thin enough?

41
Creativity / Re: The new and improved 3D model topic!
« on: April 17, 2019, 05:51:43 PM »

WIP

42
Suggestions & Requests / Re: scripts for bots and playertypes
« on: April 06, 2019, 03:11:08 PM »
Never mind, I figured it out by myself..

43
Suggestions & Requests / Re: scripts for bots and playertypes
« on: March 23, 2019, 03:51:08 PM »
Quote
could try looking at the rampage gamemode or the endlesszombie gamemode
Thanks.
I found a way to make some player types to do special footsteps sound, but I can't find a way to make it work with bots.
I was playing around with the NewEffects Addon:
Code: [Select]
package Dinofootstep
{
function gameConnection::spawnPlayer(%this,%data,%player,%slot,%io, %obj)
{
parent::spawnPlayer(%this);
%this.player.oldDatablock = %this.player.getDatablock();
if(%this.player.oldDatablock == BrachiosaurusJPHoleBot.getID() || %this.player.oldDatablock == IndominusRexHoleBot.getID() || %this.player.oldDatablock == SpinosaurusHoleBot.getID() || %this.player.oldDatablock == TyrannosaurusRexHoleBot.getID())
%this.player.DinofootLoop();
}
function Armor::onNewDataBlock(%this, %obj)
{
Parent::onNewDataBlock(%this, %obj);
%obj.updateDinofootsteps = %obj.schedule(0, "updateDinofootsteps");
}
function Player::updateDinofootsteps(%this, %lastVert)
{
cancel(%this.updateDinofootsteps);

  if (%this.getState() $= "Dead")
  {
  return;
  }

%velocity = %this.getVelocity();

%vert = getWord(%velocity, 2);
%horiz = vectorLen(setWord(%velocity, 2, 0));

if (%lastVert < $Dinofootsteps_MIN_LANDING && %vert >= 0)
{
%this.getDataBlock().onLand(%this);
}

%this.updateDinofootsteps = %this.schedule(32, "updateDinofootsteps", %vert);
}

function player::DinofootLoop(%this)
{
//echo("DinofootLoop WOOOOO!@#@#$@#4");
if($Dinofootsteps)
{
%pos = getWords(%this.getPosition(), 0, 1);
if(%this.f_lastPos $= getWords(%this.getPosition(), 0, 1) || %this.crouch || !%this.isOnGround())
{
//echo("same position");
//do nothing!
}
else if(!%this.isMounted())
{
//echo("diff position");
if(makePositive(getWord(%this.getVelocity(),0)) < 8 && makePositive(getWord(%this.getVelocity(),1)) < 8)
{
%this.playDinofootstep(1);
}
else
{
%this.playDinofootstep(2);
}

%this.f_lastPos = getWords(%this.getPosition(), 0, 1);
}
//echo("@#@#$@#%@#$@#$NUMBER 2");
%this.schedule(870, DinofootLoop);

//windNoiseLoop(%this);
}
}
How should the code look when I do the same for bots? thanks

44
Suggestions & Requests / scripts for bots and playertypes
« on: March 21, 2019, 04:02:54 AM »
a script for a playertype that do (a specific)  sound loop when walking
also how to do a code that when a bot is following his enemy and somehow stuck because a brick is in his way to his enemy, will fake kill it or try to move right or left.
Thank you

45
Add-Ons / Re: Inflatable Boat
« on: December 25, 2018, 04:35:15 PM »
Conan's really been pumping things out recently. Keep it up, buddy!

Pages: 1 2 [3] 4 5 6 7 8 ... 33