How to mod? Penalty for death, relation decreases without tools

The place for mod discussions and seeking out information about Spore modding.
Forum rules
Can't get a mod to work?
Try these... FIRST!

http://www.davoonline.com/phpBB3/viewforum.php?f=6
User avatar
andreas_indeed
Hatchling
Hatchling
Posts: 2
Joined: Wed Mar 23, 2022 6:57 am

How to mod? Penalty for death, relation decreases without tools

Unread post by andreas_indeed »

Hi, so I'm trying to mod spore with Sporemaster 2.0

My goal is to mod space stage in a way that diplomacy becomes more difficult but also rewarding.

What I already figured out is a relationship debuff with nearby aliens when placing a colony by making it break the galactic code in a small way. I just added
<float name="toolGalacticRelationshipDelta">-1</float>
<float name="toolGalacticRelationshipRadius">10</float>
to the placecolony prop file.

Now this doesn't work for taking over systems / destroying systems, because these aren't tools and simply adding that messes up everything.

What I would like to accomplish but don't know how to:

- Decrease relations with nearby alien races in regular intervals, just so they get more angry as time passes. This makes it so you need to keep up if you don't want wars / want allies.
- Decrease relations with nearby alien races when destroying / capturing a system.
- Relations penalty with nearby aliens upon death

I'm pretty sure the other tweaks I have in mind I can do on my own.

Also: Is there any way to see how the files you can mod in sporemaster actually interact with the game? e.g. in the spacenpcai prop file (under gametuning) there's a list of integers like <int32s name="attackWeightsNormal"> with many different integers, most of them being 0. Is there any way to find out what they actually do without starting the game and hoping to notice a difference? If I knew how those files interacted I would have an easier time figuring these things out.

Thank you for reading! I appreciate any help / confirmation if this isn't possible.

-Andreas


User avatar
vanillacold
Moderator
Moderator
Posts: 271
Joined: Fri Nov 02, 2018 2:36 pm

Re: How to mod? Penalty for death, relation decreases without tools

Unread post by vanillacold »

Sporemaster is a depricated modding tool - you should use Sporemodder FX instead for creating package mod.
As for adding that functionality to Spore, you'll probably need to use the Spore ModAPI Development Kit, since you can create custom C++ code for Spore using that.

And for the last question, Sporemodder FX allows you to pack mods with "debug information", which allows some files such as models to be changed and update in real-time.
However, this doesn't apply to .prop files, so you'll still need to modify the value and restart Spore to check if it changes anything.
Hello there! I'm a random guy who sometimes does *slightly* smart stuff. For a while now, I've been creating a game called Sporigins, along with Spore mods such as Solar Spore.
User avatar
andreas_indeed
Hatchling
Hatchling
Posts: 2
Joined: Wed Mar 23, 2022 6:57 am

Re: How to mod? Penalty for death, relation decreases without tools

Unread post by andreas_indeed »

Thank you, that seems to be exactly what I needed!
Post Reply Previous topicNext topic

Return to “Mod Discussion”