unit is really cheap?

unit is really cheap?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Locked
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

unit is really cheap?

Post by smoth »

Ok, earlier when you guys had the error for like 1 or was in 0 metal cost I was cool with it.. but now it is is set with an even higher limit. HOW do I tell spring to stfu about it?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Er, can you rephrase that? What exactly is going wrong?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

issue resolved image deleted to save webspace.
Last edited by smoth on 17 May 2006, 11:11, edited 1 time in total.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

ewwww, gif. :cry:
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

multiply all costs and incomes by 10 and never worry about it again?
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

or maybe it is inconvenient and annoying to have arbitrary cost limits for the error to come up? (0 or 1 I can understand). What is the cost of that unit, if I may ask?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

I'd have to vote with Krogothe on that one... plus you'd get more granularity to play with costs anyhow.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

krogothe wrote:multiply all costs and incomes by 10 and never worry about it again?
yeah, ok... NO how about they UNFUCK SPRING?

and it is not that simple. I would have to redo the metal extractors and metal makers(which is not simply that cut and dry).

I would then have to begin rebalancing shots for costs and increase the builtime of the construction units so they can reclaim faster.

This would effect the build times of all of the units in my mod and the rate they terraform as well. Which would mean that I would have to further rebalance.

The mod is balanced towards a certain value for a reason.
FizWizz wrote:or maybe it is inconvenient and annoying to have arbitrary cost limits for the error to come up? (0 or 1 I can understand). What is the cost of that unit, if I may ask?
that one is 2 and 3 also causes the error.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

Make the nessacery code changes yourself. Should be fairly minimal. Devs have bigger fish to fry.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

you know, flozi, I think you simply stalk me around the forum to be snarky. How about you go sit and spin on a large rock drill? I hate little wankers like you who only post to be petty.

I do not know, maybe I am not going to devote the time to get the svn shit and make THAT change because people will not see it until the next spring release? Maybe unlike you I am working on my mod and have more to do then follow people around on the site? Maybe because I have my own REAL LIFE projects that I am working on? Maybe your opinion doesn't matter.

Also, I wouldn't have said anything. However, I adjusted the cost in the last version. NOW in THIS version they set the cap HIGHER. SO YEAH THEY HAVE TIME, they are actively increasing it!
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

I wish this text would just be removed. It serves no purpose, and breaks all mod that use zero cost unit. It's not only an annoying message, but it's also a message that tell your opponent exactly what you are building. Smoth wordings is unneccesarly harsh, but I agree with him that this message should be cut out.
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Post by Erom »

Why is there in the first place? As an anti-cheat measure?
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

I must agree, this is a really stupid "feature?". Hopefully removed next version if it's simple.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Erom wrote:Why is there in the first place? As an anti-cheat measure?
It still doesn't make a lot of logical sense there...
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Error is only given once in next version, not for every unit, and I set the limit to 0.001, to prevent division by zero in code:

Code: Select all

attacker->experience+=0.1*power/attacker->power;
attacker->experience+=0.1*power/attacker->power*damage/maxHealth;
Note that ultra-low power units which can attack other units (with much more power) can gain experience extremely fast. I practice I doubt this is a problem because in that case the mod is unbalanced anyway (if ultra cheap units are so powerful).
smoth wrote:Also, I wouldn't have said anything. However, I adjusted the cost in the last version. NOW in THIS version they set the cap HIGHER. SO YEAH THEY HAVE TIME, they are actively increasing it!
This is utter bullshit. Check the SVN log or diffs before you say things like this.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

Tobi wrote: Note that ultra-low power units which can attack other units (with much more power) can gain experience extremely fast. I practice I doubt this is a problem because in that case the mod is unbalanced anyway (if ultra cheap units are so powerful).
It is a wall. there is no experience for it to gain. it is cheap because I do not want base defenses to really tax an econ when you have to build MANY of them. Nothing to do with my mods balance being bad, in fact quite the opposite.

Tobi wrote:This is utter bullshit. Check the SVN log or diffs before you say things like this.
You may believe that but I made the wall 2 metal in an earlier version to combat the anoying error message. NOW in the new version I get the error for <3 I have not checked 4. Also I read the SVN log daily.

It is a pain in the ass that the limit is set this way. I am sorry other mod makers may be daft and somehow do this but frankly the error message is a bit superfluous.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

smoth wrote:
Tobi wrote: Note that ultra-low power units which can attack other units (with much more power) can gain experience extremely fast. I practice I doubt this is a problem because in that case the mod is unbalanced anyway (if ultra cheap units are so powerful).
It is a wall. there is no experience for it to gain. it is cheap because I do not want base defenses to really tax an econ when you have to build MANY of them. Nothing to do with my mods balance being bad, in fact quite the opposite.
It was just a warning in general, I know that for things without a way to attack, like a wall, it doesn't matter at all...
Tobi wrote:This is utter bullshit. Check the SVN log or diffs before you say things like this.
You may believe that but I made the wall 2 metal in an earlier version to combat the anoying error message. NOW in the new version I get the error for <3 I have not checked 4. Also I read the SVN log daily.

It is a pain in the ass that the limit is set this way. I am sorry other mod makers may be daft and somehow do this but frankly the error message is a bit superfluous.
The limit was set to 5 and there were no changes in this limit the last few hundred revisions (= few versions). Note tho that the 'power' value is calculated using power=metalCost+energyCost/60, so maybe you made the wall cost 2 metal and > 180 energy and lowered the energyCost of the wall later on.

Anyway, the matter should be solved now, as it will only warn if this power is lower then 0.001 in next version (to prevent division by zero crashes), so an energyCost of >0.06 or a metalCost of >0.001 is enough to suppress the warning.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Post by smoth »

WOOT! THANK YOU! THANK YOU!

can a moderator lock the thread?
Locked

Return to “Engine”