Pages: [1] 2 3
|
|
|
Author
|
Topic: Ship editing and Graphics (Read 12543 times)
|
Arne
Enlightened
Offline
Gender:
Posts: 520
Yak!
|
I posted this in another thread (cheat codes) but decided I was too far off topic, so new thread it is.
It would be nice with some quick and dirty support for ship editing, just something for people to toy with until the real resource system gets done (which could be a while).
Where does the ship values end up? In the .exe or in the .shp files? The .shp files in UQM are smaller than in the old PC version right?
One thing that hinders editing hungry people is having to draw angles*sizes (16*3 ?) images for each ship. It could of course be automated by an external program. I could write one. Maybe I will... right now. Or maybe not, cuz I'm incredibly lazy.
I made some rotation tests anyways. It seems 3x gives best symetry (because of the center pixel). It depends on where you put the handle/hotspot though. On most I didn't put it anywhere special, but the one's marked (A) had the same handles aligned to the pixels.
The 2x ship didn't end up symetrical because different source pixels were selected on respective sides of the ship.
These are all nearest neighbour scaling/rotation. No aliasing.
(firefox mouse gesture users can scale up with diagonal down-right)
Here's the 3x version rotated with photoshop (seem to sharpen it a bit), then scaled down with bilinear. I'm not a huge fan of blur. For my project I'm using 5 x originals and then I sample just a couple of the 25 pixels per source block (maybe 3 in a triangle). (Scaled up 3x for clarity)
Edit: Here's the 2x ship scale-rotated in PS with aliasing (I think it sharpens too), then pasted onto a canvas using the SC2 palette. (No doubt using some illegal colors). Not sure how hot it looks without the light angles that the original SC ships have.
In any way it would be nice not having to draw all those frames, even if it doesn't look as good. It would probably be affordable to have the game (pre?)generate the frames.
|
|
« Last Edit: June 21, 2005, 09:37:01 am by Arne »
|
Logged
|
|
|
|
Ivan Ivanov
*Smell* controller
Offline
Gender:
Posts: 296
Internet Piracy
|
Ladies and Gentlemen it is done! By downloading this neat little package: Just the exec and content files (if you already downloaded all the dll's and just want the newest version of the mod) Just the the dll's (if you have the mod but forgot the dll's) The exec, content files and the dll's (to install the mod from scratch)
and unzipping it in your UQM directory, you will now be able to edit all the ships (excluding the Sa-Matra and Vindicator). The properties are stored in the text files, in the content direcotry. Have fun!
EDIT: By the way, Arne, I think your idea is too much work with too little payback. If anyone is able to make one frame of a ship, he will be able to do as many of them as he needs. Most, if not all graphics programs have the option of rotating an image, so I don't see a problem here.
|
|
« Last Edit: June 26, 2005, 04:21:36 pm by Ivan_Ivanov »
|
Logged
|
Your bruises are reminders of naivete and trust
|
|
|
Deus Siddis
Enlightened
Offline
Gender:
Posts: 1387
|
"Ladies and Gentlemen it is done! By downloading this neat little package and unzipping it in your UQM directory, you will now be able to edit all the ships (excluding the Sa-Matra and Vindicator). The properties are stored in the text files, in the content direcotry."
Hmm, I keep getting the message "This application has falied to start because SDL.dll was not found. Re-installing the application may fix this problem."
I put the unzipped "uqmESP" folder in the "Ur-Quan Masters" folder, did I do something wrong?
"By the way, Arne, I think your idea is too much work with too little payback. If anyone is able to make one frame of a ship, he will be able to do as meny of them as he needs. Most, if not all graphics programs have the option of rotating an image, so I don't see a problem here."
Yea, especially if the ships are rendered off a 3D program.
|
|
|
Logged
|
|
|
|
|
Deus Siddis
Enlightened
Offline
Gender:
Posts: 1387
|
"Ok, download the zip once again, it has alll the dll's I have, just to be sure."
I replaced them, but I still get the same message. Weird.
Just to make sure, you're supposed to unzip uqmESP, then put the unzipped folder uqmESP directly in the main Ur-quan Masters directory (no sub-directories). Then you open the uqmESP main executable file inside the uqmESP folder, right?
|
|
|
Logged
|
|
|
|
|
Deus Siddis
Enlightened
Offline
Gender:
Posts: 1387
|
Yea, I had tried doing that too, with the same result. One thing has changed, though. It now says it's missing "MSVCRTD.dll". It has SDL.dll now, it came on the updated zip you uploaded. But now it thinks it needs this MSVCRTD.dll, as well.
|
|
|
Logged
|
|
|
|
Ivan Ivanov
*Smell* controller
Offline
Gender:
Posts: 296
Internet Piracy
|
Yea, I had tried doing that too, with the same result. One thing has changed, though. It now says it's missing "MSVCRTD.dll". It has SDL.dll now, it came on the updated zip you uploaded. But now it thinks it needs this MSVCRTD.dll, as well.
Wow, this one I didn't expect. If I could ask you something Deus. Finding a download of these files is as easy as typing their name in google. If you'd be so kind, could you download all the missing files one by one, and make a list of them so I can put them in the zip?
EDIT: Still, it is strange that the regular Ur-Quan Masters work fine and my little mod needs additional libraries... More experienced programming comrades, if you could tell me what the hell is going on, I'd really appreciate it.
|
|
« Last Edit: June 26, 2005, 02:21:44 am by Ivan_Ivanov »
|
Logged
|
Your bruises are reminders of naivete and trust
|
|
|
Deus Siddis
Enlightened
Offline
Gender:
Posts: 1387
|
Ok, I downloaded it and the game runs now. Let's see how tough those fat maggots are when my cruiser has 50 crew, hardy, har, har. Anyway, I needed SDL.dll and MSVCRTD.dll to make it run.
|
|
|
Logged
|
|
|
|
Deus Siddis
Enlightened
Offline
Gender:
Posts: 1387
|
Something interesting happened. I edited the cruiser fire rate so that it could fire off large salvos very quickly. The funny thing is that now all weapons on all ships have a very fast fire rate. Hehe, I drove my super cruiser up to an urquan thinking he'd chewed his last leaf. Instead I found he could fire off a beam of fusion that ripped through my hull in .1 seconds. The kohrah is even better. His f.r.i.e.d. unfolds like a blue rose. . .that obliterates a dreadnaught with one pass.
|
|
|
Logged
|
|
|
|
Ivan Ivanov
*Smell* controller
Offline
Gender:
Posts: 296
Internet Piracy
|
Ok, fixed it. They were stupid copy-pasting mistakes. The Ur-Quan ship read the Chmmr file, that's why its main weapon was so quick, and the Kohr-Ah's FRIED energy cost was accidently set to... 1 I also corrected some other minor things, though I'm not sure if they even will be visible gameplay-wise.
Anyway, thanks for the help with testing Deus.
Here are the new files: Just the exec and content files Just the the dll's The exec, content files and the dll's
As for interesting things... try changing the ship's mass to, say, 1000, and start ramming your enemies...
|
|
« Last Edit: June 26, 2005, 10:01:20 pm by Ivan_Ivanov »
|
Logged
|
Your bruises are reminders of naivete and trust
|
|
|
Deus Siddis
Enlightened
Offline
Gender:
Posts: 1387
|
"Anyway, thanks for the help with testing Deus."
No problem, thanks for giving us the power to defeat dreadnaughts without having to run away like little cowards all the time. It was beginning to affect my self esteem, but now I can proudly fly my souped up cruiser directly into the face of those behemoth slugs, as a true warrior should.
"As for interesting things... try changing the ship's mass to, say, 1000, and start ramming your enemies..."
Hehe, that's like a whole new weapon on its own. Maybe one of the weakest ships should be given this ability, like the umgah drone.
|
|
|
Logged
|
|
|
|
|
seankreynolds
Zebranky food
Offline
Gender:
Posts: 39
Lovin' the game
|
Curious ... any way to plug this in to the Mac version? I remember hexedit-hacking the SHP files on the PC version of SC2 and having some CRAZY high-powered battles with my room-mate, it would be fun to do that again.
|
|
|
Logged
|
|
|
|
Nate90909
Zebranky food
Offline
Posts: 1
I love YaBB 1G - SP1!
|
Alright, I know im new, but I have no ability whatsoever at fighting in this game. I dont know why, or how, but I have never won one battle...except the very first one and barely at that. So Using this to set the earth cruiser to shoot super fast with low energy I find for my first time I beat somebody!! Only to find out after I win it just sits there zoomed in on my ship and does nothing...this is a bug I dont like at all.
|
|
|
Logged
|
|
|
|
Pages: [1] 2 3
|
|
|
|
|