How to get black lasers

Welcome to the shipyards. Here you can discuss how to re-calibrate the positronic neutron flow to double power to the aft shields. Or you can discuss how to add new ships, new maps, new scenarios, new modules, etc. have fun!
User avatar
curtis.johnson
Type III Robot
Type III Robot
Posts: 85
Joined: Fri Feb 06, 2015 3:58 pm
Location: The Backbone of Night
Contact:

How to get black lasers

Postby curtis.johnson » Mon Feb 16, 2015 8:41 pm

So I was modding my game and I decided it would look cool to have a black coloured laser. So, I set the "Colour" thing on the text file of a laser to 0,0,0 (Thinking this would change the lasers colour to RGB 0,0,0 aka Black). But it didn't. I'm a little bit worried I'll have to create my own laser image to use, but I was wondering if there was an easier way?
Download DookCraft Laboratories V1.2:

http://www.mediafire.com/download/c95bpd6ubk0h5dh/DookCraft+Laboratories+1.2.zip

Download Enhanced Empire V1.0:

http://www.mediafire.com/download/6rxxazdtby4x1a8/Enhanced+Empire+Mod+V1.0.zip
User avatar
darkstar076
Supreme Robot
Supreme Robot
Posts: 2200
Joined: Sun Feb 28, 2010 2:14 am
Location: Lurking somewhere in the Forum

Re: How to get black lasers

Postby darkstar076 » Mon Feb 16, 2015 9:26 pm

Sometime in the early alpha of the development of GSB, the Color = R,B,G for Beam weapons was disabled, so thats why it did not work (I dont know why that line of code is in there)

Anyways, modifying a beam weapons ("SIM_BeamWeaponModule") is a simple task. All you need to do is:

1) Create/modify a beam Graphics File
2) Call the graphics file in the module using the blasttexture = "something.dds"

To alter/create the beam graphics file you need a program that can alter a .dds file. (for example, Gimp which is free)

A quick guide on how a beam effect graphics file works
1) The blast effect is placed at the start of the turret
2) The main beam effect is stretched from the turret to the target
3) The grain section is repeatedly placed along the effects (without stretching) back to back
Image

For more info about modding, have a look at the [Guide] GSB Modding 101
There are some useful hints, tips and guides to help you get your ideas into the game.
Wisdom is something you generally obtain around three seconds after you needed it the most
-=Modding Guru & Egon Spengler of the Friendly Community Mod Squad=-
User avatar
curtis.johnson
Type III Robot
Type III Robot
Posts: 85
Joined: Fri Feb 06, 2015 3:58 pm
Location: The Backbone of Night
Contact:

Re: How to get black lasers

Postby curtis.johnson » Tue Feb 17, 2015 8:22 am

Okay, thanks.
Download DookCraft Laboratories V1.2:

http://www.mediafire.com/download/c95bpd6ubk0h5dh/DookCraft+Laboratories+1.2.zip

Download Enhanced Empire V1.0:

http://www.mediafire.com/download/6rxxazdtby4x1a8/Enhanced+Empire+Mod+V1.0.zip

Return to “Gratuitous Modding”

Who is online

Users browsing this forum: No registered users and 2 guests