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

Pages: 1 2 [3] 4 5 6 7 8 ... 42
31
Creativity / Re: Watch me model for Blockland!
« on: April 25, 2014, 12:13:31 AM »
Aw it's offline.  I'll come and watch if I see this online again.

32
Modification Help / Re: Please don't name your Add-Ons ambiguously.
« on: April 25, 2014, 12:12:03 AM »
I try to stick "DG" in there somewhere if I've seen something similar to my mod before.

33
Modification Help / Server_VIPMOD
« on: April 25, 2014, 12:09:33 AM »
Ow.  My eyes hurt and I need to sleep.  Stayed up till one last night and got up at six.............

I made a VIP mod.  I'm not the first I don't think...  Anyhoe I did it in one sitting and the initial test worked out fine.  I thought I'd release it here to see if there are any glaring mistakes I've made.  Any ways to glitch it up.

Eeeh, here are the commands involved.

/makevip targetname auto targetblid
/removevip target removeauto targetblid
/addvip blid

makevip(%clientnum,%auto)
removevip(%clientnum, %auto, %clientblid)
addvip(%blid)

Output -> ifVIP
Input -> onVIPTrue
Input -> onVIPFalse

You only need the target or the targetblid.  But both is fine.
Auto defaults to 1.
The events are stolen from an early version of VCE.

Here's a link to mediafire. link
Or you can download it as an attachment if you don't wanna bother with teh zips.

34
Add-Ons / Brick_ModTer_RoadsPackFlat
« on: April 24, 2014, 07:34:29 PM »
[GSF]Ghost had a link up for some modter roads pack at some point.  I needed some flat ones that matched, so I made some.



These don't meet my quality standards, but they'll do in a pinch.  Download em if you were going to make em yourself.

http://www.mediafire.com/download/x9a8febna1dc1bl/Brick_ModTer_RoadsPackFlat.zip

35
Add-Ons / Re: Dueling Weapons - [Going into Hiatus!]
« on: April 24, 2014, 09:18:34 AM »
Version, Crystal Warrior
It's just what shows up in the chat.  I figured the add-on creator would know what it meant. :o

Download V:CW Glove Hands

36
Help / Re: Could not join my sever
« on: April 20, 2014, 12:05:43 PM »
Usually you can just rejoin to get past that. If it keeps happening you should get a console.log from your friend and from the server, and then post them here.

37
Add-Ons / Script_CheckForAdmins
« on: April 20, 2014, 11:52:29 AM »
A simple server-sided script which tells your clients how many admins are online when they first join the server.  For those who are too lazy to hit F2.

Use /checkforadmins to check manually.

http://www.mediafire.com/download/ls7980aa3s89lsp/Script_CheckForAdmins.zip

38
Modification Help / Re: Gamepad Support
« on: April 18, 2014, 01:25:02 PM »
I made a slightly more advanced version that uses the "Start" button to switch to build mode.

Code: [Select]
LSTICK
MOVE
LT
SHIFTBRICKDOWN 1
RT
SHIFTBRICKUP 1
Z
TOGGLESUPERSHIFT
Y
ROTATEBRICKCCW
X
ROTATEBRICKCW
A
PLACEBRICK
B
UNDOBRICK
CSTICK
MOVEBRICKAWAY
MOVEBRICKRIGHT
MOVEBRICKTOWARDS
MOVEBRICKLEFT
HATU
MOVEBRICKUP 1/3
HATD
MOVEBRICKDOWN 1/3
HATL
SCROLLDOWN
HATR
SCROLLUP
START
TOGGLEBUILDCONTROLS

I tried making another version that allows for mouse movement.  But the mouse kept snapping back to its original position and I don't know enough about how the gui system works to go any further.

39
Modification Help / Re: Gamepad Support
« on: April 17, 2014, 08:38:30 AM »
You're using a USB-modded GC controller, I assume?
Yeah. :)

I was assuming the Z axis would be LT/RT, but nothing responded to them.

EDIT: Deadzones would be great
In my setup LT would be "dial" and RT would be "slider".  But BL doesn't seem to recognize the dial bit and treats them both as a single slider.  So I can't really use either.

40
Modification Help / Gamepad Support
« on: April 17, 2014, 12:21:07 AM »
Hey I got my Gamecube controller working in Blockland.


I couldn't find many resources here on the forums.  So I think this will help the next guy along.

Here’s the script I used.
Code: (base/joysticksetup2.cs) [Select]
enablejoystick();

function joyyaw(%nums)
{
$joyyaw = %nums;
}

function joypitch(%nums)
{
$joypitch = %nums;
}

function joy2yaw(%nums)
{
$joy2yaw = %nums;
}

function joy2pitch(%nums)
{
$joy2pitch = %nums;
}

function joyjump(%val)
{
jump(%val);
}

function joytogglefirstperson(%val)
{
togglefirstperson(%val);
}

function joyjet(%val)
{
jet(%val);
}

function joymousefire(%val)
{
mousefire(%val);
}

function joycrouch(%val)
{
crouch(%val);
}

function joyzoom(%val)
{
togglezoom(%val);
}

function joyusetools(%val)
{
usetools(%val);
}

function joyinvup(%val)
{
invup(%val);
}

function joyinvdown(%val)
{
invdown(%val);
}
function joylight(%val)
{
useLight(%val);
}
function joyusepaintcan(%val)
{
useSprayCan(%val);
}
function joytogglebuildmode(%val)
{
if(%val==1)
{
if($joybuildmode==1)
{
$joybuildmode = 0;
}
else
{
$joybuildmode = 1;
}
}
echo($joybuildmode);
}

$joyyaw = 0;
$joypitch = 0;
$joy2yaw = 0;
$joy2pitch = 0;
$joyjet = 0;
function joyloop(%xhist,%xhistm,%yhist,%yhistm,%shist)
{
%xhistspeed = getword(%xhist,0)+getword(%xhist,1)+getword(%xhist,2)+getword(%xhist,3)+getword(%xhist,4)+0.162;
%xhistmspeed = getword(%xhistm,0)+getword(%xhistm,1)+getword(%xhistm,2)+getword(%xhistm,3)+getword(%xhistm,4)+0.162;
%yhistspeed = getword(%yhist,0)+getword(%yhist,1)+getword(%yhist,2)+getword(%yhist,3)+getword(%yhist,4)+0.162;
%yhistmspeed = getword(%yhistm,0)+getword(%yhistm,1)+getword(%yhistm,2)+getword(%yhistm,3)+getword(%yhistm,4)+0.162;
%shistspeed = getword(%shist,0)+getword(%shist,1)+getword(%shist,2)+getword(%shist,3)+getword(%shist,4)+0.162;
%xaxis=$joyyaw;
%yaxis=$joypitch;
%rxaxis=$joy2yaw;
%ryaxis=$joy2pitch;
%slider = $joyslider;

%xspeed = %xaxis*5.4;
%yspeed = %yaxis*5.4;
%sspeed = %slider*5.4;
%xadd = (mAbs(%xspeed)*0.08)*mAbs(%yspeed);
%yadd = (mAbs(%yspeed)*0.08)*mAbs(%xspeed);
if(%xspeed>0)
{
if(%xhistspeed>mAbs(%xspeed)+%xadd)
{
if(getWord(%xhist,4)==1)
{
moveright(0);
}
%xhist = getword(%xhist,1) SPC getword(%xhist,2) SPC getword(%xhist,3) SPC getword(%xhist,4) SPC 0;
}
else
{
moveright(1);
%xhist = getword(%xhist,1) SPC getword(%xhist,2) SPC getword(%xhist,3) SPC getword(%xhist,4) SPC 1;
}
if(getWord(%xhistm,4)==1)
{
moveleft(0);
}
}
else
{
if(%xhistmspeed>mAbs(%xspeed)+%xadd)
{
if(getWord(%xhistm,4)==1)
{
moveleft(0);
}
%xhistm = getword(%xhistm,1) SPC getword(%xhistm,2) SPC getword(%xhistm,3) SPC getword(%xhistm,4) SPC 0;
}
else
{
moveleft(1);
%xhistm = getword(%xhistm,1) SPC getword(%xhistm,2) SPC getword(%xhistm,3) SPC getword(%xhistm,4) SPC 1;
}
if(getWord(%xhist,4)==1)
{
moveright(0);
}
}

if(%yspeed>0)
{
if(%yhistspeed>mAbs(%yspeed)+%yadd)
{
if(getWord(%yhist,4)==1)
{
movebackward(0);
}
%yhist = getword(%yhist,1) SPC getword(%yhist,2) SPC getword(%yhist,3) SPC getword(%yhist,4) SPC 0;
}
else
{
movebackward(1);
%yhist = getword(%yhist,1) SPC getword(%yhist,2) SPC getword(%yhist,3) SPC getword(%yhist,4) SPC 1;
}
if(getWord(%yhistm,4)==1)
{
moveforward(0);
}
}
else
{
if(%yhistmspeed>mAbs(%yspeed)+%yadd)
{
if(getWord(%yhistm,4)==1)
{
moveforward(0);
}
%yhistm = getword(%yhistm,1) SPC getword(%yhistm,2) SPC getword(%yhistm,3) SPC getword(%yhistm,4) SPC 0;
}
else
{
moveforward(1);
%yhistm = getword(%yhistm,1) SPC getword(%yhistm,2) SPC getword(%yhistm,3) SPC getword(%yhistm,4) SPC 1;
}
if(getWord(%yhist,4)==1)
{
movebackward(0);
}
}
//I have two sliders and they fight.  so i can't use em for jets.
//if(%shistspeed>mAbs(%sspeed))
//{
// if(getWord(%shist,4)==1)
// {
// jet(0);
// }
// %shist = getword(%shist,1) SPC getword(%shist,2) SPC getword(%shist,3) SPC getword(%shist,4) SPC 0;
//}
//else
//{
// jet(1);
// %shist = getword(%shist,1) SPC getword(%shist,2) SPC getword(%shist,3) SPC getword(%shist,4) SPC 1;
//}
%shist = "";

if(%rxaxis>0.08||%rxaxis<-0.08)
{
yaw(%rxaxis*20);
}
if(%ryaxis>0.08||%ryaxis<-0.08)
{
pitch(%ryaxis*20);
}
schedule(33,0,"joyloop",%xhist,%xhistm,%yhist,%yhistm,%shist);
}

if($joylooped<1)
{
$joylooped = 1;
joyloop();
}

movemap.bind(joystick0,"xaxis",joyyaw);
movemap.bind(joystick0,"yaxis",joypitch);
movemap.bind(joystick0,"zaxis",joy2yaw);
movemap.bind(joystick0,"rzaxis",joy2pitch);
movemap.bind(joystick0,"button6",joytogglefirstperson);
movemap.bind(joystick0,"button0",joyjump);
movemap.bind(joystick0,"button5",joyjet);
movemap.bind(joystick0,"button1",joymousefire);
movemap.bind(joystick0,"button4",joycrouch);
movemap.bind(joystick0,"button11",joytogglebuildmode);
movemap.bind(joystick0,"button10",joylight);
movemap.bind(joystick0,"button9",joyinvup);
movemap.bind(joystick0,"button8",joyinvdown);
movemap.bind(joystick0,"button2",joyusetools);
movemap.bind(joystick0,"button3",joyusepaintcan);
movemap.bind(joystick0,"button7",joyzoom);
//movemap.bind(joystick0,"slider",joyjet);

I had to use a loop to get the joysticks working properly.(The sticks only send information while they are actively moving.)  The problem with the loop is that it causes a TON of console spam if you run a trace with this script running.
So if anyone knows a way around using spammy loops for this I’d be very interested to know it.


These were useful:
http://legendsthegame.net/community/doku.php?id=client_setup:keybinds
http://bldocs.nullable.se/html/class_client_1_1_action_map.html
http://forum.blockland.us/index.php?topic=18143.0

41
Off Topic / If a train leaves a station...
« on: March 28, 2014, 10:28:23 AM »
A freight train leaves a station at 3:00 travelling at 30mph. A passenger train leaves the station at 4:00 traveling at 50 mph.  At what time will the passenger train pass the freight train? (Or smash into it, if that's how your imagination works in this particular scenario.)

42
General Discussion / Re: --Would you accept money for projects?
« on: March 26, 2014, 10:27:54 PM »
I like that idea.  It gives the older Blocklanders something to do once they've run out of ideas.

43
General Discussion / Tendon's Server [WL]
« on: March 26, 2014, 05:52:21 PM »


Hello.  I made a building server with (almost only)default add-ons.  It is whitelisted.

Add-Ons
Event_onItemPickup
Event_setBrickOwnship
Event_ShiftEventEnabled
Script_NoJetPackage
Script_ReColorNames
Server_Penguin
Support_DG_DediLoader

More Add-On Info
I wanted to try building without jets.  So that's what the nojetpackage does.  It can easily be circumvented via a minigame or just changing your datablock.
The Penguin mod is what does the whitelisting.  Using it I can add or remove people in real time.  Or even blacklist them if I'm sure I don't want them to join.
The other ones you can just click on to find out what they do.

Picture Types
This is what the server looks like as of 4:28 PM 3/26/14.


Joining
If you'd like to join just look for Tendon's Server [WL] on the server list.  Join it and the server will kick you out and give you a link to the application.

This server has been up since the beginning of February, and I plan to keep it up for a long time to come.

Let me know if any of this information is inaccurate.

44
Add-Ons / Re: Event_setInvincible & Event_setCantDamage
« on: March 26, 2014, 02:45:07 PM »

45
Add-Ons / Re: Event_setInvincible & Event_setCantDamage
« on: March 26, 2014, 08:27:04 AM »
SetCanDamage sounds less odd and fits with other names better. Just negate the boolean.
After careful consideration I feel setCantDamage is a better option.  If anyone want's to make it setCanDamage, feel free to release it as such.  Everything on BL is open source anyway.

Thanks for the poke though.  I had a few typos in the description and server.cs I needed to fix. link updated

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