Jump to content
Sign in to follow this  
oyman

2 questions

Recommended Posts

ive got a problem with this turret on this car it turns around inside the car and looks like you are shooting the driver

http://img78.photobucket.com/albums/v331/oyman/rapi1.jpg anything that i can do to the turret code to make it the oppisite

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Turret

  {

     soundServo[]={"",0.010000,1.000000};

gunAxis="osahlavne";

     turretAxis="osaveze";

     gunBeg="usti hlavne";

     gunEnd="konec hlavne";

     minElev=-5;

     maxElev=40;

     minTurn=0;

     maxTurn=175;

body="otocvez";

     gun="otochlaven";

};

};

the second question is that i wanna add the WGL cannon smoke to my a10 and was wondering how would i do it, or where would i put it in my config , here are the pieces of code

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class WGL_A10Smoke

{

access=3;

cloudletDuration=1;

cloudletAnimPeriod=1;

cloudletSize=1.0;

cloudletAlpha=0.55;

cloudletGrowUp=0.15;

cloudletFadeIn=0.0;

cloudletFadeOut=0.5;

cloudletAccY=0;

cloudletMinYSpeed=-600;

cloudletMaxYSpeed=600;

cloudletShape="cl_fireD";

cloudletColor[]={.75,.75,.75,0};

interval=0.025;

size=3;

sourceSize=0.25;

timeToLive=0;

initT=0;

deltaT=3;

class Table

{

class T0

{

maxT=1;

color[]={0.7,0.7,0.7,0};

};

class T1

{

maxT=1;

color[]={0.6,0.6,0.6,0};

};

class T2

{

maxT=1;

color[]={0.5,0.5,0.5,0};

};

};

};

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class MGunFire: WGL_A10Smoke {};

class MGunClouds: WGL_A10Smoke {};

smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×