openlierox icon indicating copy to clipboard operation
openlierox copied to clipboard

[Feature] Projectiles at the end of the map option

Open albertz opened this issue 13 years ago • 10 comments

Converted from SourceForge issue 2820430, submitted by gab20

Some weapons need to get "stuck" on the border of the map to work, like the weapon "Exterminatus", from WH40K.

But projectiles that don't hit the terrain and don't dissapear will stay stuck forever, and use the computer's memory, unless if they hit the player, so when someone step on it, it will dissapear.

I suggest a "checkable" option, so the player can check it when a mod requires that option.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

I am not sure about this. With Beta9, it will be possible to define this in the mod itself. So I think the better solution would be to fix the mods here and not to work around possible bugs there.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

OK, I have two ideas to solve this problem.

1st: Make the checkable option as I said before.

2nd: Put something like a text file inside the mod's main folder, so this file will change how projectiles react with borders, but the game must be changed in order to make this work. Also, LX56 and older OpenLieroX versions will still fully compatible with the mod.

3rd(This requires a lot of work but it's the most customizable): Make a new option window that shows all the mods you have, so you can choose the mods you want and set the option.

In fact this isn't REALLY important, but will improve the gameplay.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Don't you think that fixing the mods would be the best solution and would make this needless?

I don't really like to add a hack that the user can set whereby it would be easily possible to just fix the mod itself.

There are many other things where the mod developer perhaps made a mistake and it would not make sense to add a possible workaround option for any possible mistake a mod developer could have made.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

Ok, fixing the mods can solve the problem, but you will need to change the mod's projectiles, right?

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

You can do exactly that in the mods itself.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

Well, i thought that was caused by projectiles that have "nothing" set as terrain hit type.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

Well, i thought that was caused by projectiles that have "nothing" set as terrain hit type.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Yes, and you can fix that by setting a specific action when it hits the map. For example, getting stuck there, or bounce, or disappear, or whatever.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

I think you didn't understand me. The projectile get stuck or not only if the game was set to allow that. You have to change the game since those options are avaliable for terrain hit: nothing, bounce, explode, carve, dirt or green dirt.

So we have to find another way unrelated to projectiles, unless you're talking about something I don't know.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Those options are already extended.

See this thread: http://lxalliance.net/forum/index.php?topic=12141.0 (Whereby the thread is already a bit outdated, I was changing some parts there. Anyway, it will be possible to have a specific event for map border collision.)

albertz avatar May 13 '11 20:05 albertz