NO ally research

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Reaper087
Trained
Trained
Posts: 54
Joined: 03 Feb 2011, 15:12

NO ally research

Post by Reaper087 »

Hello,,, I need Help,, I will research alone in a Ally,, and the other teams the same?

How file i do editing?????


German,

Hallo,,, ich würde gern alleine forschen,, auch mit verbündeten,, jeder für sich allein,,, welchen eitrag muss ich dazu änder,, hab schon einiges versucht finde es aber nicht,, bitte um schnelle hilfe^^
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NO ally research

Post by NoQ »

Nice question; a few months ago i'd say "hardcoded", but now i'm not sure; probably use some clever rules.js magic to undo research when acquired from allies? If there were such a mod, i'd gladly try it out, since allied research is known to be heavily intervening with balance (promoting wide and short research tree subtrees over long and narrow, eg. rockets over cannons seem to be getting stronger in team games).
Reaper087
Trained
Trained
Posts: 54
Joined: 03 Feb 2011, 15:12

Re: NO ally research

Post by Reaper087 »

yes,,, can you find some Rules.js???
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: NO ally research

Post by aubergine »

There is currently no way to un-research something. If there was, you could listen to eventResearched() in rules.js and if no lab structure is passed in you know it's from ally, and could then un-research it.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
User avatar
Terminator
Regular
Regular
Posts: 1077
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Re: NO ally research

Post by Terminator »

dont remember but is it turned off in ally MP mode ? not a teamplay.
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NO ally research

Post by NoQ »

dont remember but is it turned off in ally MP mode ?
It is, but you still have an option to share your research via a button on the intelligence screen. Also, it adds much more mess by allowing to break teams. Too inconvenient for a workaround :(
If there was, you could listen to eventResearched() in rules.js and if no lab structure is passed in you know it's from ally, and could then un-research it.
I think there are more troubles in this; for instance, if you already research an item already researched by the ally, the script needs to make sure your current research is not interrupted.
Miko
New user
Posts: 2
Joined: 28 Dec 2012, 12:12

Re: NO ally research

Post by Miko »

Hello together,

I don't like ally research too, so I remove it since a year and several 3.1.* versions and i had never problems with my fix. It's very easy, just comment the following lines out:

src/structure.cpp Line 3215 to 3228
src/multiplay.cpp Line 874 to 890

Now, after a recompile, nor the human neither the bots have ally research.

Greetings
Miko
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: NO ally research

Post by NoQ »

So does it work in multiplayer (or break it)?
Miko
New user
Posts: 2
Joined: 28 Dec 2012, 12:12

Re: NO ally research

Post by Miko »

Hello NoQ,

I did not have any problems with that until now. Multiplayer ally research works as expected, you see what the ally is researching when you did not research it until now, but you don't get it when it's finished.

It's especially nice when you play with friends against bots, what we do often. The bots don't have ally research too, so they don't have the big advantage of being two or three times more players. It's although nice because you need more teamplay when you and your allies specialize on different things, which is useful then.

Greetings
Miko