Alternate Power

Ideas and suggestions for how to improve the Warzone 2100 base game only. Ideas for mods go in Mapping/Modding instead. Read sticky posts first!
xeridea
New user
Posts: 1
Joined: 09 Feb 2011, 06:08

Alternate Power

Post by xeridea »

I was wondering if it would be possible to create alternate power types via modding, without to much difficulty. I was thinking of just doing solar as a test, and just giving power to you every x game seconds per station to start out simply? Could someone point me in the right direction?
Jonix
Trained
Trained
Posts: 172
Joined: 30 Oct 2011, 21:11
Location: England

Re: Alternate Power

Post by Jonix »

A very good idea... I'm not the best modder so it would be better to wait for Lav_Coyote or someone.
"All they who take thy sword, shall perish with thy sword"
"There is no good or evil, there is only power!"
Jonix
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Alternate Power

Post by NoQ »

Even though adding extra class of resources seems to be impossible without touching the source code, adding "solar power" you propose here should be rather easy. You just add an extra structure (probably replace command relay center, that is useless anyway) and script up power for every structure a player owns.

I could try once somebody gives me a solar plant model (:
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Alternate Power

Post by Iluvalar »

:D :D :3

Oh... you meant... one that actually look good with texture did you ? XD :lol2:
Attachments

[The extension blend has been deactivated and can no longer be displayed.]

solar.jpg
solar.jpg (12.26 KiB) Viewed 6592 times
Heretic 2.3 improver and proud of it.
Jonix
Trained
Trained
Posts: 172
Joined: 30 Oct 2011, 21:11
Location: England

Re: Alternate Power

Post by Jonix »

Hmm, I was thinking of a platform... 4x4 with lots of mini solar panels and a sensor. Maybe that's too hard though.
"All they who take thy sword, shall perish with thy sword"
"There is no good or evil, there is only power!"
Jonix
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Alternate Power

Post by Berg »

concept solar
concept solar
Pie file and texture rename them and use as you like.
Attachments
solar.7z
(63.52 KiB) Downloaded 229 times
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Alternate Power

Post by Iluvalar »

While the idea look good on paper, I must however argue a bit. For this to be balanced, we need to set some spending/profit ratio carefully. Say (for exemple) 1 power per second per 100 power spent.

The first major problem is the actual progression of the standard tree : It's not proportional it's declining over the time. This mean that whatever we set the power output to, there will be a threshold were before the research is a better choice and after the alternate power worth more gain. In other words, there will be a single time in the game where all the players stop to research and start to spam the structures. We would kill all the research after that point.

Second, if we place the price of the building low enough to make it without aggressive "steps", we'll turn the players into frantic sim-city builders, they'll try to build solars everywhere. However, if we increase the price of it, we'll create an elite class in the game with near to impossible to counter advantage to the ones that start the constructions. And again, a sim-city like behavior for them.
Heretic 2.3 improver and proud of it.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Alternate Power

Post by NoQ »

Easy enough to balance. Just put a limit to solar plants. Like 5 max.

I think research module and power module should be pre-reqs to this, and it should cost around $250, and produce ... well, something like an extra oil derrick with power module without power upgrades.
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Alternate Power

Post by Iluvalar »

Berg wrote: Pie file and texture rename them and use as you like.
I dont know if I ask too much but could you make a PIE 2 file using textures that are already in the game ? I'd need something that do not more than 2Ko to pack it in a map.
Heretic 2.3 improver and proud of it.
User avatar
Corporal Punishment
Trained
Trained
Posts: 291
Joined: 28 Aug 2009, 12:29

Re: Alternate Power

Post by Corporal Punishment »

Before you replace the command relay post with a solar panel because it it useless, remember that it is only useless to build. researching it still is prerequisite to researching research module!
Qui desiderat pacem bellum praeparat
Flavius Vegetius Renatus, De re militari
User avatar
Shadow Wolf TJC
Regular
Regular
Posts: 1047
Joined: 16 Apr 2011, 05:12
Location: Raleigh, NC

Re: Alternate Power

Post by Shadow Wolf TJC »

Personally, I'd imagine seeing each Solar Panel cost as much as a single Power Plant, though I'd also imagine seeing each one providing, say, somewhere between 1% and 5% as much power as a single Oil Derrick. This would ensure that #1, Oil Derricks remain important targets of opportunity even in the late-game, and #2, that solar plants would require lots of space to support, possibly leading to more units getting into traffic jams. :lol2: With that in mind, I doubt that we'd need to implement a limit to these (other than the built-in limit of 256 of any structure type, or was it 512?), nor would we need to hook them up to Power Plants.
Corporal Punishment wrote:Before you replace the command relay post with a solar panel because it it useless, remember that it is only useless to build. researching it still is prerequisite to researching research module!
We could adjust the tech tree so that Research Modules would require Sensor Towers as a research prerequisite instead of the Command Relay Center, and that Command Turrets would require Research Modules as a research prerequisite. We could also increase the amount of power required to research Research Modules to accommodate for the loss of the Command Relay Center.
Creator of Warzone 2100: Contingency!
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Alternate Power

Post by Iluvalar »

np we can use the missile silo or the bridge for now. There is no real difficulty to create a new building, the only problem is to count them, so we need a particular type that is not in use.
Heretic 2.3 improver and proud of it.
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Alternate Power

Post by Berg »

Screenshot-solar - WMIT.png
Added trunk snapshot texture page 11 and changed to pie2 format its slightly different but one could edit it ones the files and sytem is working
good luck with your project

also edit the pie file make the TYPE 10200 tcmask type flag 200 if you dont want tcmask enabled
Attachments
solar.pie
(3.23 KiB) Downloaded 231 times
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Alternate Power

Post by Jorzi »

I think the main balancing element is price. While power gens and derricks are free, a solar panel has a fairly high build cost, which means it takes some time for it to pay for itself (2-3 minutes maybe?) It also takes up quite a bit of space and is very vulnerable to any weapons, making it an easy target.
ImageImage
-insert deep philosophical statement here-
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Alternate Power

Post by Per »

The main problem is that there is not enough downside. If you make it expensive enough, it will just be used by players who are so far ahead that they would win anyway and it would just delay their victory (bad) or by players who should have been building units and therefore lose hard (also bad). We have somewhat the same issue with power gen upgrades, since there is no reason not to do them - just remember to do them with lots of trucks or keep one spare to avoid much loss of power while upgrading. It would be much better from a game variety perspective if derricks were upgraded instead - and trucks had nothing to do with it - just select a derrick and push an upgrade button which takes it offline for some time while it upgrades itself. Then you had to balance the loss of power while the derrick was down with the increased power gain from it in the future. It would also force you to commit to more risk (higher investment) outside your base if you want to really get power flowing.
Post Reply