Page 1 of 1
Shields
Posted: Tue Jun 15, 2004 7:51 pm
by Darkhawkt
Is it possible to add shields to fighters?
RE: Shields
Posted: Tue Jun 15, 2004 8:53 pm
by Deadmannumberone
Yes. Just make sure it has enough power.
RE: Shields
Posted: Wed Jun 16, 2004 8:03 am
by Kuokkanen
Hint: use fighter model as shield model. Saves a lot of trouble. If you want use capacitor type shield, I have code what you can use as example.
RE: Shields
Posted: Wed Jun 16, 2004 11:59 am
by Darkhawkt
Yes, I would like to use a capacitator shield. Can you show me that code?
RE: Shields
Posted: Wed Jun 16, 2004 12:34 pm
by TexMurphy
Im interested in capacitor type shields as well...
When using the ship model as the shield model do you create a separate one with another texture or how do you do it?
Tex
RE: Shields
Posted: Wed Jun 16, 2004 1:58 pm
by Dekzar
You don't need to texture it at all.
I just duplicate my .MAG file, wipe any textures off the new model, and then increase it's size to be a little larger than the other ship.
Works great.
RE: Shields
Posted: Wed Jun 16, 2004 4:23 pm
by TheDeadlyShoe
I prefer to use a bubble myself.
RE: Shields
Posted: Thu Jun 17, 2004 6:20 am
by Kuokkanen
ORIGINAL: Dekzar
I just duplicate my .MAG file, wipe any textures off the new model, and then increase it's size to be a little larger than the other ship.
Gosh, that is a lot of work! [:'(]
Anything of that isn't required. Not even duplicate.
RE: Shields
Posted: Thu Jun 17, 2004 12:38 pm
by Darkhawkt
Can you show me that example for capacitator shields?
RE: Shields
Posted: Thu Jun 17, 2004 2:08 pm
by Mehrunes
Just add capacitor: true, to the shield's structure to make hit subtract from the shield's charge.
RE: Shields
Posted: Thu Jun 17, 2004 5:51 pm
by Kuokkanen
ORIGINAL: Darkhawkt
Can you show me that example for capacitator shields?
This is shield component of my
X-Wing.def
Code: Select all
shield: {
type: 1, // deflector shield type
design: "Deflector shield", // probably name for game interface
model: "X-Wing.mag", // model name
shield_capacitor: true, // capacitor type deflector shield
capacity: 1000, // blocks 10 shots when full
consumption: 100, // takes 100 watts from power source to recharge shield
// (funny, I have more powerful power source in my PC :P
loc: (0, 9, 50), // location of component inside the ship (x,z,y)
size: 20
}
RE: Shields
Posted: Fri Jun 18, 2004 12:16 am
by Deadmannumberone
Power is measured in megawatts (1,000,000 watts).