• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum Freelancer Modding Tutorials
« Previous 1 2 3 4 5 Next »
CRC editing, .ale - all the weird stuff

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

CRC editing, .ale - all the weird stuff
Offline Dragan
02-10-2016, 01:31 AM,
#1
Member
Posts: 88
Threads: 15
Joined: Aug 2007

So, I'm a hobby modder myself; I know most basic stuff, how to add ships, weapons, goods, infocards, system etc. etc. etc. .. now I wanted some fancy stuff, and tried to gather some information of how to edit weapon effects.

There seems to be no decent tutorial of what tools I need, and what I have to do to recolor for example a random effect. Dunno. br_tachyon_04_proj, for example. I know how to edit basic beam effects (such as used for most laser guns for example), but this is giving me an headache.

Does anyone has a decent tutorial at hand or perhaps is willing to explain me a thing or two?
  Reply  
Offline ChillerMiller
02-10-2016, 02:43 AM,
#2
Apex Predator
Posts: 1,036
Threads: 46
Joined: Jun 2010

Click me

@Treewyrm wrote this document a long time ago. It tells you what tools you need in order to edit .ale files.

You'll need the Freelancer XML Project (link here). Use UTFXML to convert the .ale file into an .xml file, then you can edit it with an editor such as Notepad++ or something similar.

Open the .xml file and search for BasicApp_Color. I'll show you an example:

<effect type="0x201" name="BasicApp_Color">
<rgb_header type="4" count="1">
0:
<rgb type="4" count="1">
0: 1, 1, 1
</rgb>
</rgb_header>
</effect>

Effects are usually separated into parts, each one having different properties. For example, the projectile of br_tachyon_04 has three different parts, including color entries. This, of course, means that you have to edit three colors if you want to change it.

In the example you see the numbers 0: 1, 1, 1. This means the color is white. So whenever you want to change it, check out the RGB code of the color you want. For example you want your gun to be pink, which has the RGB code 255, 192, 203. Divide those numbers by 255 and use these values to have the color pink ingame. Example:

<effect type="0x201" name="BasicApp_Color">
<rgb_header type="4" count="1">
0:
<rgb type="4" count="1">
0: 1, 0.7529411, 0.7960784
</rgb>
</rgb_header>
</effect>

The color for that effect part is now pink.

Save the edited .xml file and use the XMLUTF converter to change it back to an .ale file and c/p it into the weapon fx folder and test it out ingame.

I'm pretty terrible at explaining stuff like that, so feel free to contact me via forum PM or skype (contact details in my profile) if you have more questions etc.
Reply  
Offline Dragan
02-10-2016, 05:49 PM, (This post was last modified: 02-10-2016, 06:22 PM by Dragan.)
#3
Member
Posts: 88
Threads: 15
Joined: Aug 2007

Thanks a lot! This saved my day! I'll look thoroughly through it and experiment with it. If I encounter some questions I'll contact you. :3

FreelancerXMLproject is poking on me not having Freelancer installed, urgh.



Also, why is there a duck?
  Reply  
Offline ChillerMiller
02-10-2016, 07:54 PM,
#4
Apex Predator
Posts: 1,036
Threads: 46
Joined: Jun 2010

(02-10-2016, 05:49 PM)Dragan Wrote: Thanks a lot! This saved my day! I'll look thoroughly through it and experiment with it. If I encounter some questions I'll contact you. :3

FreelancerXMLproject is poking on me not having Freelancer installed, urgh.



Also, why is there a duck?

Yeah I had that too, it's pretty annoying. A fresh FL install fixed it.

The duck is our lord and master.
Reply  
Offline Dragan
02-10-2016, 08:31 PM, (This post was last modified: 02-10-2016, 08:44 PM by Dragan.)
#5
Member
Posts: 88
Threads: 15
Joined: Aug 2007

Now I'll have to get a proper FL install somewhere. The one I usually am using is like unpack and ready to go, but lacks a setup.

So duck is the official Discovery religion?
  Reply  


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
2 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode