View unanswered posts | View active topics It is currently Thu Mar 28, 2024 5:06 pm



Reply to topic  [ 2 posts ] 
 Automatic Unmapped Lands 2 faction file generator 
Author Message
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Automatic Unmapped Lands 2 faction file generator
If you don't know what is Unmapped Lands 2 or it's faction files this topic is probably useless for you.

Well it's not actually that automatic and probably won't parse some mods or miss some items. This Python script takes any specified .rte folder and dumps all buyable actors and items to the UL2 .lua faction file (it also prints all parsed files and all found objects on the screen). You don't have to manually copy/paste prices, preset names, descriptions and module names. But you still have to assign research costs, powers, weapon and actor types, faction-specific values etc.

Generated file is 100% working UL2 faction file (at least if script didn't encounter any errors while parsing) you just need to edit some values.

You need to install python 3.2 to run this script.

This script never updates existing faction files. Output file is completely overwritten after each run, so all your edits will be lost.

Examples and manual can be found in the script itself. If you encounter any problems parsing some specific mods PM me what mods you tried to parse and I'll try to fix errors in script. I've tried to run it against some existing big and small mods and it looks like everything works acceptable.

I hope there is one excuse less to not support Unmapped Lands 2 in your mod )))


Attachments:
MakeFaction.zip [3.17 KiB]
Downloaded 1069 times
Mon Sep 17, 2012 11:13 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: Automatic Unmapped Lands 2 faction file generator
Oh God awesome, I really hated to manually do them!

New World Industries will have a new faction file soon =D!


Tue Sep 18, 2012 1:43 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.048s | 16 Queries | GZIP : Off ]