View unanswered posts | View active topics It is currently Wed Dec 25, 2024 5:01 pm



Reply to topic  [ 9 posts ] 
 Nothing happens? 
Author Message
User avatar

Joined: Sat Oct 26, 2013 2:51 pm
Posts: 32
Location: Behind your window
Reply with quote
Post Nothing happens?
In regard of my last post (http://forums.datarealms.com/viewtopic.php?p=550573#p550573) where I asked about a program to sprite, I found a little problem where I haven't found a solution to... When I copy a vanilla faction and edit it a little bit it won't show up as my edited version and just be the same as before...

It might be a really stupid question... Sorry about that :-(


Sun May 04, 2014 9:42 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Nothing happens?
By copying a vanilla faction, what do you mean specifically? Copying the entire .rte folder and there you edit your sprites? If that's the case, I think the problem is that the code still references the original faction's sprites.


Sun May 04, 2014 9:51 pm
Profile
User avatar

Joined: Sat Oct 26, 2013 2:51 pm
Posts: 32
Location: Behind your window
Reply with quote
Post Re: Nothing happens?
Yes I copied the .rte gave it another name and stuff.


Sun May 04, 2014 9:58 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Nothing happens?
Alright then, that's the problem, you are still referencing everything from the other mod!

Solution is simple, find the code for the thing you want to edit, and change the paths for the sprites to the sprites you want to use now.

For example, if you copied Coalition.rte and your new faction is called CoalitionResprite.rte (or w/e, really), and you want to edit the sprite of the assault rifle, you'd go to CoalitionResprite.rte/Devices/Weapons/Machineguns.ini, and look for a line that reads

Code:
   SpriteFile = ContentFile
      FilePath = Coalition.rte/Devices/Sprites/RifleSubAutoA.bmp


There you'll change the FilePath to the path of your new, edited sprite. Now, the line below of that should say "FrameCount = X", where X is the number of sprites used for the weapon. If you use only 1 sprite, set it to one, otherwise it'll give you an error.

I hope I was clear, else, ask again :P


Sun May 04, 2014 10:03 pm
Profile
User avatar

Joined: Sat Oct 26, 2013 2:51 pm
Posts: 32
Location: Behind your window
Reply with quote
Post Re: Nothing happens?
Woah!

Well Im pretty new to spriting/modding so if im gonna get into the stuff you're saying i'll get it, eventually :D.


Sun May 04, 2014 10:05 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Nothing happens?
It's all about practice and messing around with stuff, and as you said, eventually you'll get a hang of it.


Sun May 04, 2014 10:06 pm
Profile
User avatar

Joined: Sat Oct 26, 2013 2:51 pm
Posts: 32
Location: Behind your window
Reply with quote
Post Re: Nothing happens?
Haha yeah, well thanks. Im going to ♥♥♥♥ around with some stuff now! Can I maybe PM you if I have any questions? (I promise I wont spam you) If you dont want to say it please :D


Sun May 04, 2014 10:09 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Nothing happens?
Go ahead, though consider that (sadly) I'm not an all-knowing modder. I'll help you with as much as I can, but posting in the forums is always a good option :P


Sun May 04, 2014 10:10 pm
Profile
User avatar

Joined: Sat Oct 26, 2013 2:51 pm
Posts: 32
Location: Behind your window
Reply with quote
Post Re: Nothing happens?
Thank you very much :)


Sun May 04, 2014 10:12 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.038s | 15 Queries | GZIP : Off ]