1846
Help / Re: Probs with Port Forwarding
« on: November 04, 2007, 12:23:22 PM »
Help?
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.
envMapIntensity = "0.4";
TessSurface = "50";
TessShore = "60";
SurfaceParallax = "1";
FlowAngle = "90";
FlowRate = "0.3";
DistortGridScale = "0.1";
DistortMag = "0";
DistortTime = "1";
You can modefy the Flowrate to change the speed of the terrain. You can also change the Wave magnitude to make it look like your passing hillsfunction Warplanevehicle::onTrigger(%this, %obj, %triggerNum, %val)
{
if(%triggerNum == 2 && %val && !iseventpending(%obj.rocketreload)){
%obj.client = %obj.getcontrollingclient();
%pos = %obj.getposition();
%client = %obj.client;
%pos = vectoradd(%pos,"0 0 -0.8");
%pos = vectoradd(%pos,%obj.getforwardvector());
%vel = "0 0 -22.5";
%planevz = getword(%obj.getvelocity(),2);
if(%planevz < 0){
%vel = VectorAdd(%vel,"0 0 " @ %planevz);
}
%p = new Projectile()
{
dataBlock = rocketlauncherprojectile;
initialVelocity = %vel;
initialPosition = %pos;
client = %obj.client;
sourceObject = %obj.client.player;
sourceClient = %obj.client;
};