Mission terminals and Resources on a new planet

Joined
Oct 10, 2017
Messages
275
#1
I was thinking about adding new mission terminal on my new planets but they didn't work. They shows empty when trying to find one mission.
Why?. I made a custom file for nameplanet_destroy_missions.lua and added to serverobjs...

An my second question is about adding resources to a new planet. Which file must i look for?

Thanks.
 
Joined
Jan 16, 2015
Messages
128
#2
Aeryna said:
I was thinking about adding new mission terminal on my new planets but they didn't work. They shows empty when trying to find one mission.
Why?. I made a custom file for nameplanet_destroy_missions.lua and added to serverobjs...

An my second question is about adding resources to a new planet. Which file must i look for?

Thanks.
Try creating a entry in Spawn_managers and create a world spawn too..

for resources you need to add new resources to the resources.iff table and add the planets to your resource manager
 
Joined
Oct 10, 2017
Messages
275
#4
Ok, Which kind of entry?:
Planet.lua?
planet_regions.lua?
planet_static_spawns.lua?

I got them all made but still doesn't work. I also wrote a planet_world.lua and a planet_destroy_missions.lua.

I don't know why isn't working.
 
Joined
Jan 16, 2015
Messages
128
#5
Aeryna said:
Ok, Which kind of entry?:
Planet.lua?
planet_regions.lua?
planet_static_spawns.lua?

I got them all made but still doesn't work. I also wrote a planet_world.lua and a planet_destroy_missions.lua.

I don't know why isn't working.
How are you placing the mission terminal? via snapshot or screenplay?
 
Joined
Oct 10, 2017
Messages
275
#6
Hey, Gyrantol. Thank you answer. I made via planet manager.
Should i have tried to add them modifying the snapshot?.
 
Joined
Jan 16, 2015
Messages
128
#7
Aeryna said:
Hey, Gyrantol. Thank you answer. I made via planet manager.
Should i have tried to add them modifying the snapshot?.
Yes that is how I did mine and not had any trouble showing up missions.
 
Joined
Oct 10, 2017
Messages
275
#8
So, i must add via snapshot. Well. that's not hard. Thank you.
So i do guess we need an ID for the terminals like the loot containers to get them working.
 
Joined
Oct 10, 2017
Messages
275
#9
Try creating a entry in Spawn_managers and create a world spawn too..

for resources you need to add new resources to the resources.iff table and add the planets to your resource manager

I tried to add resources to resource_manager_spawn.lua but system resets when turns on. I added them to resources.iff on datatables but something is getting bad because the resource icons and paths (inorganic>>metal>>ferro>>>iron>>>> iron_mandalore) are wrong. I checked everything and it's right.
I tried object terminal to spawn the resource but... ex: mandalore water has bone icon and organic>>> creature resource path. It's very strange because it has the proper icon configured.
Something is wrong. It's obvious.
 
Joined
Jan 16, 2015
Messages
128
#10
with the resources.iff you need to add them into the right section. You can't just add the new entries to the bottom of the list. Check to see what the next available ID is but then scroll upto the section that you want so Iron.. add a line in before it changes into the next ferrious metal and then add your details.

I spent weeks wondering why it was getting messed up.