The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2024, 06:34:39 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Ship Editing For Beginner
« previous next »
Pages: [1] Print
Author Topic: Ship Editing For Beginner  (Read 3439 times)
Malrunus
Zebranky food
*
Offline Offline

Posts: 13



View Profile
Ship Editing For Beginner
« on: January 30, 2009, 12:58:50 am »

So, I have absolutely no programming skill at all, but feel confident I can follow directions if they're explained as if to a child.  I tried going to the Ship Edit search and came up with some techno jargon people toss around, and it also seems that the link for the source file is no longer available.  What can I do to get into a means to edit some ships?
Logged
Shiver
Guest


Email
Re: Ship Editing For Beginner
« Reply #1 on: January 30, 2009, 06:23:54 am »

There is no such thing as ship editing for beginners. Adjusting the basic variables such as weapon damage, acceleration or starting crew is not difficult, but good luck figuring out how to do anything more particular if you don't know how to program. I have been told that ship editing will be much easier in UQM 0.7.0, so my advice to you is to wait for that. Regardless, here is what I did:

* Download 0.6.2's source code and extract it somewhere.

* Figure out how to compile this source code into its own exe file. I followed these instructions written by Novus. If you are not a computer whiz, this part will piss you the hell off.

* The ship files you want to edit are contained within \uqm_0.6.2\sc2\src\sc2code\ships. The exact file names are things like urquan.c and androsyn.c. Notepad++ can edit these files. I'm sure many other programs can as well.



If you want to edit the game's graphics, that is an entirely different bag of apples.
« Last Edit: January 30, 2009, 08:11:05 am by Shiver » Logged
Gekko
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 199


Arena regular


View Profile
Re: Ship Editing For Beginner
« Reply #2 on: January 30, 2009, 10:10:45 am »

Just learn the basics of c++ / java and then try playing with the numbers. Also, programming is dangerously addicting.
« Last Edit: February 02, 2009, 05:39:19 pm by Gekko » Logged

Visit #uqm-arena and play a game of Net Melee!
Try the Net Melee Improvement mod
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Ship Editing For Beginner
« Reply #3 on: January 30, 2009, 10:30:09 am »

* Figure out how to compile this source code into its own exe file. I followed these instructions written by Novus. This part will piss you the hell off.
Fixed that for you. Knowing what you're doing doesn't really help; it's still a pain (under Windows at least; simplifying this stuff is one of the primary reasons why Linux distributions exist!), just a more surmountable one.

I can warn you in advance that the instructions are probably not entirely accurate, either due to changes in the libraries since they were written or human error on my part. They are, however, very useful as guidelines.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Malrunus
Zebranky food
*
Offline Offline

Posts: 13



View Profile
Re: Ship Editing For Beginner
« Reply #4 on: January 30, 2009, 04:53:45 pm »

hrm, best I could do it point at it and stare blankly.  I could have my friend do it, but he probably wouldn't care to, haha.  Any idea when 7.0 comes out?
Logged
jaychant
*Smell* controller
****
Offline Offline

Gender: Male
Posts: 432


Please visit my homepage


View Profile WWW
Re: Ship Editing For Beginner
« Reply #5 on: January 31, 2009, 01:13:48 am »

OK, so I've made some little tweaks to the ships. Now I'm having a little trouble:

Quote
Execute (at MSYS prompt in SDL directory):

cp -rv bin include lib share /usr

How do I do this?

I've tried doing it myself, but I just don't get how to do it. I tried entering the directory, pressing enter, and then entering that stuff. But it didn't do anything.

Forgive me, I didn't grow up with MS-DOS, so Command Prompt (and similar stuff like this MSYS thing) is something I've never really done before.
Logged

Please visit my homepage.
Elvish Pillager
Enlightened
*****
Offline Offline

Posts: 625



View Profile
Re: Ship Editing For Beginner
« Reply #6 on: January 31, 2009, 01:45:43 am »

Fixed that for you. Knowing what you're doing doesn't really help; it's still a pain (under Windows at least; simplifying this stuff is one of the primary reasons why Linux distributions exist!), just a more surmountable one.
Haha, windows losers Tongue
Logged

My team of four Androsynth and three Chmmr is the most unfair team ever!
My mod
Shiver
Guest


Email
Re: Ship Editing For Beginner
« Reply #7 on: January 31, 2009, 03:09:27 am »

jaychant: Novus's directions are for compiling UQM source code to work on Windows. Unless you've recently switched operating systems, the end result won't do you any good.
Logged
jaychant
*Smell* controller
****
Offline Offline

Gender: Male
Posts: 432


Please visit my homepage


View Profile WWW
Re: Ship Editing For Beginner
« Reply #8 on: January 31, 2009, 03:28:02 am »

jaychant: Novus's directions are for compiling UQM source code to work on Windows. Unless you've recently switched operating systems, the end result won't do you any good.

You're worrying me, Shiver. Surely you understand that, since I use Game Maker, which is forcibly tied to Windows because of its use of DirectX, I must be on Windows?

But those instructions aren't good enough. I tried, but I just couldn't understand it. It didn't help that I had absolutely no idea what I was doing either. (You're right; that part DID piss a non-computer wiz off.)
« Last Edit: January 31, 2009, 03:32:51 am by jaychant » Logged

Please visit my homepage.
Shiver
Guest


Email
Re: Ship Editing For Beginner
« Reply #9 on: January 31, 2009, 04:02:24 am »

You're worrying me, Shiver. Surely you understand that, since I use Game Maker, which is forcibly tied to Windows because of its use of DirectX, I must be on Windows?

You are mistaking me for someone who is good at using computers, which I am not.
Logged
jaychant
*Smell* controller
****
Offline Offline

Gender: Male
Posts: 432


Please visit my homepage


View Profile WWW
Re: Ship Editing For Beginner
« Reply #10 on: January 31, 2009, 04:09:56 am »

You're worrying me, Shiver. Surely you understand that, since I use Game Maker, which is forcibly tied to Windows because of its use of DirectX, I must be on Windows?

You are mistaking me for someone who is good at using computers, which I am not.

Clearly you must be better than me if you understand Novus's help. And clearly you also have some understanding of C if you're really creating that balance mod.

You don't need to be good at computers to understand that DirectX is not exactly very portable. Why heck, I don't even know what DirectX is or what it does, and I still know this. (Isn't OpenGL the same kind of thing that DirectX is?)
Logged

Please visit my homepage.
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Ship Editing For Beginner
« Reply #11 on: January 31, 2009, 09:07:51 am »

Clearly you must be better than me if you understand Novus's help. And clearly you also have some understanding of C if you're really creating that balance mod.
The target audience is people with at least a passing familiarity with any one of the major DOS, Windows or Unix shells (i.e. command prompts) and developing software in C. For the record, to go to directory /this/directory, type:
Code:
cd /this/directory
Also, the instructions are geared toward helping someone who may or may not be using the exact same versions of everything.

If there's a demand for it, I'd try to automate the whole process. I could probably write a script to handle the installation starting from a working MSYS environment (i.e. getting all those libraries in place).

Quote
Why heck, I don't even know what DirectX is or what it does, and I still know this. (Isn't OpenGL the same kind of thing that DirectX is?)
DirectX is a bunch of libraries for multimedia (especially game) development. The most important parts are Direct3D, DirectSound and DirectInput. OpenGL and Direct3D do more or less the same things, as do DirectSound and OpenAL. SDL is often used as an equivalent to DirectX, with OpenGL and OpenAL replacing SDL's limited graphics and audio functionality.
« Last Edit: January 31, 2009, 09:19:25 am by Novus » Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
jaychant
*Smell* controller
****
Offline Offline

Gender: Male
Posts: 432


Please visit my homepage


View Profile WWW
Re: Ship Editing For Beginner
« Reply #12 on: January 31, 2009, 12:50:14 pm »

If there's a demand for it, I'd try to automate the whole process. I could probably write a script to handle the installation starting from a working MSYS environment (i.e. getting all those libraries in place).

That would be great! Then all we would have to do to compile the source is download all that stuff and run the script (and tell the script where the stuff is).
Logged

Please visit my homepage.
jaychant
*Smell* controller
****
Offline Offline

Gender: Male
Posts: 432


Please visit my homepage


View Profile WWW
Re: Ship Editing For Beginner
« Reply #13 on: February 04, 2009, 12:11:21 am »

SORRY FOR THE DOUBLE POST BUT I NEED HELP NOW, AND YOU WOULDN'T SEE MY EDITED POST.

I finally tried to do this again. I made it to the very last command, but I got this error:
Code:
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lvorbisfile

Can somebody help, please?
Logged

Please visit my homepage.
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!