Giving a player a fully reserched tech tree in custom map

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Palmaroma
New user
Posts: 2
Joined: 15 Dec 2012, 03:20

Giving a player a fully reserched tech tree in custom map

Post by Palmaroma »

Is it possible to use the FLAME map editor to give a certain player a fully researched tech tree in a custom map? If not are there add ons for it? I wanted to make a mission/scenario map that simply give the enemy a fully researched tier 3 tech tree when the game starts, but I cannot find out how to accomplish this.
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Giving a player a fully reserched tech tree in custom ma

Post by Iluvalar »

(2.9) (data/base/)
multiplay/skirmish/rules.vlo
multiplay/skirmish/rules.slo
multiplay/skirmish/sk2tech.vlo
multiplay/skirmish/sk3tech.vlo
(3.1)
Same but I guess files end by ".js"

What you want to do is to edit rules.js so it behave differently on game start with the player number. You should be ok with minimal programming skill. Don't forget to copy first those file in a mod folder. Then there is tutorial to how map-mod correctly somewhere on the forum.
Heretic 2.3 improver and proud of it.
User avatar
aubergine
Professional
Professional
Posts: 3462
Joined: 10 Oct 2010, 00:58

Re: Giving a player a fully reserched tech tree in custom ma

Post by aubergine »

Yes, in rules.js you can complete research for the player -- https://warzone.atlassian.net/wiki/page ... eId=360689
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO