Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Creating a Game like Freelancer

The general place to discuss MOD''ing Freelancer!

Post Sun Dec 19, 2004 7:55 am

Creating a Game like Freelancer

I got my hands on a pretty decent 3D Game Engine, its called DarkBasic Pro. One of the things I tried to make was a spaceship game (Before I ever played Freelancer)

I unfortunatly got stuck on something though and I abandoned the project. By the way, I was a total newcommer to programming but I did manage to make:

1: A universe
2: Astroid Fields
3: Planets
4: The ability to fly around.
5: Background Music

The thing that I got totally stuck on was how to fly around without making it seem as if I was getting closer to Stars that were meant to be lightyears away (Anotherwords: the texture that you put on the sphere that acts as the universe)

I would like to try this project again, only using Freelancer as a guide.

In freelancer, is your ship ALWAYS located right in the middle of the universe which in turn is locked to the camera, which is also locked to your spaceship?

So basically, wherever you fly, the universe flys with it?

Its a weird question to ask, but Im interested in the answer

Thanks
Freedom9

Post Sun Dec 19, 2004 10:12 am

If you fly in a certain direction for long enough, the area around you changes I think. Use a high speed mod to take you a few thousands km out from the system, and I THINK the stars will disappear and some clouds will appear. I can't remember.

But I KNOW that starspheres are used, with textures on them. I think (yes back to thinking) that as you approach the surface of the starsphere, it shrinks the texture to make it look like nothing has changed. I've never been to successful on starspheres though, so you'll need a better opinion from me.

By the way, out of curiosity, how were you making this game? Using c++?

--------------------------------
[email protected]

Leader of the Republic Mod Team.
"Criminal Organisations don't just spring up overnight. It's a conspiracy" - overheard on a a Liberty comm frequency

Post Sun Dec 19, 2004 10:14 am


In freelancer, is your ship ALWAYS located right in the middle of the universe which in turn is locked to the camera, which is also locked to your spaceship?

So basically, wherever you fly, the universe flys with it?


not sure if i get what you mean .. but the last sentence reminded me of an experience i had with 3d systems ..

i noticed that when you move up and down on the y axis that the starbend will follw you .. i was like 50k up -and that was confusing me, the starbend was at the same height ..

Post Sun Dec 19, 2004 11:14 am

C++ lol me? yeah right, in my dreams.

Darkbasic Pro is not only a game engine, but its also a standalone simplified programming language. Its really very straightforward to use, even for those who are very weak at programming, like me.

MAKE OBJECT CUBE 1,100
DO
YROTATE OBJECT 1,OBJECT ANGLE Y(1)+0.1
LOOP

When this is compiled and run as an EXE, it will show a cube with a size equalling to a scale of 100 which is spinning on its Y Axis at a speed of 0.1. The cube, like all objects, textures, sound and models has been given a specific number that allows the engine to recognize it, in this case, that number is 1.

so

MAKE OBJECT CUBE 1 << theres its number there

So simple



Edited by - Freedom9 on 12/19/2004 11:23:59 AM

Post Sun Dec 19, 2004 11:26 am

Wow. Cool. How much is it?

--------------------------------
[email protected]

Leader of the Republic Mod Team.
"Criminal Organisations don't just spring up overnight. It's a conspiracy" - overheard on a a Liberty comm frequency

Post Sun Dec 19, 2004 11:29 am

As taken from http://darkbasicpro.thegamecreators.com/?f=order

DarkBASIC Professional provides you with the commands and features needed to create a winning game.
Plus FREE on CD: The 3D game model collection DarkMATTER + 2 massive sci-fi games Riftspace and Starwraith.

Price: $89.99 - €69.99 - £49.99

I on the otherhand was lucky enough to aquire it from a friend.

Post Mon Dec 20, 2004 1:16 am

if u fly too far u expload

i fly 750-K away from planet crete befor i exploded
after 300-K u cant see anything exapt the background of the system

Dev

Post Mon Dec 20, 2004 3:03 am

"In freelancer, is your ship ALWAYS located right in the middle of the universe which in turn is locked to the camera, which is also locked to your spaceship?"

I suppose that's one way to describe it. If you've ever looked at the starsphere models they're only something like 100 meters in radius, so if by no other reasoning than that the background must "follow" your ship.

Post Mon Dec 20, 2004 10:25 am

It's somehow like in Futurama: Not the ship is moving, but the universe around it.

Post Sun Jan 02, 2005 3:51 am

It's ought to be some hecka funny bugs they encountered in MP testing

Make Freelancer a better game:
http://www.lancersreactor.com/t/forum/t ... Freelancer[%2C+the+perfect+platfrom[%3F&forum_title=Freelancer+General+Editing+Forum&cat_title=Freelancer+Editing&M=False

Return to Freelancer General Editing Forum