Custom Unit Power

Started by cclloyd9785, August 19, 2011, 01:06:39 PM

Previous topic - Next topic

cclloyd9785

I suggest on custom maps you can get custom unit power.  Like a reactor can produce a whole energy, etc.

I wanna make some custom maps, one called "Lone Reactor of Solace", where you have one high energy reactor, and if it dies, you are dead.

Would this even be possible?

Grauniad

A goodnight to all and to all a good night - Goodnight Moon

Echo51

If you had the source and wanted to redestribute your special release of CW2 which would get you sued due to stealing and distributing virgil's work, mmhm no.
Join the chat! :D
- The only echo present here...

UpperKEES

#3
Quote from: cclloyd9785 on August 19, 2011, 01:06:39 PM
I wanna make some custom maps, one called "Lone Reactor of Solace", where you have one high energy reactor, and if it dies, you are dead.

Would this even be possible?

Create a section surrounded by solid terrain with pre-built reactors in it. Leave 1 or more spaces open if you like, so the Creeper and drones can enter. Or close it and use a gateway with phantoms that are able to destroy them (the reactors don't need to receive or send out packets anyway). Disable the reactor tech and don't include it in your map. There you go! :)

Edit:

To make it really nice, shape this enclosed section like a reactor. Creativity has no limits! 8)
My CW1 maps: downloads - overview
My CW2 maps: downloads - overview

thepenguin

Quote from: cclloyd9785 on August 19, 2011, 01:06:39 PM
I suggest on custom maps you can get custom unit power.  Like a reactor can produce a whole energy, etc.

I wanna make some custom maps, one called "Lone Reactor of Solace", where you have one high energy reactor, and if it dies, you are dead.

Would this even be possible?

(assuming I know basically how reactors are processed in-game)

possible=yes

easy=yes

community approval=no way, just because some people will get a not-quite-so bright idea and abuse it
We have become the creeper...

Ranakastrasz

Quote from: thepenguin on August 19, 2011, 06:47:05 PM

(assuming I know basically how reactors are processed in-game)

possible=yes

easy=yes

community approval=no way, just because some people will get a not-quite-so bright idea and abuse it

I personally would approve this, but there is an issue. You would have to either store more information in every single map file, including all save files, or cleverly add it on so as to only add a small amount per variable changed. This would not be extremely difficulty afaik. I would therefore have to disagree with easy and community approval, although I expect to be contradicted shortly.

thepenguin

Quote from: Ranakastrasz on August 19, 2011, 06:50:37 PM
I personally would approve this, but there is an issue. You would have to either store more information in every single map file, including all save files, or cleverly add it on so as to only add a small amount per variable changed. This would not be extremely difficulty afaik. I would therefore have to disagree with easy and community approval, although I expect to be contradicted shortly.

the way I see it, one number at the end of the file replaces the standard reactor power constant

easy fix, assuming that virgil wrote his code well and didn't hard-code the reactor production in 15+ places, in seperate scripts
We have become the creeper...

Ranakastrasz

Quote from: thepenguin on August 19, 2011, 06:54:48 PM
Quote from: Ranakastrasz on August 19, 2011, 06:50:37 PM
I personally would approve this, but there is an issue. You would have to either store more information in every single map file, including all save files, or cleverly add it on so as to only add a small amount per variable changed. This would not be extremely difficulty afaik. I would therefore have to disagree with easy and community approval, although I expect to be contradicted shortly.

the way I see it, one number at the end of the file replaces the standard reactor power constant

easy fix, assuming that virgil wrote his code well and didn't hard-code the reactor production in 15+ places, in seperate scripts

Oh dear, I seem to remember that he said he has to write unmaintainable code, simply because function calls kill the framerate. Not sure If I remember that right tho.

thepenguin

Quote from: Ranakastrasz on August 19, 2011, 06:56:26 PM
Quote from: thepenguin on August 19, 2011, 06:54:48 PM
Quote from: Ranakastrasz on August 19, 2011, 06:50:37 PM
I personally would approve this, but there is an issue. You would have to either store more information in every single map file, including all save files, or cleverly add it on so as to only add a small amount per variable changed. This would not be extremely difficulty afaik. I would therefore have to disagree with easy and community approval, although I expect to be contradicted shortly.

the way I see it, one number at the end of the file replaces the standard reactor power constant

easy fix, assuming that virgil wrote his code well and didn't hard-code the reactor production in 15+ places, in seperate scripts

Oh dear, I seem to remember that he said he has to write unmaintainable code, simply because function calls kill the framerate. Not sure If I remember that right tho.

that's only W/ the functions, I hope that he won't have the same issue with variables
We have become the creeper...

Fisherck

I think it very unwise to mess with the basic game mechanics. I just see to many maps by beginners with loki strength blasters and no gameplay involved whatsoever...
My CW2 Maps
My CW1 Maps
Quote from: Sqaz on August 28, 2011, 02:49:35 PM
The comments are here to comment, dare to use them.

Kithros

For the specific case you're trying to use it for, couldn't you just stack many reactors on the same space?

thepenguin

Quote from: Kithros on August 19, 2011, 09:01:39 PM
For the specific case you're trying to use it for, couldn't you just stack many reactors on the same space?

the editor won't let you stack units :(
We have become the creeper...

Fisherck

My CW2 Maps
My CW1 Maps
Quote from: Sqaz on August 28, 2011, 02:49:35 PM
The comments are here to comment, dare to use them.

mpete

sorry for any misspellings.
signed,mpete

Fisherck

My CW2 Maps
My CW1 Maps
Quote from: Sqaz on August 28, 2011, 02:49:35 PM
The comments are here to comment, dare to use them.