Some ideas for Trascendence features

Post ideas & suggestions you have pertaining to the game here.
User avatar
Hades
Commonwealth Pilot
Commonwealth Pilot
Posts: 53
Joined: Sat Jan 26, 2008 3:01 pm

I could see where that could be useful. You could have a new auton class which would repair not only you but allies as well.

Also, I'm not very familiar with Transcendence scripting but couldn't putting in a negative variable work for this? Or would that just make the game angry?
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

Wurmish wrote:Sadly I went on IRC and discovered my turret idea is a bit large for a newbie undertaking... so I'll pass on that for now, but the idea is still there.
Don't give up!
It's a good idea, don't be afraid to ask for help. Write out your idea in as much detail as you can and either take it to IRC or post it here. At the very least, you'll start accumulating ideas and code snippets that you can always come back to as you continue to learn.
Hades wrote:I could see where that could be useful. You could have a new auton class which would repair not only you but allies as well.

Also, I'm not very familiar with Transcendence scripting but couldn't putting in a negative variable work for this? Or would that just make the game angry?
weapons with negative damage will "heal" whatever it hits, however, the engine is not designed to handle it. If the 'healing ray' hits a ship that is not damaged it will add extra HP unless you write conditions in script to specifically avoid that situation. I made it for my tower defense mod but it could be adapted as a standalone mod if you're interested.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2828
Joined: Mon Aug 17, 2009 4:27 am

Prophet wrote:
Wurmish wrote:Sadly I went on IRC and discovered my turret idea is a bit large for a newbie undertaking... so I'll pass on that for now, but the idea is still there.
Don't give up!
It's a good idea, don't be afraid to ask for help. Write out your idea in as much detail as you can and either take it to IRC or post it here. At the very least, you'll start accumulating ideas and code snippets that you can always come back to as you continue to learn.
Hades wrote:I could see where that could be useful. You could have a new auton class which would repair not only you but allies as well.

Also, I'm not very familiar with Transcendence scripting but couldn't putting in a negative variable work for this? Or would that just make the game angry?
weapons with negative damage will "heal" whatever it hits, however, the engine is not designed to handle it. If the 'healing ray' hits a ship that is not damaged it will add extra HP unless you write conditions in script to specifically avoid that situation. I made it for my tower defense mod but it could be adapted as a standalone mod if you're interested.
So you could have your autons heal a centauri raider until it's as strong as an iocrym command ship? GAME ON! :twisted:
Mischievous local moderator. She/Her pronouns.
User avatar
Hades
Commonwealth Pilot
Commonwealth Pilot
Posts: 53
Joined: Sat Jan 26, 2008 3:01 pm

There's also other problems you'd have to deal with to use a repair thingy as a weapon, such as bypassing shields and it being able to recognize which pieces of armor are damaged.

So perhaps there could be a flag or something to put in the XML to tell the repair weapon to go through shields, though the other problem would be related to AI.
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

If you want a projectile to repair armor put some code on the onDamageArmor and onDamageShields events that will pick out a damaged armor segment and fix it some. Have the code return 0 at the end and no damage will be done.

If you use sysCreateWeaponFire and have the projectile's "owner" be nil, then ships shouldn't get mad at you for shooting them either.
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

I was updating the tractor beam mod, so I put a concept repair cannon 'weapon' in there with it. A lower level version that possibly uses armor repair paste barrels as ammo would be really neat.

If you're interested...
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
Post Reply