my own effects are not coming out right
Information and discussion for custom maps and mods.
			
		
		
			- 
				
																			 umairazfar
- Posts: 92
- Joined: Mon Sep 08, 2014 1:01 pm
						
						
													
							
						
									
						Post
					
								by umairazfar » 
			
			
			
			
			I am planning on changing a few effects in the game. My first attempt to change the rocket smoke effect has failed  however.
I created this PNG
 
I converted it into SHP using this command:
OpenRA.Utility.exe ra --shp aircraftcarrier.png 
as given at the end of this page:
https://github.com/OpenRA/OpenRA/wiki/C ... p-by-step)
But in game when ever the rocket soldier fires the rocket, I can see the entire sprite sheet rather than one image at a time (with black border).
How can I fix this?
					- 
						Attachments
					
- 
			
		
				
			 
- smokey.png (7.94 KiB) Viewed 5821 times
 
 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 Phrohdoh
- Posts: 28
- Joined: Wed Apr 09, 2014 2:30 am
- Location: Dallas, TX
						
						
													
							
						
									
						Post
					
								by Phrohdoh » 
			
			
			
			
			The OpenRA.Utility has changed quite a lot without the wiki being updated, unfortunately.
Your source (the art you created) now needs to be in multiple png files instead of a spritesheet.
Code: Select all
OpenRA.Utility.exe ra --shp file1.png file2.png fileN.png
Will create the shp you want.
 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 umairazfar
- Posts: 92
- Joined: Mon Sep 08, 2014 1:01 pm
						
						
													
							
						
									
						Post
					
								by umairazfar » 
			
			
			
			
			OK that worked, but now I have a new problem as explained in this screenshot. What am I doing wrong?
P.S. If I get this to work I will write a wiki entry about it so that others might now run into the same problem
			
							
					- 
						Attachments
					
- 
			
		
				
			 
- smokeyscreen.png (511.67 KiB) Viewed 5786 times
 
 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 umairazfar
- Posts: 92
- Joined: Mon Sep 08, 2014 1:01 pm
						
						
													
							
						
									
						Post
					
								by umairazfar » 
			
			
			
			
			Finally learned how to make a proper SHP. I made the wiki entry 
here for any future modder who treads the same territory.
 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 Matt
- Posts: 1160
- Joined: Tue May 01, 2012 12:21 pm
- Location: Germany
						
						
													
							
						
									
						Post
					
								by Matt »