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 Unable To Identify A Property List
Moderators: winston, another_commander
Re: Oolite Unable To Identify A Property List
OXPs: Furball 1.8, Factions 1.12
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Oolite Unable To Identify A Property List
I have 4x Mil front and rear, mining port and starboard...
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Re: Oolite Unable To Identify A Property List
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...
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Oolite Unable To Identify A Property List
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...
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: Oolite Unable To Identify A Property List
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...
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: Oolite Unable To Identify A Property List
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...
A while back it was posted that Okti and Thargoid have an experimental entity slaved to the player ship. This entity also has a laser and I would assume it fires at your target. Done correctly this would simulate multiple lasers on a player ship but is probably not a perfect solution. I'm sure its not available because we don't need a multiple lasers per ship's weapon position uber war. If anything we probably should label anything with multiple lasers in one direction as"Uber: May destabilize game balance. Use at own risk."
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.
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
Re: Oolite Unable To Identify A Property List
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.
Re: Oolite Unable To Identify A Property List
It is Okti's experimental OXP - I was nothing to do with it other than he was kind enough to share a version with me. It is very much as described - the fire key still only fires a single laser, but the "n" key can be used to fire a different weapon which could be configured to simulate multiple lasers.
But as has been said in this thread, true multiple lasers on a player ship is currently (and deliberately) not possible, by the sub-entity route or any other. Okti's route is a clever work-around for that, but I'll leave it to him as to whether he wants to share things more widely as it's his work.
But as has been said in this thread, true multiple lasers on a player ship is currently (and deliberately) not possible, by the sub-entity route or any other. Okti's route is a clever work-around for that, but I'll leave it to him as to whether he wants to share things more widely as it's his work.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Killer Wolf
- ---- E L I T E ----
- Posts: 2279
- Joined: Tue Jan 02, 2007 12:38 pm
Re: Oolite Unable To Identify A Property List
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.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Oolite Unable To Identify A Property List
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, .....
I just wondered what would happen when firing a main aft laser: As expected, all subentity lasers also fired. But those only can fire forward and fire in the wrong direction than. That seems a bug that is easy fixable. I added now a check for only firing subentity lasers when firing forward.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
Re: Oolite Unable To Identify A Property List
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.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Oolite Unable To Identify A Property List
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.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: Oolite Unable To Identify A Property List
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.
Thanks, Smivs.