Shields

This is the place for all questions related to modding Starshatter.
Post Reply
Darkhawkt
Posts: 22
Joined: Tue Jun 08, 2004 1:30 pm

Shields

Post by Darkhawkt »

Is it possible to add shields to fighters?
Deadmannumberone
Posts: 20
Joined: Wed Mar 31, 2004 5:02 am

RE: Shields

Post by Deadmannumberone »

Yes. Just make sure it has enough power.
Kuokkanen
Posts: 3740
Joined: Fri Apr 02, 2004 1:16 pm

RE: Shields

Post 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.
You know what they say, don't you? About how us MechWarriors are the modern knights, how warfare has become civilized now that we have to abide by conventions and rules of war. Don't believe it.

MekWars
Darkhawkt
Posts: 22
Joined: Tue Jun 08, 2004 1:30 pm

RE: Shields

Post by Darkhawkt »

Yes, I would like to use a capacitator shield. Can you show me that code?
TexMurphy
Posts: 137
Joined: Fri Jun 11, 2004 7:16 pm

RE: Shields

Post 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
Dekzar
Posts: 35
Joined: Mon Apr 05, 2004 12:18 am
Contact:

RE: Shields

Post 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.
User avatar
TheDeadlyShoe
Posts: 549
Joined: Tue Apr 06, 2004 3:06 pm

RE: Shields

Post by TheDeadlyShoe »

I prefer to use a bubble myself.
@TheDeadlyShoe> Unless, say, you could make black holes at will.
@Razeam> I can do that but I don't want to.
Kuokkanen
Posts: 3740
Joined: Fri Apr 02, 2004 1:16 pm

RE: Shields

Post 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.
You know what they say, don't you? About how us MechWarriors are the modern knights, how warfare has become civilized now that we have to abide by conventions and rules of war. Don't believe it.

MekWars
Darkhawkt
Posts: 22
Joined: Tue Jun 08, 2004 1:30 pm

RE: Shields

Post by Darkhawkt »

Can you show me that example for capacitator shields?
Mehrunes
Posts: 257
Joined: Wed Mar 31, 2004 6:56 am
Contact:

RE: Shields

Post by Mehrunes »

Just add capacitor: true, to the shield's structure to make hit subtract from the shield's charge.
Kuokkanen
Posts: 3740
Joined: Fri Apr 02, 2004 1:16 pm

RE: Shields

Post 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
 }
You know what they say, don't you? About how us MechWarriors are the modern knights, how warfare has become civilized now that we have to abide by conventions and rules of war. Don't believe it.

MekWars
Deadmannumberone
Posts: 20
Joined: Wed Mar 31, 2004 5:02 am

RE: Shields

Post by Deadmannumberone »

Power is measured in megawatts (1,000,000 watts).
Post Reply

Return to “Starshatter Modding Forum”