• 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 Discovery Unofficial Development
« Previous 1 2 3 4 5 Next »
Freelancer multiple object mover

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Freelancer multiple object mover
Offline darkwind
08-07-2020, 01:24 PM, (This post was last modified: 08-07-2020, 01:30 PM by darkwind.)
#1
Frontier Sheriff
Posts: 1,237
Threads: 143
Joined: Oct 2019
Staff roles:
Coding Developer

made small program
[Image: Bke2dNE.png]
to help a friend

it is for a case when you have
[+]input data
[Object]
nickname = BW15_05
ids_name = 514512
pos = -16750, -200, 32153
archetype = space_port_dmg
ids_info = 514513
base = BW15_05_Base
dock_with = BW15_05_Base
reputation = fc_brigands_grp
behavior = NOTHING
voice = atc_leg_m01_ga
space_costume = li_rockford_head, gallia_male_brigands_body
difficulty_level = 17
loadout = space_port_dmg_ga_01
pilot = pilot_solar_easy
;

[Object]
nickname = BW15_05_1
pos = -16715, -125, 32153
rotate = 0, 0, 45
archetype = space_tankl4
parent = BW15_05
;

[Object]
nickname = BW15_05_2
pos = -16785, -125, 32153
rotate = 0, 0, -45
archetype = space_tankl4
parent = BW15_05
;

[Object]
nickname = BW15_05_3
pos = -16750, -344, 32153
archetype = dsy_mod_disc_s
parent = BW15_05
;

[Object]
nickname = BW15_05_4
pos = -16750, -420, 32153
rotate = 90, 0, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_5
pos = -16750, -420, 32153
rotate = 90, 90, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_6
pos = -16750, -420, 32153
rotate = 90, 45, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_7
pos = -16750, -420, 32153
rotate = 90, -45, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_8
pos = -16750, -500, 32153
archetype = dsy_mod_disc_s
parent = BW15_05
;
a.txt like that

and wishing to relocate everything to some other position together, and probably rotating it around some sort of center.
[+]example of result
[Object]
nickname = BW15_05
ids_name = 514512
pos = 6000, 0, 400
rotate = 0, 0, 0
archetype = space_port_dmg
ids_info = 514513
base = BW15_05_Base
dock_with = BW15_05_Base
reputation = fc_brigands_grp
behavior = NOTHING
voice = atc_leg_m01_ga
space_costume = li_rockford_head, gallia_male_brigands_body
difficulty_level = 17
loadout = space_port_dmg_ga_01
pilot = pilot_solar_easy
;

[Object]
nickname = BW15_05_1
pos = 6035, 75, 400
rotate = 0, 0, 45
archetype = space_tankl4
parent = BW15_05
;

[Object]
nickname = BW15_05_2
pos = 5965, 75, 400
rotate = 0, 0, -45
archetype = space_tankl4
parent = BW15_05
;

[Object]
nickname = BW15_05_3
pos = 6000, -144, 400
rotate = 0, 0, 0
archetype = dsy_mod_disc_s
parent = BW15_05
;

[Object]
nickname = BW15_05_4
pos = 6000, -220, 400
rotate = 90, 0, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_5
pos = 6000, -220, 400
rotate = 90, 90, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_6
pos = 6000, -220, 400
rotate = 90, 45, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_7
pos = 6000, -220, 400
rotate = 90, -45, 0
archetype = space_tanks4x4
parent = BW15_05
;

[Object]
nickname = BW15_05_8
pos = 6000, -300, 400
rotate = 0, 0, 0
archetype = dsy_mod_disc_s
parent = BW15_05
More detailed description:
It makes coordinates relative to some center
rotates around of it, if you write degrees for angles more than 0 in program
and then shifts the location of those objects to some position elsewhere
after that, it creates new file b.txt where the changed file is written
or you can rewrite the existing one.

download
github

P.S. so basically this program fastly changes "pos = ..." and "rotate = ...." strings in a file.
some people who change things in solar systems, perhaps need it to move multiple stuff around.

P.P.S. I didn't test it. so not exactly sure if it rotates properly. Yeah I tried to rotate but, not sure if it would correspond well with "rotate = " game parameter.


Interstellar Autogit Ctrl-V Encryptor Discovery At Linux
Dark Tools DarkBot DarkLint DarkStat DarkMap
Reply  


Messages In This Thread
Freelancer multiple object mover - by darkwind - 08-07-2020, 01:24 PM
RE: Freelancer multiple object mover - by Treewyrm - 08-07-2020, 02:30 PM
RE: Freelancer multiple object mover - by Kauket - 08-07-2020, 05:26 PM
RE: Freelancer multiple object mover - by Groshyr - 08-07-2020, 02:39 PM
RE: Freelancer multiple object mover - by Treewyrm - 08-07-2020, 05:11 PM
RE: Freelancer multiple object mover - by darkwind - 08-07-2020, 05:46 PM
RE: Freelancer multiple object mover - by Laz - 08-07-2020, 06:00 PM
RE: Freelancer multiple object mover - by darkwind - 08-07-2020, 06:30 PM
RE: Freelancer multiple object mover - by Skorak - 08-07-2020, 07:30 PM
RE: Freelancer multiple object mover - by Laz - 08-07-2020, 07:39 PM
RE: Freelancer multiple object mover - by Groshyr - 08-07-2020, 07:52 PM
RE: Freelancer multiple object mover - by Laz - 08-07-2020, 08:53 PM
RE: Freelancer multiple object mover - by Groshyr - 08-07-2020, 09:14 PM
RE: Freelancer multiple object mover - by Kazinsal - 08-07-2020, 10:02 PM
RE: Freelancer multiple object mover - by Kauket - 08-07-2020, 10:08 PM
RE: Freelancer multiple object mover - by Laz - 08-07-2020, 10:16 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