Question about sendToBack and bringToFront…

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1190
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 I see these used on a number of ships in their thrust effects, typically with a value of "*" to make the effect always be painted either behind or in front of the object creating the effect. There are a couple of ships that use a list of comma separated numbers instead, notably the Oromo and Manticore, presumably to change the thrust effect paint layer for either specific frames or a range of frames. How exactly does one use this to specify frames to change effect painting to either back or front?
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

If the ship points down (more than 180 degrees), exhaust is automatically sent to back. If the ship points up (up to 180 degrees), exhaust is automatically brought to front. Putting frame numbers into sendToBack and bringToFront will override default behavior for those frames.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1190
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 Only individual frames, huh? No way to specify a range? That’s gonna suck. -.- (Also it means that the ships I saw that specify it have off-by-onetwo errors on the second half of the rotation. I’ll ticket that.)
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

Not sure about range. I delved into this stuff back when playerships had forty frames and exhausts were sprites instead of particle jets.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

Apologies if I am not as advanced as you great minds ( I just fly the ship )

However : you might want to look into the .xml for Midst of Dragons
( after you see such ships as the Oromo fly in the Intro screen)

I think my positioning of effects is along the lines of what you are talking about.

I appreciate all the great code work of you advanced minded pilots -
but I like to keep things short and simple due to the fact it's harder to break.

The " Hit Box " of the new versions of ships is smaller then the images...but it was always a bit smaller I think.....so basically I pushed some weapons and effects beyond the Hit Box to run closer to the image boarder...

http://xelerus.de/index.php?s=mod&id=1532
Image
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
Post Reply