I have two . .Killer Wolf wrote:prove otherwise.Okti wrote:Sure?Killer Wolf wrote:it's a given in the Oolite universe that players can't have more than one laser ...

Moderators: winston, another_commander
I have two . .Killer Wolf wrote:prove otherwise.Okti wrote:Sure?Killer Wolf wrote:it's a given in the Oolite universe that players can't have more than one laser ...
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Oh, I didn't know that would work. You mean you just assigned a different laser to each position, and the game processed it? Wouldn't you still have to list the extra lasers as sub-entities? Wait, that's just one gun per direction, so it wouldn't be a problem. I've never really seen the advantage of port and starboard guns, unless you have a huge ship, with auto ball turrets, or something of that nature.DaddyHoggy wrote:I have 4x Mil front and rear, mining port and starboard...
I think DH meant he has four lasers. A mil at the front and the back and miners on both sides. It was a joke.mandoman wrote:Oh, I didn't know that would work. You mean you just assigned a different laser to each position, and the game processed it? Wouldn't you still have to list the extra lasers as sub-entities? Wait, that's just one gun per direction, so it wouldn't be a problem. I've never really seen the advantage of port and starboard guns, unless you have a huge ship, with auto ball turrets, or something of that nature.DaddyHoggy wrote:I have 4x Mil front and rear, mining port and starboard...
Yeah, I figured that out. I would still like to know the trick of putting on two to front and back by using sub-entities. It's evidently been done before, so it wouldn't hurt to do it again. Let me ask you, if I put a laser on the far left aft wing, and far right aft wing and called the port and starboard lasers, would they shoot to the side, or back from the ship as they are pointed? I didn't try it, but I thought about it.Smivs wrote:I think DH meant he has four lasers. A mil at the front and the back and miners on both sides. It was a joke.mandoman wrote:Oh, I didn't know that would work. You mean you just assigned a different laser to each position, and the game processed it? Wouldn't you still have to list the extra lasers as sub-entities? Wait, that's just one gun per direction, so it wouldn't be a problem. I've never really seen the advantage of port and starboard guns, unless you have a huge ship, with auto ball turrets, or something of that nature.DaddyHoggy wrote:I have 4x Mil front and rear, mining port and starboard...
Or was it?Smivs wrote:I think DH meant he has four lasers. A mil at the front and the back and miners on both sides. It was a joke.mandoman wrote:Oh, I didn't know that would work. You mean you just assigned a different laser to each position, and the game processed it? Wouldn't you still have to list the extra lasers as sub-entities? Wait, that's just one gun per direction, so it wouldn't be a problem. I've never really seen the advantage of port and starboard guns, unless you have a huge ship, with auto ball turrets, or something of that nature.DaddyHoggy wrote:I have 4x Mil front and rear, mining port and starboard...
Oh yeah, I do remember reading that somewhere. I forget things too easily.CommonSenseOTB wrote:Mandoman, all you can do is have sub-entities for the NPC version of your ship, each of those with a weapon defined in its shipdata entry.
Code: Select all
if I put a laser on the far left aft wing, and far right aft wing and called the port and starboard lasers, would they shoot to the side, or back from the ship as they are pointed? I didn't try it, but I thought about it.
When a npc ships fires the main laser, the code explicit checks all subentities if they have a laser. For the player there is no such check. That is to avoid creating über-ships with ziljons of lasers.Thargoid wrote:But as has been said in this thread, true multiple lasers on a player ship is currently (and deliberately) not possible, .....
Are Port and Starboard lasers considered sub-entities though? What I'm asking is if I put lasers on my the far tips of two of the wings on my SunBat, and labeled them in shipdata.plist as port and starboard lasers, would they shoot out to the side of the ship in the game, or toward the back, or front, depending on which wings I installed them? I'm not talking in terms of sub-entities here, but in the defined actions of two main lasers, port and starboard. Neither am I speaking in terms of NPC ships, but in actual player ships. It's no big deal, I just don't know, and wanted to know if someone had tried it.Killer Wolf wrote:someone more knowledgeable might correct me, but i think it's a moot point as i'm sure i read somewhere that NPCs are coded to only use front and rear lasers.Code: Select all
if I put a laser on the far left aft wing, and far right aft wing and called the port and starboard lasers, would they shoot to the side, or back from the ship as they are pointed? I didn't try it, but I thought about it.
That's what I suspected, which is why I didn't try it.Smivs wrote:They'd shoot out the side. You put them there by defining the weapons_position in shipdata, not by physically putting a sub-ent there, so there is no choice in the direction they fire.