Laser beams on a ship (please help!)

You will need to find or make a laser object ((if you don't already have one). You check to see is the laser object comes into contact with ANY object (besides the earth, I don't think a satellite could take out the earth). If it does come into contact w/ an object, destroy the object. The easiest way to do this is to have the DLL set the object's health or damage to 0. This will cause them to be destroyed (or in the DGIV's case blow teh hell up). Hope I helped!
 
You will need to find or make a laser object ((if you don't already have one). You check to see is the laser object comes into contact with ANY object (besides the earth, I don't think a satellite could take out the earth). If it does come into contact w/ an object, destroy the object. The easiest way to do this is to have the DLL set the object's health or damage to 0. This will cause them to be destroyed (or in the DGIV's case blow teh hell up). Hope I helped!
Ok..., can you please show me how I can actually write this??:huh: Also, in this case, can you tell me how should I make my laser beam, should I make it as an engine exuast, or should I make it as a scaled part of the cannon? Which one's better for this?
 
Use a 3d graphics program of your choice and make an object for the laser, because an exhaust stream will look to obvious. As for the coding, don't look at me, ask an experienced add-on developer. Track down the guy who did the laser tanks.
 
Ok, but is it still possible to use exuast textures instead?? I could make a custom exuast for this any way, it looks better, and I don't think I can scale a small stick up to 500,000km. Also, how do I make the solution file into a DLL? It keeps coimng out as a solution file and I don't know what to do.

HOLY :censored:!!!!!!! I HAVE ONE MORE POST TO GO TILL 100!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! YEAH!!!!!!!!!!!!!!
 
Last edited:
Ok, I'm planing on releasing the Ion cannon by the end of this week and theres a few problems that I need help with:
  1. My solar panels are supposed to go like this:
Project4.png



Then this:
Project2.png


And finish off like this:
Project3.png


But instead, it ends up like this:
Project5.png


2. For some reason, the texture doesn't show on some of the pieces.

It's supposed to look like this:
Project3.png


But instead it looks like this:
Project2.png


Well thats all my problems so far.
Thanks in advance for helping me:)

Oh, and heres the code for this:
Code:
[CONFIG]
MESHNAME="Ion_Cannon"
SIZE=25
EMPTY_MASS=700
FUEL_MASS=1000
MAIN_THRUST=80
RETRO_THRUST=20
ATTITUDE_THRUST=5000
ISP=50000
TRIM=0.05
PMI=(15.5,22.1,7.7)
CW_Z_POS=0.09
CW_Z_NEG=0.09
CW_X=2.
CW_Y=1.4
CROSS_SECTION=(53.0,186.9,25.9)
COG=2.47
PITCH_MOMENT_SCALE=0.00005
BANK_MOMENT_SCALE=0.00005
ROT_DRAG=(1.5,1.5,1.5)
WING_ASPECT=0.7
WING_EFFECTIVENESS=2.5
LAND_PT1=(0,-1.1,9)
LAND_PT2=(-4,-1.95,-5)
LAND_PT3=(4,-1.95,-5)
VISIBLE=1 
CAMERA=(0,1.22,5.4)
[ANIM_SEQ_0]
; solar pannels
KEY=K
DURATION=10
[ANIM_SEQ_1]
; ion beam
KEY=G
DURATION=10
[ANIM_COMP_0]
;outer solar pannel 1
SEQ=0
GROUPS=5
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(0,0.338212,0.6034612)
ROT_AXIS=(1,0,0)
ANGLE=180
[ANIM_COMP_1]
;outer solar pannel 2
SEQ=0
GROUPS=2
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(0,-0.3393807,0.6018642)
ROT_AXIS=(1,0,0)
ANGLE=-180
[ANIM_COMP_2]
;outer solar pannel 3
SEQ=0
GROUPS=6
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(0.3416374,0,0.6044642)
ROT_AXIS=(0,1,0)
ANGLE=-180
[ANIM_COMP_3]
;outer solar pannel 4
SEQ=0
GROUPS=0
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(-0.3348837,0,0.6033179)
ROT_AXIS=(0,1,0)
ANGLE=180
[ANIM_COMP_4]
;inner solar pannel 1
SEQ=0
GROUPS=9
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(0,0.3225019,-1.295152)
ROT_AXIS=(1,0,0)
ANGLE=-90
[ANIM_COMP_5]
;inner solar pannel 2
SEQ=0
GROUPS=1
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(0,-0.3226296,-1.29567)
ROT_AXIS=(1,0,0)
ANGLE=90
[ANIM_COMP_6]
;inner solar pannel 3
SEQ=0
GROUPS=7
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(0.3263003,0,-1.295012)
ROT_AXIS=(0,1,0)
ANGLE=90
[ANIM_COMP_6]
;inner solar pannel 4
SEQ=0
GROUPS=8
RANGE=(0.0,1.0)
TYPE=ROTATE
ROT_PNT=(-0.3214271,0,-1.29611)
ROT_AXIS=(0,1,0)
ANGLE=-90

YEAH!!!!!!!!!!!!!!!! 100 POST!!!!!!!!!!!:woohoo::woohoo::woohoo:
 
LAser TAnks

On the laser tanks. I thought about use a emissive bar and then scaled it. But i went with a emissive cylinder smaller in diameter than the barrel. It starts inside the barrel and then jumps out and then back in several times.


Use a 3d graphics program of your choice and make an object for the laser, because an exhaust stream will look to obvious. As for the coding, don't look at me, ask an experienced add-on developer. Track down the guy who did the laser tanks.
 
Ok, here's an update, I still need help!!!! My goal is to make this DGIV compatible (meaning, being able to be in DGIV's cargo bay) and make the solar pannel's animation work, so far, none of these goals have been achived:dry:

Also, here's what I have so far:
 
Last edited:
Also, here's my line of orbital cannons I'm planing to make:
  • Orbital Ion Cannon: In progress, will have a light blue, glowing beam, will not be destructive, mainly designed for people who don't want orbiter turning into a space shooter;)
  • Orbital Positron Cannon: In progress, will look like the Orbital Ion Cannon, will be destructive, mainly designed for people who want orbiter turning into a space shooter (just like me:lol:)
  • Neo Genesis: The mother of all Orbital Cannons, will be huge and destructive, mainly designed for people who want orbiter turning into a space shooter (just like me:lol:) and for people who like going power mad;)
 
Hey man I am glad you finally figured (most of) this out! Is that code for a .dll above or did you just write the ship's behavorial code? Nice work on the cannon!
 
Hey man I am glad you finally figured (most of) this out! Is that code for a .dll above or did you just write the ship's behavorial code? Nice work on the cannon!
Thanks, the Orbital Ion Cannon, still has a few kinks to work out. As you can see from my previos post, the solar pannel animations and textures are a mess. So please, someone help me with this!!!! Also, the code I put on my prevois post, is a config file, not a DLL; so I'm still clue-less about DLLs.:(
 
Back
Top