Announcement

Collapse
No announcement yet.

Sprite Editor?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?
    Last edited by Pedrunn; June 5, 2002, 12:46.
    "Kill a man and you are a murder.
    Kill thousands and you are a conquer.
    Kill all and you are a God!"
    -Jean Rostand

  • #2
    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!"

    Comment

    Working...
    X