Posted: Thu Dec 13, 2007 12:46 pm |
|
Hi Ebenezer...
| OK well project 1 is done, fixed the space dust to look MUCH better. |
I'm curious, where did you change this?
| 3. When you leave a base with a mission and the text scrolls talking about you're mission, I'd like to change the font a little and slow down how fast it scrolls by, how? |
Most likely in vegastrike.config
Got the room where you can buy centurians and such to look much much better.
got all the upgrades and stuff to look much better in the buying menu. |
So you made new textures? Really, don't hesistate to share them with PU if you'd like to make them available to public. We don't have any 2D artworkers in team!!
| Seems like I can't get some to display right, or I can't get some animations to land in the right place. |
The images are drawn as backgrounds and get a python "map" overlapped. Those maps have coordinates with sorta "hyperlinks" to other rooms. So if you change the resolution only a bit, the game might "move" the rooms e.g. to the right. I assume this is what you're talking about, right?
| I'm trying specifically to do the radar upgrade room 1st and it ain't going well. The original jpg is 512x256 and the one I want to replace it with is 512x512, and I just can't seem to get it working right. Tried editing the spr file a little, I could really use a good brief rundown of how they work or what command I could put in there to fix the image scaling/placement. |
First of all, the game uses PNGs not JPGs, so if you don't get the image displayed, try to convert it to PNG. Second, be aware that the image is only being positioned in the upper left corner. Obviously it needs this to be able to rescale in various resolutions. Make sure you duplicate this method. Third, the room layout coordinates are stored within the various python files, for example /bases/unit.py is for the refinery:
| Base.Link (room1, 'merchant', 0.03, 0.0933333, 0.22, 0.176667, "Merchant's Guild", merchant) |
This is the link which loads the entry to the Merchant's Guild. I've marked the relevant values for you.
Red = Position of the link in x (0.03 = nearly in the middle of the x-axis)
Orange = Position of the link in y (0.093 = slightly above of y=0)
Note that the positions are being drawned on a cross:
...............I +1 y...
...............I...........
...............I...........
...............Ix.........
.-1 --------+-------- +1 x
...............I...........
...............I...........
...............I...........
...............I -1 ......
The plus is the center of your image. The x shows where the link is being generated, approximately.
Blue = Length of the link in 100*% of the image (0.22 = 22%)
Violet = Height of the link in 100*% of the image