Roll Limiter - My First OXP
Moderators: winston, another_commander
Roll Limiter - My First OXP
A friend of my son saw me playing oolite the other day and asked about it. One question he asked was how hard it would be without a joystick. I explained that although it was certainly easier with a stick, it was still quite playable. His first hurdle though, was docking. When using the keyboard it is difficult to match rotation speed with the station. This led to my first OXP - Roll Limiter. The idea behind this, and the code itself is quite simple. When activated it limits the player's ship's roll rate to that of the main station in the system they are in. When deactivated, roll rate goes back to normal.
I've made this available at all stations and feel the price should be quite low as what it does is very basic.
What are people's thoughts on this idea at all and what price should it have. I felt it would be advantageous only to new players and specifically those using a keyboard input.
Thanks for any thoughts.
I've made this available at all stations and feel the price should be quite low as what it does is very basic.
What are people's thoughts on this idea at all and what price should it have. I felt it would be advantageous only to new players and specifically those using a keyboard input.
Thanks for any thoughts.
Re: Roll Limiter - My First OXP
I would have immediately got this when I started!
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Roll Limiter - My First OXP
Nice idea. The price depends on if you want to be available from the start - this is why my [wiki]ILS[/wiki] need 50cr only. If the cost is more than 100cr then will be usable later ony.
-
- ---- E L I T E ----
- Posts: 591
- Joined: Sun Jul 12, 2015 2:30 pm
- Location: Bavaria, Germany
- Contact:
Re: Roll Limiter - My First OXP
I would make it very cheap too. That's why I wonder why the docking computers were even made part of the game, especially in the 8-bit times when every byte of memory was valuable. If you still haven't figured out how to dock safely when you can afford 1500 Cr for buying one, you're doing something seriously wrong!
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Re: Roll Limiter - My First OXP
For something which helps brand-new players to dock, I'd make it free, and installed automatically when they install the OXP - just make it something that has to be turned on and off by the player.Neal wrote:I've made this available at all stations and feel the price should be quite low as what it does is very basic.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Roll Limiter - My First OXP
What Disembodied said!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Roll Limiter - My First OXP
I agree that such a newbie help should come free!
Re: Roll Limiter - My First OXP
Being a newbie to OXP develpment I'm trying to figure out how to implement installing the item without it being purchased. Can anyone help me with that?
Thanks,
Neal.
Thanks,
Neal.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Roll Limiter - My First OXP
I've never tried it, but does setting the price to 0 (zero) Credits work?
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Roll Limiter - My First OXP
It works fine for McLane's Asteroids3D, so I presume it would.Smivs wrote:I've never tried it, but does setting the price to 0 (zero) Credits work?
Last edited by Cody on Wed Nov 18, 2015 3:56 pm, edited 1 time in total.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Roll Limiter - My First OXP
Thanks, I'll do that when I get home this evening.
Neal.
Neal.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Roll Limiter - My First OXP
Thinking about it, would a minimal price - say 5 (or 10) Credits - be preferable?
I said the same to McLane about Asteroids3D, but he ignored me. <chortles>
I said the same to McLane about Asteroids3D, but he ignored me. <chortles>
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
Re: Roll Limiter - My First OXP
Personally, I don't think so: 5 credits can be a lot of money on your first run. On your first several runs, in fact - it can be the difference between having a spare TC of Food to throw to a pirate pack, and having to give them something more expensive!Cody wrote:Thinking about it, would a minimal price - say 5 (or 10) Credits - be preferable?
If a player needs or wants the help, I think they should have it - especially in this case, where the player's ship is being rendered less manoeuvrable in order to make the final docking approach easier. Charging a fee for it would be like charging a fee so that the station shows up on the compass.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Roll Limiter - My First OXP
CallNeal wrote:how to implement installing the item without it being purchased.
player.ship.[url=http://wiki.alioth.net/index.php/Oolite_JavaScript_Reference:_Ship#awardEquipment]awardEquipment[/url]("EQ_ROLL_LIMITER");
for example in the startUpComplete event handler.In addition if you set
"portable_between_ships"=yes;
in [wiki]equipment.plist[/wiki] then will stay in the ship if the player buy a Cobra1 or an Adder right at start. Not so important due to these can dock without roll.Re: Roll Limiter - My First OXP
Thanks again everyone. Norby, it took me a little bit, but I figured out where to put the statement you suggested. I didn't have a worldScript which was causing me problems when I first tried to put the awardEquipment in place.