Thread Tools
Old June 5, 2002, 12:39   #1
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 23:00
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Have I found a Sprite Editor!?!
There is a file called SpriteEditor.idl in the uidata.
Has anyone ever looked into this file.

Here is what is written in it
Code:
# SpriteEditor.ldl

SpriteEditor {

	string	xanchor	"left"
	string	yanchor	"top"

	int	xpix	0
	int	ypix	0

	int	widthpix	800
	int	heightpix	232

	# File Controls
	STLoadButton:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	200
		int	ypix	170
		
		string text "str_SprEd_Load"
	}

	STSaveButton:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	300
		int	ypix	170
		string text "str_SprEd_Save"
	}

	# Filename handling
	Name:CTP2_STANDARD_FONT {
		string	image0	"error.tga"
		int	xpix	200
		int	ypix	152
		int	widthpix	200
		int	heightpix	22
	}

	# Animation Selection
	STMOVEAnim:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	100
		int	ypix	0
		string text "str_SprEd_Move"

	}

	STATTACKAnim:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	100
		int	ypix	22
		string text "str_SprEd_Attack"
	}

	STIDLEAnim:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	100
		int	ypix	44
		string text "str_SprEd_Idle"
	}

	STVICTORYAnim:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	100
		int	ypix	66
		string text "str_SprEd_Victory"
	}

	STWORKAnim:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	100
		int	ypix	88
		string text "str_SprEd_Work"
	}
	
	STPlayStepPlus:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	375
		int	ypix	0
		string text "str_SprEd_StepPlus"
	}

	STPlayStepMinus:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	375
		int	ypix	22
		string text "str_SprEd_StepMinus"
	}


	STPlayOnce:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	375
		int	ypix	44
		string text "str_SprEd_PlayOnce"
	}
	
	STPlayLoop:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	375
		int	ypix	66
		string text "str_SprEd_Loop"
	}

	STFacingPlus:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	375
		int	ypix	88
		string text "str_SprEd_FacingPlus"
	}

	STFacingMinus:CTP2_BUTTON_TITLE_BAR {

		int nodatabase 1
		int	xpix	375
		int	ypix	110
		string text "str_SprEd_FacingMinus"
	}
	# Coords of the current hotspot
	CoordsHotSpot:CIV_BOX {
		int	xpix	700
		int	ypix	20
		int	widthpix	100
		int	heightpix	22
	}
	# Coords of the cursor on the large window
	CoordsCursor:CIV_BOX {
		int	xpix	700
		int	ypix	50
		int	widthpix	100
		int	heightpix	22
	}
	CoordsHerald:CIV_BOX {
		int xpix 700
		int ypix 80
		int widthpix 100
		int heightpix 22
	}
}

STLargeImage {

	int	xpix	475
	int	ypix	0

	int	widthpix	225
	int	heightpix	225
}
$
I think it is probably unused.
And what do you think it would happen if we insert it into the game.

Do you think it does what it says in the name ?
If you give an over look it gives an idea it does.

Or it is something inofensive ?

Any ideas?
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand

Last edited by Pedrunn; June 5, 2002 at 12:46.
Pedrunn is offline  
Old June 5, 2002, 15:00   #2
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: 04:00
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I looked into this file, and I wasn't able to get it to work. Maybe there is code of a sprite editor in the ctp2.exe but then it is unused or not accessable. As far as I know CTP2 sprites are not compartible with CTP1 so there must be a different, so there must be a tool for that, maybe an in-game editor in the alpha/beta versions. Maybe Locutus could tell us more about, so far as I know the alpha/beta versions of CTP2 had a lot of debugging tools. Or the sprite editor was one of the features that wasn't finished before the release, yeah just a little bit more money and CTP2 would be the great game as it could be with everything. By the way the CTP1 sprite make tool looks as it would be a huge amount code ripped of the civctp.exe. At least you get the impression if you do a string search in both files.

-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 22:00.


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