Jump to content

Help ! Starter Dron Moding...


ArgMGa

Recommended Posts

Sorry if this is not in the right place.

 

So as the title says, is posible to mod visually or just the stats of the dron one start with? (Not the fighters, i do mean the dron that one use on the start)

I was unable to find any file to edit the dron, is this even posible?

 

Thanks in advance.

Link to comment
Share on other sites

Sorry if this is not in the right place.

 

So as the title says, is posible to mod visually or just the stats of the dron one start with? (Not the fighters, i do mean the dron that one use on the start)

I was unable to find any file to edit the dron, is this even posible?

 

Thanks in advance.

pretty easy:

1) You need the BlockPlan of the design you want to apply to your drone.

2) You need to get it to the serverside and execute the following code:

Entity():setPlan(blockPlan)

In a script running on your drone.

 

 

Or alternative, if the script is not on your drone:

Entity(droneUUid):setPlan(blockPlan)

 

 

Link to comment
Share on other sites

Sorry if this is not in the right place.

 

So as the title says, is posible to mod visually or just the stats of the dron one start with? (Not the fighters, i do mean the dron that one use on the start)

I was unable to find any file to edit the dron, is this even posible?

 

Thanks in advance.

pretty easy:

1) You need the BlockPlan of the design you want to apply to your drone.

2) You need to get it to the serverside and execute the following code:

Entity():setPlan(blockPlan)

In a script running on your drone.

 

 

Or alternative, if the script is not on your drone:

Entity(droneUUid):setPlan(blockPlan)

 

 

 

Okey i have the plan, put it on the plans folder in data and then use this in the chat:

 

/run Entity(droneUUid):setPlan(Ship12.xml)

 

But it doesn work nothing change and there is no error so the command works... is the problem my plan or i have to use this line on a script and then load that script in the dron?

Link to comment
Share on other sites

  • 3 weeks later...

Nobody? like i said before usin Entity(droneUUid):setPlan(/scripts/plan/myplan.xml) wont work nor in a script and the chat... (in the chat with the run command) the comand is running, if i put the plan wrong it says that a plan was espected etc.

Link to comment
Share on other sites

Nobody? like i said before usin Entity(droneUUid):setPlan(/scripts/plan/myplan.xml) wont work nor in a script and the chat... (in the chat with the run command) the comand is running, if i put the plan wrong it says that a plan was espected etc.

 

It was not easily possible to load plans from plan folder before 0.18.2. Watch API Docs and changelog for Avorion 0.18.2 and install beta branch. Did not try this by myself yet and gotta go to work soon. May try it later.

Link to comment
Share on other sites

Nobody? like i said before usin Entity(droneUUid):setPlan(/scripts/plan/myplan.xml) wont work nor in a script and the chat... (in the chat with the run command) the comand is running, if i put the plan wrong it says that a plan was espected etc.

 

It was not easily possible to load plans from plan folder before 0.18.2. Watch API Docs and changelog for Avorion 0.18.2 and install beta branch. Did not try this by myself yet and gotta go to work soon. May try it later.

 

Okay i in the beta already, the same as before it still does nothing, if you can please try it im going to take my time reading the API Docs, thanks for your help! and you too Laserzwei  :P

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...