Jump to content

How does one increase the explosive range of a meteor?


Recommended Posts

5 hours ago, Omaremad74 said:

As I said in the title how do you increase the explosvie range of a meteor?

P.S. How to summon a meteor too?

1. you can't but spawning one has 3 types : small , medium and large

2. c_spawn('shadowmeteor')

5 hours ago, __IvoCZE__ said:

2. c_spawn('shadowmeteor')

Also, the command doesn't spawn The meteor itself, it spawns a place that The meteor will periodically hit over and over.

So if You 'meteored' your friend's base (if you are an admin) The meteors will keep destroying The base every time it's rebuilt.

3 hours ago, Wilson_pl said:

Also, the command doesn't spawn The meteor itself, it spawns a place that The meteor will periodically hit over and over.

So if You 'meteored' your friend's base (if you are an admin) The meteors will keep destroying The base every time it's rebuilt.

weird cause when i do it then it spawns a single meteor instantly

15 hours ago, Omaremad74 said:

As I said in the title how do you increase the explosvie range of a meteor?

Meteor radius is a tuning value so modding it is not hard at all.

Each meteor seems to use the tuning value as a base and adjust its explosive radius depending on the size of the meteor. As I said earlier you can easily use tuning to adjust the value but if you want more control over the value you could edit Shadowmeteor.lua and add it as a loose file to your mod. This is not a good technique (as if Klei updates the base file you must update your modded version) but its something simple and is a good start to learning.

You could try using AddPrefabPostInit instead of using Shadowmeteors as a loose file but this doesn't work well with things that have to communicate between the client and the server (the Equippable component is especially annoying.)

This is from someone with little knowledge of coding so hopefully someone with better understanding can add to this.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...