Digga's Summer Project
-
ah right… well i am installing freelancer now (i’ve been going off of youtube videos and memory up until now, just found my cd) and i will have a look into it. must just be a camera thing though, because i distinctly remember that in multiplayer, players only turned along one axis, they didn’t bank…i remember seeing players afk or typing, with their mouse off-center. their ships would just rotate on the Y axis, relative to the ship…
-
They do roll in a turn, it’s not a move that can be performed with a key, it’s part of the physics.
-
ok, stripped the demo of shaders, and implemented banking. thats it for me tonight i think…3 am here in the land of oz new versions in the first post, links have changed.
i am personally pretty excited about how it turned out. it ‘feels’ really good now that the banking is implemented. it felt really light before but this sort of gave it a bit of weight, IMO. thoughts? the bank angle is fairly large (45 degrees) just to show what its like. its harder to spot at a lower value with nothing to compare to.
-
If you get the SDK and open the shiparch.ini file you’ll find these entries for each ship in the file:
max_bank_angle = 35
camera_offset = 6, 22
camera_angular_acceleration = 0.05
camera_horizontal_turn_angle = 23
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 30
camera_turn_look_ahead_slerp_amount = 1max bank angle dictates the physical limit of roll, everything else is camera related. Self explanatory really.
-
yep cheers for that. the way i have programmed it, some of those values are irrelevant. i did not want the camera being too fiddly, so it works out where it needs to be/how much it needs to rotate/move etc on its own, by checking how long, wide and high the players spaceship is.
these are the values the navigation class pulls from the players equipped engine…right now the values are hard coded in, but i’ll change it so it reads the equipped engine once all this is done…:
(ignore the /100’s. some values need to be scaled down - the players speed is actually capped at 0.1 in game, and it moves as fast as it does… but, for scripting/modding purposes (when it comes time to that ), it’ll make more sense to put ‘100’)
-
I have just tried it and have to say it’s quite good for a beginning. Are you still working on this project?
-
yeah mate i am. do not expect to see too much in the next few weeks or so though. i am working on it but i am working on back end stuff! i wont be able to show case much. to put it simply, i am working on items and inventory. first up will be engines, as that will link in nicely with what i have already. once i have engine ‘items’ working in the players inventory (to the point where he can store in inventory, buy from shop, sell to shop, or equip to ship) i can easily expand this to weapons, shields, turrets and anything else that can be equipped really.
currently i am also a little bit busy searching for a job. i live at home and have no income, so i have to jump through several loops to receive pay outs from the government till i get a job lol. ahh, melbourne…
-
I know what that’s like. xD
It’s a problem when your mum earns too much money for the Government to give you any money, but not enough that she can help you pay for things. And works for them so can’t even lie xD
Well, I eat and sleep comfortably, can’t complain.Looking forward to those updates when they do come, at least.
-
just an update to say there is no update but i have not forgotten or anything. gah! someone find me a job! a lot harder to do than i thought…hey…
also i am working on getting my provisional license…dad bought me a car so thats awesome, just need the license!!
soo…very hectic life right now, despite leaving uni for the rest of the year. hopefully i can settle down sooooooonnn i want to get working on this
-
Prodigga wrote:
just an update to say there is no update but i have not forgotten or anything. gah! someone find me a job! a lot harder to do than i thought…hey…also i am working on getting my provisional license…dad bought me a car so thats awesome, just need the license!!
soo…very hectic life right now, despite leaving uni for the rest of the year. hopefully i can settle down sooooooonnn i want to get working on this
Nice news about car/license Look forward to seeing more whenever you have it