Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Maps, Mods and Editors » *.sti editing / creating new graphics
Re: *.sti editing / creating new graphics[message #224476]
|
Tue, 30 June 2009 23:19 ![Go to previous message Go to previous message](/theme/Bear_Classic_Brown/images/up.png)
|
|
Shanga |
![](http://thepit.ja-galaxy-forum.com/images/custom_avatars/2.png) ![](/images/ranks/captain.png) |
Messages:3480
Registered:January 2000 Location: Danubia |
|
|
1. You said with a random name the STI looks fine in game, right?
2. Once you "borrow" the name from a generic STI you get wierd pallete, right?
3. Hence it's not a color problem, it's a name conflict.
PS: I opened your truck.jsd in dotnet editor and it's quite way off, check it yourself.
TEST 1. Initial load test
![http://www.ja-galaxy-forum.com/shanga/truck.jpg](http://www.ja-galaxy-forum.com/shanga/truck.jpg)
1. I opened truck.sti from 0
2. I pasted your bmp at the end of the browish truck (twice since original file has 2 frames)
3. I put the edited sti in /tilesets/0 and fired up editor
4. I changed tileset to 16 (!!! watch this...check what follows now...)
5. ...although truck.sti is in 0, it shows up as debris in all tilesets.
6. Hence i was able to place the edited image.
Background is bad cause your image had it green lime, truck had it black. Direct Paste convered the colors and it resulted in green turning to grey. But that's beside the point, the rest of the image looks ok.
TEST 2. Making a mess
What happens when game/sti images are done in Truck pallete and you apply a new pallete over them files? Like yours, with lime green bg. I replicated the process using STIedit, don't even need the game. Looks familiar?
![http://www.ja-galaxy-forum.com/shanga/truck_bad.jpg](http://www.ja-galaxy-forum.com/shanga/truck_bad.jpg)
1. I opened the edited TRUCK.sti (it has the original Truck pallete, as I said)
2. I loaded and applied YOUR pallete (exported from the STI you uploaded)
3. Total messup.
4. This is exactly what happens in game.
I will reproduce exactly now the steps needed to get YOUR image in truck.sti with YOUR pallete. I'll be done in 5 min, brb.
TEST 3. How it's done safely
![http://www.ja-galaxy-forum.com/shanga/truck_good.jpg](http://www.ja-galaxy-forum.com/shanga/truck_good.jpg)
1. I already had YOUR pallete exported from STIedit as Sirtech Pallete (new.stp)
2. I fired up STIedit and picked New STI option.
3. It asked me if I want a multipage STI, yes (JSD has 2 slots)
4. It also asked me if I want to pick a pallete, I said yes, and pointed to your pallete (new.stp)
5. I copied your vase from your STI and pasted it in my file (twice, to make 2 frames)
6. I saved the new TRUCK.STI and put it in Tilesets/0
7. I fired up editor, changed to tileset 16, picked rocks (2), placed your vase
8. Shadow is all wrong cause of truck, but colors seem perfect to me.
Next... testing your original sti.
TEST 4. Laughing my arse and smacking my head against the table
![http://www.ja-galaxy-forum.com/shanga/truck_lex.jpg](http://www.ja-galaxy-forum.com/shanga/truck_lex.jpg)
1. Took your original unaltered truck.sti
2. Placed it in /0 (not /16!!)
3. Fired up editor, changed Tileset to Lawless (16)
4. Placed both your vases.
5. They look perfect
Next..conclusions...
5. What you did wrong
All you did wrong was to leave a Truck.sti in 0 and place your new file in /16. This caused a conflict between the two palletes, since both STI files were loaded at once.
So remember always to check for a primary file in /0. If it's there it WILL be loaded. Your options are:
A) you edit that file and take the risk of ALL tilesets where the edited object is placed to have a vase instead of a truck
B) you create a new STI and a new JSD from scratch
C) you edit files specific to each tileset and not present in 0.
NOTE: Be carefull with the number of frames if the file is an object with JSD. You need to replicate the exact number of frames. You also need to know what you're replacing. If you're replacing a door with a vase, it's obviously a bad thing, cause the JSD for door is more complex.
So you did it all right when editing the file. I recommend you study the JSD editor and write a detailed documentation of your experiments. If you manage to use it to create a good pair of STI+JSD you'll be helping a lot of aspiring modders.
[Updated on: Wed, 01 July 2009 05:36] by Moderator Report message to a moderator
|
|
|
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
*.sti editing / creating new graphics
By: Lexx on Sun, 28 June 2009 20:54
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Mon, 29 June 2009 00:45
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Mon, 29 June 2009 00:56
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Mon, 29 June 2009 01:13
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Mon, 29 June 2009 09:28
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Mon, 29 June 2009 11:42
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Mon, 29 June 2009 12:47
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Mon, 29 June 2009 13:53
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Mon, 29 June 2009 13:57
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Mon, 29 June 2009 18:38
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Mon, 29 June 2009 23:32
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Tue, 30 June 2009 04:37
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 09:28
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Tue, 30 June 2009 09:47
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 10:35
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Tue, 30 June 2009 12:11
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 19:09
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 20:44
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Tue, 30 June 2009 21:14
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 21:49
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Tue, 30 June 2009 21:57
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 22:09
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 22:31
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 30 June 2009 22:41
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Tue, 30 June 2009 23:19
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Wed, 01 July 2009 00:16
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Wed, 01 July 2009 01:41
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Shanga on Wed, 01 July 2009 02:21
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Wed, 01 July 2009 02:45
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Wed, 01 July 2009 23:20
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: gmonk on Wed, 01 July 2009 23:29
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Wed, 01 July 2009 23:42
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Sat, 04 July 2009 19:10
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Sun, 05 July 2009 12:50
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Kaerar on Sun, 05 July 2009 15:50
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Tue, 14 July 2009 23:09
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: gmonk on Wed, 15 July 2009 10:53
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
|
![Read Message Read Message](/theme/Bear_Classic_Brown/images/read.png) |
|
Re: *.sti editing / creating new graphics
By: Lexx on Wed, 15 July 2009 21:19
|
Goto Forum:
Current Time: Tue Feb 11 12:05:48 GMT+2 2025
Total time taken to generate the page: 0.01400 seconds
|