Thread Tools
Old April 17, 2002, 21:41   #1
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
Having trouble please help
Ok i always had a problem making a unit for CTP2 but now i got a nice chance to do it and I really want to but I am having a problem. I use Paint shop pro 7.0 full. And every time i try to create the sprite using the makespr thingy it says alpha error. I use the tutorial provided on this site as a gudie for how to make the unit and do Exactly as they say to and it still doesn't wrk. Can any1 help please
admiralk is offline  
Old April 18, 2002, 06:12   #2
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 23:11
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
The Big Mc to the rescue

I had the same problem

All you have to do is put you unit on a black background
Make the alpha channel save it
And here comes the problem you may be having
Press edit undo alpha and then save the file
As long as the alpha channel has some black to remove your fine.
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website

Last edited by The Big Mc; April 18, 2002 at 06:22.
The Big Mc is offline  
Old April 18, 2002, 07:45   #3
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
thanks for your reply I will try that after work.
admiralk is offline  
Old April 18, 2002, 08:21   #4
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
And try to make sure you have no black pixels in the unit picture. If one is near black, colour it in dark brown or something.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old April 18, 2002, 08:25   #5
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 23:11
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
Any more problems with it just say so here i will be willing to help
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old April 21, 2002, 11:18   #6
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
hey, thanks for the help but it still didn't work. I think it could be me. Maybe I'm making the alpha channel wrong. Here's what i do anyway. I put a pitch black background with 0 everything. Then I go to masks-new-from image-any non zero number-ok. Then all the black disappears. Then when I look at the graphic again there is no black except the rectangle where my unit is in. I try makespr and it says Error in bitmap data pixel with no associated alpha. I hope you guys have some more tricks up your sleve.
admiralk is offline  
Old April 21, 2002, 13:08   #7
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I prefer Paint Shp Pro 4 with this version it is much easier to create the alpha channel you should try to paint all the pixels that changed their colors to black again. That should help IIRC.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old April 21, 2002, 18:23   #8
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
The PSP instructions document is wierd, I never use that way.

Try this:
1) Draw/paste the pic into a 96*72 tif file. Try to avoid using black in the image
2) Select all black pixels (use the magic wand)
3) selections -> invert (you now have all non-black pixels)
4) selections -> save to alpha channel
5) selections -> select none
6) save.

That should work no problem.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old April 21, 2002, 18:30   #9
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Yes, IW is right, the PSP instructions in Harlan's guide never seem to work, what IW describes is very similar, if not identical, to what works for me.
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old April 21, 2002, 18:47   #10
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
From your extensive sprite making experience?
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old April 21, 2002, 19:00   #11
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Well, I *did* do some work... I bet I converted more AoE units to CtP format than you
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old April 21, 2002, 21:32   #12
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
WOW!!!! It worked, it really really worked. IW is GOD!!!!! Life begins and ends with IW. Thanks a million IW.
admiralk is offline  
Old April 21, 2002, 22:07   #13
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
I hate bugging you guys like this but I have to keep asking questions so here goes:


Ok, like always i just ran into a new problem. How do I add units in the game? Also how do I make an attack animation for the game?---(Don't wrry once i start making a scenario hundreds more SLIC questions will pop up..lol)

P.S. Where can i find a good SLIC guide for beginners. It'll save me the embarrasment of asking you guys again and again for questions and answers.
admiralk is offline  
Old April 22, 2002, 07:51   #14
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Quote:
IW is GOD!!!!!
No he's not. Just a prophet or something

Adding units to the game - Hexagonia's site There's a modders guide with full instructions, but basically, you need to change units.txt, uniticon.txt, newsprite.txt, gl_str.txt, Great_library.txt and UnitBuildLists.txt

Follow the patterns and its not too hard.

For unit animations, you need to build them into the sprite. If you have the cow sprite tiff files, you can see the death animation, you need to do a sequence of frames for each animation. Then figure out how to write the sprite script file...

SLIC guides are indexed here and mine is written out in full.

Quote:
I bet I converted more AoE units to CtP format than you
Probably not if you included AoE2. Did you ever release them?

edit: buggering server change has screwed every thread link on the whole site.
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

Last edited by Immortal Wombat; April 22, 2002 at 08:01.
Immortal Wombat is offline  
Old April 22, 2002, 12:26   #15
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by Immortal Wombat
The PSP instructions document is wierd, I never use that way.
Actual these instructions are made for PSP4/5, at least I know that they were correct for PSP4, I tried a demo of PSP6 and this version made the whole process of sprite creating more complicating. And the best thing of my copy I own is that it isn't an expired demo.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"

Last edited by Martin Gühmann; April 22, 2002 at 12:51.
Martin Gühmann is offline  
Old April 22, 2002, 12:46   #16
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Aha, that would be it. Maybe its time for an update?
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old April 22, 2002, 18:56   #17
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Quote:
Originally posted by Immortal Wombat
No he's not. Just a prophet or something
You stole my line!

Quote:
Probably not if you included AoE2.
Dunno, but that's why I didn't...

Quote:
Did you ever release them?
I think I posted a link to one or two fo them somewhere in the CtP1 forums (was a looong time ago). Most of 'em should still be on my HDD or back-up CDs though... somewhere... (Doesn't really matter since I s*ck at graphics so they're ugly anyway).
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old April 22, 2002, 20:23   #18
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
Thanks for the reply the information is very helpful. I'll get started as soon as I can access the SLIC modification stuff, for some reason it don't work. Thanks alot you are very helpful people.
admiralk is offline  
Old April 23, 2002, 06:09   #19
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Quote:
You stole my line!
I thought you were Sid's Messiah?
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old April 23, 2002, 07:47   #20
admiralk
Chieftain
 
admiralk's Avatar
 
Local Time: 18:11
Local Date: October 31, 2010
Join Date: Jan 2001
Location: USA
Posts: 37
Ok 1 more question. Where can I get a list of-----if---thingy's. I don't know what they're called but you guys know. The if this **** happens then the event happens. Thats all I think I need to know before I start trying out SLIC2.
admiralk is offline  
Old April 23, 2002, 08:11   #21
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 00:11
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
HTTP://apolyton.net/ctp2/modification

__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old April 23, 2002, 10:06   #22
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 01:11
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Maybe you like also to visit this place. There you can also find some useful stuff especial the slic2 documentation. But be careful this place is very assimilating. But actual Resitance is futile.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 19:11.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team