Spellcaster Studios

Make it happen…

Category Archives: Technology

Random Missions: More Sampling

Continued work on the sampling random mission, probably will have the whole logic part finished by tomorrow! That “tracer” is what happens when you use the sampler still far from the location of the sampler point. It points in the direction of the sampling point, and you’ll have to follow it to find it. This […]

Random Missions: Sampling

Today I’ve started the next type of random mission: the sampling mission. This comes in three flavors: find a source of some anomaly, scan some particular places or hunt down the source of an anomaly (the first and the latter seem similar, but they play very differently). Today was mostly generating the mission text, but […]

Random Missions: More bug-fixing

Finished testing and bug-fixing the delivery mission… A lot of small stuff, but I think I got it all! Think the next mission type is going to be the “sampling” mission, in which the player receive a target planet and some sampling spots, and it has to go sample them with the sample kit. It’s […]

Random Missions: Cleanup

Cleaning up the random missions is proving to be a bit more challenging that I expected… Due to the way STL maps work, if you try to access something that isn’t there (an entry for which there is no key), it will create a key for it, which screws up my iteration code which isn’t […]

Random Missions: Delivery Complete!

The code for the delivery mission is done! The system correctly triggers cutscenes when you receive the item and when you drop it off correctly, just missing the mission cleanup code (the mission location can only disappear after the player leaves the place where the mission takes place). The cutscene has some procedural elements as […]

Random Missions: Cost and Reward

Finished the cost/reward system of the random missions… To accept a mission, you’ll have to do a down-payment, which you get back if you complete the mission… Besides that, you get the reward. The reward is computed based on the difficulty of the involved planets, distance between planets and who’s giving the mission. For other […]

Random missions: Better probabilities

Today I’ve mainly worked on fixing the small issues of the mission generator… For example, it would generate the text “get xxx from at coordinates (-1,1) on Puhtib”… that’s now fixed. It would also ask fro delivery (or pickup) of items in orbit of planets, from a dropship (which makes little sense)… It would also […]

Bad screenshot, no cookie!

This is one of those screenshots that really demotivates me: I was putting in the new spawner model for the robots, and after a big fight because I forgot a stupid flag, I got it in the game and took this screenshot… The amount of things that are terrible in this is amazing: The spawner […]

Random Missions: Delivery text

Finally finished the text for the delivery mission… Still have some issues, regarding the way phrases are constructed in English: Not sure how to build a simple system to select the right pronoun, need to think about it… Anyway, next step is to actually add the code to do the missions (spawn/modify the areas when […]