Request for Parallax set at 100 to ignore weapons

Bug reports for the different beta versions of transcendence.
Post Reply
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Previously if I had set a planet's parallax to 100 it would ignore all weapons and allowed them to pass through but in 1.2 RC2 it sends the planet image back to the playing parallax and blocks weapons again. I'd like to move functionality back to the previous behavior and maybe add some sort of special parallax to move a space object back into the playing field. I'd suggest something like:
(ObjSetProperty planetEntry 'parallax 'Field)
that way it would go back to being in the playing field and block shots while setting it to some other number would remove the 'field attribute.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

I would prefer adding a new property:

Code: Select all

(objSetProperty planetEntry 'canBeHit nil)
An out-of-plane planet (parallax != 100) would still be immune to weapons, but this would allow you to set in-plane-objects as effectively transparent.

It's a little risky for 1.2, but I will add it to a post 1.2 release.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Okay, I think 'canBeHit is a better solution.
It would make sense to separate parallax and being hit by weapons fire. (read: It would be cool to have stations in a different parallax being able to be hit by weapons/ avoid weapons fire selectively).
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Post Reply