View unanswered posts | View active topics It is currently Mon Sep 16, 2019 2:02 am



Reply to topic  [ 5 posts ] 
Force-Unlock a Mod Faction? 
Author Message

Joined: Tue Sep 08, 2015 8:58 am
Posts: 6
Reply with quote
I wanted to play around with making a mod faction. Is there a way to set it to automatically be unlocked?


Sat Sep 12, 2015 12:42 pm
Profile

Joined: Thu Mar 05, 2015 12:10 pm
Posts: 239
Reply with quote
Go to your unlock.lua and add in the id # of the faction you want unlocked.

_________________
Image


Sat Sep 12, 2015 1:11 pm
Profile

Joined: Tue Sep 08, 2015 8:58 am
Posts: 6
Reply with quote
Would it be possible to add unlock.lua to the mod folder with that faction unlocked for others who download it?

Also, where is unlock.lua and if I don't have it, what do I need to put in it if I create it?


Sat Sep 12, 2015 1:59 pm
Profile
User avatar

Joined: Sat Jun 06, 2015 3:04 am
Posts: 457
Reply with quote
If you made a new faction, the id# is probably 20. Via unlock.lua:
http://reassemblyerect.com/2015/06/05/all-factions/

The other way to do it is to change the factions.lua in your mod.
Set playable=2 instead of playable 1.

_________________
https://discord.gg/BM4eeqS
http://reassemblyerect.site


Sun Sep 13, 2015 3:49 pm
Profile

Joined: Tue Sep 08, 2015 8:58 am
Posts: 6
Reply with quote
Ah, excellent! That's what I was looking for - thanks. I actually did manage to find my unlocks.lua, though only by having Windows search for it.

The note about setting the playable=2 in factions is awesome though, thanks!!


Sun Sep 13, 2015 5:57 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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® Forum Software © phpBB Group
Designed by ST Software