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.


Topics - TechWarroir

Pages: [1]
1
Suggestions & Requests / Server brick efficiency
« on: March 18, 2008, 10:03:25 PM »
I ran into a problem recently that brought my building grinding to a hault. I went over the brick limit and after doing some searching i found why. Now i think i might have a way to fix the problem. The problem is that if badspot were to increase the bits so we can have more bricks it would also increase load time, and if you go to over 1mill bricks like i intend to do the load time will be huge. To solve this my idea is to prompt the clients as they enter a server asking them if they would like to automatically save the bricks from the server to there computers for faster loading next time they join. Then as they play on the server and build, everything is saved to a file on there computer. Then when they leave, the server will keep a record of what changes while they are gone and then next time they join the server will only have to send them what has changed while they were gone. Though i do know this would put a load on the servers, i kinda mean this more as an idea for dedicated servers that should have the power to spare. To cut down on memory use maybe allow the server to clear data its holding for clients that have not joined for a set amount of time.

BTW badspot can you put the brick limit as high as you can like maybe a few million bricks or so. i mean i paid money for a game i could build in and now i cant build because there is a limit. dont forget computers are getting better and better every day and i can get over 100,000 bricks on screen at once with no lag on a slow old computer.

2
Modification Help / Dedicated Server
« on: March 12, 2008, 03:35:29 PM »
Ok long story short i am running a dedicated server and i have a program that will restart it every night at midnight and can type commands into the dedicated servers window to. I need a script or command that will save everything on the server to a file (any file) and then a command to load it all back into the server after it restarts. I have searched for 2 hours now on the forums for any such command and i have found none that work i need it badly though.

Thanks in advance.

3
Suggestions & Requests / Save list
« on: February 28, 2008, 11:44:06 PM »
Ok i was hosting a server a while ago and when i got ready to close it for the day i realized that when i save that everything in the server will be saved including all the random crap people came in a build and left. So i was wondering if its posible to make a list of peoples to keep builds from so when we save it only saves bricks from people on that list and does not save all the useless stuff that people came and built and left. That way we could open servers and let noobs in and not have to worry about what they build and leave behind.

Edit: After an hour of work and a fresh instal of blockland i got my player list working right. lol I could never get it to let me clear bricks of people that left the server no idea why but i thought that you could not since mine never worked lol.

4
Clan Discussion / Galtech Industries Server Info
« on: February 22, 2008, 06:11:38 PM »
Server Name: Galtech Industries (Gtech for short)
Build Type: Detailed City Build
Dedicated: Yes
Status: Closed for updates
Blockland Version: v8

* Organized, Pre-Planned Building

* Star Wars Tall Skyscrapers

* Server shut down once a month for maintenance


Now to elaborate on the way things will work, as i said things will be more organized and planned out before building. We would start by asking everyone what they would like to build, then put together groups of people and we will have one person incharge of the construction of the project.  The project by the way will be big it will not be a one day job it will take a while i would like to see full sized structures. For example if we decide to build a stadium i would like to see a jaw droping olympic stadium like stcrucure not a tiny little square with a few chairs lol. So please post now what project you would like to be part of.

Server Rules.
Most of these rules are all common sense but for those who dont have any i will list them.
No Profanity - If its not allowed on public TV its not allowed in my server.
No Put downs - You can joke around with friends but no picking on people you dont know.
No complaining about the music - You will see what i mean when you join. No one is forcing you to join.
No asking for admin, superadmin.
Basicly use good judgment and common sense.
Also i will be enforcing the rules using kick or ban if necessary. Cussing is most likely to get you kicked if you do not stop then a ban will be issued. I will not ban for no reson if i ban you and you think its unfail please PM me.

Password: GTINDN
To join the server you will need to download the attached file GTI Bricks. Download it and change the file extention to zip then extract it.

At the moment i'm not ready to open the server for full building. If you want to come in and have a look around or build a prototype of your build be my geust. I do not plan to open it till after v9 because i need its features and because i need a bit more time to get other stuff ready. Also i restart the server every once and a while to make changes and other stuff so be ready to leave at any time so i can make it as quick as posible. Dont worry about your builds because i save every time before i restart. Just make shure i can find your block otherwise they may not be saved.

To join and be part of a project i would like to know how well you can build, so to find out i would like to se some stuff you have built. Build anything just build somthing and post pics of it here because my server is to full at the moment. Make sure its good and that its able to be made life size once we start to build the real thing.

Here is a list of what i have already made in the city:
Cityhall
Company H.Q.
Airport
Arena (Need a better one)

Here is a list of SOME of the buildings i would like to add to the city:
Hospital
Police Station
Fire Station
Stadium
Theater
Schools
Power Plant
Water Plant
Park
FBI H.Q.
Waste Dump
Library
Phone Office
NASA
Pool
Gymnasium
Misc. Super Tall Sky Scrapers

Businesses to build:
Arcade
Grocery Store
Bowling Alley
Artillery Store
Theater
Zoo

BTW i am open to ideas. But keep them clean. *cough* tails *cough*

5
Suggestions & Requests / Real Sound
« on: February 09, 2008, 03:59:11 PM »
Who wants real sound that fills a room like it would in real life. The current sound goes right through bricks and makes it very cheesy when you have a skyscraper and the sound from the 6th floor goes to the first floor lol. It would realy help if sound was stoped by bricks and doors like JVS doors. Plus it 's hard to make a stadium with music and the music only coves 1/10th of the stadium. Would it be posible for us to set a number on the music brick that changes the range of the sound and the volume.

6
Suggestions & Requests / DTB
« on: November 24, 2007, 03:58:42 PM »
Does anyone here remember this.
http://video.google.com/videoplay?docid=-6823491646853599809

Can anyone here port the weapons from DTB to retail they are almost all open source so it should not be a problem. The TBM site has gone down so i will add a link to it later but for now i thought it would be cool to post the video. Also is there anyone here that can make a system of doors and teleporters that are compatible with Team Deathmatch v4.0 so we can have doors and teleporters that work only for team members.

Also this is a good example of why i want the editor wand back.
http://video.google.com/videoplay?docid=-1380992516914476764

If you dont like the editor wand for whatever handicapped reason i dont give a #%$* you dont have to use it but some people do like it i mainly like the one from TBM and the stuff about the engine ill have to see it to belive it. So far it looks more like you guys that say the engine cant do it are full of hot air. You show me and ill quit asking about it but until then im going to be asking.

7
Modification Help / Gun wont work
« on: November 13, 2007, 07:05:03 PM »
I have been working on a server for a while now a DM server and 1 of my top priorities is getting a weapon ammo system in place and so far iv been doing well but i cant get 2 of the weapons to work with the system no matter what i do iv pasted the files bellow if someone could find the problem and explain what i did wrong that would be a big help.

The 1st gun is the autoLaser:

//LaserAutoRifle.cs
//based off of gun, edited to rapid fire and spread
//green version
//after 17 edits it was done, thusly it is the ALR-17G

exec("Add-Ons/Resource_Lasers.code");

//bullet trail effects
datablock ParticleData(autolaserTrailParticle)
{
   dragCoefficient      = 3;
   gravityCoefficient   = -0.0;
   inheritedVelFactor   = 1.0;
   constantAcceleration = 0.0;
   lifetimeMS           = 1000;
   lifetimeVarianceMS   = 25;
   textureName          = "base/data/particles/dot";
   spinSpeed      = 10.0;
   spinRandomMin      = -500.0;
   spinRandomMax      = 500.0;
   colors[0]     = "0.0 0.8 0.0 0.4";
   colors[1]     = "0.0 0.9 0.0 0.0";
   sizes[0]      = 0.15;
   sizes[1]      = 0.25;

   useInvAlpha = false;
};
datablock ParticleEmitterData(autolaserTrailEmitter)
{
   ejectionPeriodMS = 0.01;
   periodVarianceMS = 0;
   ejectionVelocity = 0.0;
   velocityVariance = 0.0;
   ejectionOffset   = 0.0;
   thetaMin         = 0;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = "autolaserTrailParticle";
};

datablock ExplosionData(autoLaserExplosion)
{
   //explosionShape = "";
   soundProfile = laserHitSound;

   lifeTimeMS = 150;

   particleEmitter = LaserExplosionEmitter;
   particleDensity = 10;
   particleRadius = 0.2;

   faceViewer     = true;
   explosionScale = "1 1 1";

   shakeCamera = false;
   camShakeFreq = "10.0 11.0 10.0";
   camShakeAmp = "1.0 1.0 1.0";
   camShakeDuration = 0.5;
   camShakeRadius = 10.0;

   // Dynamic light
   lightStartRadius = 0;
   lightEndRadius = 2;
   lightStartColor = "0.0 0.9 0.0";
   lightEndColor = "0 0 0";
};


AddDamageType("autoLaser",   '<bitmap:add-ons/ci/autoLaser> %1',    '%2 <bitmap:add-ons/ci/autoLaser> %1',0.5,1);
datablock ProjectileData(autoLaserProjectile)
{
   projectileShapeName = "base/data/shapes/empty.dts";
   directDamage        = 10;
   directDamageType    = $DamageType::autoLaser;
   radiusDamageType    = $DamageType::autoLaser;

   brickExplosionRadius = 0;
   brickExplosionImpact = true;          //destroy a brick if we hit it directly?
   brickExplosionForce  = 10;
   brickExplosionMaxVolume = 3;          //max volume of bricks that we can destroy
   brickExplosionMaxVolumeFloati ng = 6;  //max volume of bricks that we can destroy if they aren't connected to the ground

   impactImpulse        = 200;
   verticalImpulse     = 200;
   explosion           = autoLaserExplosion;
   particleEmitter     = autolaserTrailEmitter;

   muzzleVelocity      = 60;
   velInheritFactor    = 1;

   armingDelay         = 00;
   lifetime            = 4000;
   fadeDelay           = 3500;
   bounceElasticity    = 0.5;
   bounceFriction      = 0.20;
   isBallistic         = false;
   gravityMod = 0.0;

   hasLight    = True;
   lightRadius = 6.0;
   lightColor  = "0.0 0.9 0.0";
};

//////////
// item //
//////////
datablock ItemData(autoLaserItem)
{
   category = "Weapon";  // Mission editor category
   className = "Weapon"; // For inventory system

    // Basic Item Properties
   shapeFile = "./shapes/LaserAssaultRifle.dts";
   rotate = false;
   mass = 1;
   density = 0.2;
   elasticity = 0.2;
   friction = 0.6;
   emap = true;

   //gui stuff
   uiName = "ALR-17G";
   iconName = "./ItemIcons/LaserAutoRifle";
   doColorShift = true;
   colorShiftColor = "1.0 1.0 1.0 1.000";

    // Dynamic properties defined by the scripts
   image = autoLaserImage;
   canDrop = true;
};

////////////////
//weapon image//
////////////////
datablock ShapeBaseImageData(autoLaserImage)
{
   // Basic Item properties
   shapeFile = "./shapes/laserAssaultRifle.dts";
   emap = true;

   // Specify mount point & offset for 3rd person, and eye offset
   // for first person rendering.
   mountPoint = 0;
   offset = "0 0 0";
   eyeOffset = 0; //"0.7 1.2 -0.5";
   rotation = eulerToMatrix( "0 0 0" );

   // When firing from a point offset from the eye, muzzle correction
   // will adjust the muzzle vector to point to the eye LOS point.
   // Since this weapon doesn't actually fire from the muzzle point,
   // we need to turn this off. 
   correctMuzzleVector = true;

   // Add the WeaponImage namespace as a parent, WeaponImage namespace
   // provides some hooks into the inventory system.
   className = "WeaponImage";

   // Projectile && Ammo.
   item = BowItem;
   ammo = " ";
   projectile = autoLaserProjectile;
   projectileType = Projectile;

   casing = autoLaserShellDebris;
   shellExitDir        = "1.0 -1.3 1.0";
   shellExitOffset     = "0 0 0";
   shellExitVariance   = 15.0;   
   shellVelocity       = 7.0;

   //melee particles shoot from eye node for consistancy
   melee = false;
   //raise your arm up or not
   armReady = true;

   doColorShift = true;
   colorShiftColor = autoLaserItem.colorShiftColor;//"0 0.5 0 1.000";

   //casing = " ";

   // Images have a state system which controls how the animations
   // are run, which sounds are played, script callbacks, etc. This
   // state system is downloaded to the client so that clients can
   // predict state changes and animate accordingly.  The following
   // system supports basic ready->fire->reload transitions as
   // well as a no-ammo->dryfire idle state.

   // Initial start up state
   stateName[0]                     = "Activate";
   stateTimeoutValue[0]             = 0.05;
   stateTransitionOnTimeout[0]       = "Ready";
   stateSound[0]               = weaponSwitchSound;

   stateName[1]                     = "Ready";
   stateTransitionOnTriggerDown[1]  = "Fire";
   stateAllowImageChange[1]         = true;
   stateSequence[1]   = "Ready";

   stateName[2]                    = "Fire";
   stateTransitionOnTimeout[2]     = "Smoke";
   stateTimeoutValue[2]            = 0.05;
   stateFire[2]                    = true;
   stateAllowImageChange[2]        = false;
   stateSequence[2]                = "Fire";
   stateScript[2]                  = "onFire";
   stateWaitForTimeout[2]         = true;
   stateEmitterTime[2]            = 0.05;
   stateEmitterNode[2]            = "muzzleNode";
   stateSound[2]               = LaserShotSound;
   stateEjectShell[2]       = true;

   stateName[3] = "Smoke";
   stateEmitterTime[3]            = 0.05;
   stateEmitterNode[3]            = "muzzleNode";
   stateTimeoutValue[3]            = 0.05;
   stateTransitionOnTimeout[3]     = "Ready";

   stateName[4]         = "Ready";
   stateSequence[4]                = "Ready";
   stateTransitionOnTriggerUp[4]     = "Ready";
   stateSequence[4]   = "Ready";

};

function autolaserImage::onFire(%this,%obj,%slot)
{
   %projectile = %this.projectile;
   %spread = 0.0025;
   %shellcount = 1;

   for(%shell=0; %shell<%shellcount; %shell++)
   {
      %vector = %obj.getMuzzleVector(%slot);
      %objectVelocity = %obj.getVelocity();
      %vector1 = VectorScale(%vector, %projectile.muzzleVelocity);
      %vector2 = VectorScale(%objectVelocity, %projectile.velInheritFactor);
      %velocity = VectorAdd(%vector1,%vector2);
      %x = (getRandom() - 0.5) * 10 * 3.1415926 * %spread;
      %y = (getRandom() - 0.5) * 10 * 3.1415926 * %spread;
      %z = (getRandom() - 0.5) * 10 * 3.1415926 * %spread;
      %mat = MatrixCreateFromEuler(%x @ " " @ %y @ " " @ %z);
      %velocity = MatrixMulVector(%mat, %velocity);

      %p = new (%this.projectileType)()
      {
         dataBlock = %projectile;
         initialVelocity = %velocity;
         initialPosition = %obj.getMuzzlePoint(%slot);
         sourceObject = %obj;
         sourceSlot = %slot;
         client = %obj.client;
      };
      MissionCleanup.add(%p);
   }
   return %p;
}

8
Modification Help / switches
« on: March 11, 2007, 09:24:47 PM »
If i take the editor wand and switch stuff from tbm and put it in BLR and hosted a server would people be able to join and use the switches and editor wand. if not badspot needs to add it i loved the editor wand and switches from tbm they were super easy to use no need to press q then switch to the wrench then bang on stuff all i had to do in tbm was press a one button to pull out the wand and scale the brick or make a switch i could go on forever with all the stuff it could do and my favorite thing was igob. i want my switches. and igob. and being able to scale bricks. and making bricks float. and making bricks rotate and make you jump. and definitly teleporters. dang man there is alot of stuff missing.

9
Help / Floating Bricks
« on: March 11, 2007, 09:16:17 PM »
how do i turn off floating bricks. i cant stand not being ablre to place bricks the terrain on all my maps is very uneven.

Pages: [1]