• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Interactive DarkMap
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 The Community Freelancer Forum
« Previous 1 … 5 6 7 8 9 … 67 Next »
[Event Tool] - Mass-Solar spawning

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

[Event Tool] - Mass-Solar spawning
Offline Remnant
03-11-2018, 02:38 AM, (This post was last modified: 03-11-2018, 06:57 AM by Remnant of the Old.)
#1
Member
Posts: 2,205
Threads: 247
Joined: Apr 2012

There is some fun functionality with some of the spawning commands. AI can be spawned. Solars also can be spawned. I made more things.



Mass Solar Spawning (Tool)

This is untested. I am 100% sure that this program will work to the specifications of the command syntax listed below. I cannot go ingame and test it myself, however, due to lacking access to the command myself.


What is it?
There exists an (administrator only) command which can spawn solars into space, provided that you fill out the command with the proper information. This is pretty darn tedious, given everything that it requires.

[+]Command syntax
Code:
.custombasecreate <archtype> <loadout> <type> <Posx> <Posy> <Posz> <Rotx> <Roty> <RotZ> <affiliation> <name>
What if you wanted to create a lot of objects at once? What if you wanted to completely customize an empty system with solars for an event? You'd have to type all of that out for every. single. object.

To remedy that issue, I created a little tool which aids in pulling information from the system .ini files, and converts it automatically into an Auto Hotkey script capable of spawning all of the objects in with a single key combination.

How do I use it?
[+]Inquire within..
First things first, you need to prepare all of your objects that you want to spawn. This is done through your favorite System Editor. (Probably Freelancer Mod Studio)

Due to the constraints of the command, you'll have to be careful with what you spawn. I don't THINK you can spawn stars or planets, although who knows. There might be archetype tricks and loadout tricks you can do with that.

You may want to fly around your edited system locally, just to make sure that everything is in it's proper place and looks good.

Once you've inserted all of your new objects into the system, you NEED to give everything new a common prefix regarding the 'name' field. (See screenshot below) - This makes sure that you're only spawning in new objects. The tool will not include objects not matching your prefix, in the macro.

System Editor - Note the prefix in this case, is "event_"
Load the .ini file
Apply the prefix

Save, and you have your script!

Activation Keys

Control + Shift + V - Spawns all of the objects you've prepared
Control + Shift + Z - Deletes all of the objects you've prepared *warning: This is really, really loud. Turn down your volume.

[+]Things to note
  • If you do not insert any rotation values in the editor, they will default to 0, 0, 0
  • If you do not insert a loadout for the object, it will default to null_loadout
  • If you do not insert an object reputation, it will default to fc_neutral
  • Parameter 3 of the command is 'type' - This is PERMANENTLY set to Solar. I do not know the other options. With some refresher (or a pointer to the FLHook plugin) I'll free that up for customization.
  • To name the objects appropriately, I recommend you give them in the editor, an empty infocard value, and override it serverside with the correct name if it's targetable.

Do I have anything else to say?
Yeah. I'm utter garbage at making GUIs. Forgive the really crappy file selector. I probably should have used JavaFX instead of SWING.
I'm also pretty bad at writing documentation. If this is too confusing, I'll take another pass at it later.

Where can I get this tool?
Download me!
Note that this was written in Java, so you'll need java to run it. Sorry!
If any tweaks need to be made, throw me a message, and I'll do such
Reply  


Messages In This Thread
[Event Tool] - Mass-Solar spawning - by Remnant - 03-11-2018, 02:38 AM
RE: [Event Tool] - Mass-Solar spawning - by Alex. - 03-11-2018, 06:05 PM
RE: [Event Tool] - Mass-Solar spawning - by Remnant - 03-11-2018, 06:51 PM
RE: [Event Tool] - Mass-Solar spawning - by Alley - 03-11-2018, 09:23 PM
RE: [Event Tool] - Mass-Solar spawning - by Alex. - 03-11-2018, 09:31 PM
RE: [Event Tool] - Mass-Solar spawning - by Remnant - 03-11-2018, 09:31 PM
RE: [Event Tool] - Mass-Solar spawning - by Alex. - 03-11-2018, 09:43 PM

  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



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