Hi Everyone, Due to the clean wipe most scenarios are basically back to 0 day development. So now is no better time to start creating a scenario. However there are a few technical aspects that I have questions about whether they are achievable. As I receive workable results I will replace the question marks with the solutions whether I resolve them or someone from the community provides the answer - will credit those that provide suitable solutions. 1. Is it possible to set a container to respawn items 1a. only for people who haven't opened the container before? ?? 1b. on a static timer ?? 1c. only when people who are opening the container have a specific PDA mission ?? 2. Is it possible to setup the NPC to react with speech text utilising the mission contexts like how dawn of galaxy functions with the "character speaking". ?? 3. Is there some documentation for adding custom playfields, planets and solar system design under ALPHA 8? And if there isn't how is that actually done because the solar system generator seems to lock you in to a static amount of jump locations? ?? 4. Will add more questions as I come up with them along my development path. If anyone comes up with some good questions I'll add it to the list. As there seems to be no central database with complete information or up to date information when it comes to this. There will be another thread opened in the mod API Forum with various question I have about functionality to do with that.
1: Yes. 1a. only for people who haven't opened the container before? The best way to do this is with a personal locker. Personal lockers contain individualized loot per player, so each player gets the items from the locker. You'll need to make sure the POI you're using has a personal locker somewhere in it in the blueprint, then you need to go to your playfield_static.yaml for your playfield and add in the following key to the POI: Code: Properties: - Key: PersonalContainer Value: "ConstructorSurvival, PlayerBike, WaterBottle:4, CornStage1, SnakeweedStage1, PearthingStage1, DurianRoot" Check the TemperateStarter playfield_static.yaml file for an example: Code: - GroupName: JunkT2 Biome: [ Forest ] CountMinMax: [ 1, 1 ] DroneProb: 0 DronesMinMax: [ 0 ] ReserveCount: 0 TroopTransport: False SpawnPOINear: [START] SpawnPOINearRange: [1500, 2000] SpawnPOIAvoid: [AlienTowerSmallStory] SpawnPOIAvoidDistance: 2000 SpawnResource: ["IronResource:1-2","SiliconResource:1-1","CopperResource:1-1"] SpawnResourceRange: [150,400] Properties: - Key: PersonalContainer Value: "ConstructorSurvival, PlayerBike, WaterBottle:4, CornStage1, SnakeweedStage1, PearthingStage1, DurianRoot" - Key: MapDistance Value: 600 - Key: MapMarker Value: Neutral You can change what items and how many are in the locker. To find the item names, you can look in your Empyrion - Galactic Survival/Content/Extras/localization.csv file to get all the item names. 1b. on a static timer Yes. If you set a regen timer on your POI and enable POI regeneration in the game options, then your POI will regererate after the specified time if no players go near it for the regeneration duration. 1c. only when people who are opening the container have a specific PDA mission I haven't done anything with the PDA but I believe this should be possible, not sure though. You can also add specific loot manually to any cargo container while you're creating your blueprint. You will need to use an admin or alien admin core, you will need to place the items manually in your containers, and then you will need to save your blueprint using the "save damage states" option checked. Then when your POI is spawned in a survival game, the items you've placed in the containers will be available for the first player to pick up and I assume will also replenish when the POI regenerates. Note that admin cored bases are INDESTRUCTIBLE except for blocks that you also damaged while building it in creative mode. Don't forget to set the lock code to "0000" for any containers you want players to be able to access.