Amalgumated Coding Questions (Full Version)

All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios



Message


ghoward -> Amalgumated Coding Questions (6/18/2013 9:02:27 PM)

Does anybody know how to set the NewDawn masterfile (or any of the others, for that matter) to allow engineers to repair cities? I remember Bombur did it in his global domination series, but I can't figure out how. I am using the AT Gold engine (v2.15e) and maybe it is hard wired in there. I think I managed to make cities buildable by messing around with the statistics on the item types page, but what I want is to make them repairable, not buildable. Any ideas?




Twotribes -> RE: Amalgumated Coding Questions (6/18/2013 10:31:16 PM)

Use the editor and on the LT screen change your cities towns ect to allow building. Do not allow the smallest to be built. That should do it.

Opps forgot if you don't want your engineers to make new cities set the required build to something they can not build like a village or town type not in your game.




ghoward -> RE: Amalgumated Coding Questions (6/19/2013 6:13:29 PM)

Thanks, Twotribes I gave this a try. With a random game I have saved as a scenario I set cities to "buildable" and EP cost to 40, leaving supply cost and pp cost at 0 and I still cannot repair a city. The build/repair button is darkened, and a hover gets a "location cannot be repaired" message. There has to be some switch or rulevar somewhere that controls weather or not repairing is allowed or what may and may not be repaired. I don't think anything in these random scenarios are repairable with the default masterfiles. Spin one up and give it a try. Thanks for your response.




ernieschwitz -> RE: Amalgumated Coding Questions (6/20/2013 10:46:42 AM)

Itīs somewhere in the RuleVars if i donīt recall wrongly.




ernieschwitz -> RE: Amalgumated Coding Questions (6/20/2013 11:27:13 AM)

It seems to be rulevar 504

(Enable/Disable features)
504) Disable Build/Repair Location (0=no, 1=yes).

Change this to 0, and you should be able to repair cities and such as normal




ghoward -> RE: Amalgumated Coding Questions (6/20/2013 5:12:49 PM)

Thank you for taking the time to look. I found that switch last week and it's already set to 0. I even tried setting it to 1, but, as advertised, that makes the build/repair button disappear completely.




ernieschwitz -> RE: Amalgumated Coding Questions (6/20/2013 5:48:14 PM)

Hmmm that must be rather frustrating. I wonder how Vic accomplished the no-repair feature then...




ernieschwitz -> RE: Amalgumated Coding Questions (6/20/2013 6:16:58 PM)

I donīt like not understanding stuff, so i went into the editor with a few ideas.

1). It could be a rulevar

I checked those, and found to my surprise that repairing had been allowed.

2). It could be that the rulevar was changed in the code.

Well, no dice. I couldnīt find an event doing that.

3). I checked the LTs, SFTs and even Items, to see if it was something there... and still no dice.

I have an idea i might check up on later, but, so far I am stumped!




ernieschwitz -> RE: Amalgumated Coding Questions (6/20/2013 6:25:16 PM)

FOUND IT! (I think)

Under Rulevars -> ZOC, Recon & Autoconquer -> Rulevar 902 Disable that engineers can repair locations. Set this to 0. Instead of 1 as is.

It should fix it.




ghoward -> RE: Amalgumated Coding Questions (6/22/2013 8:56:49 PM)

You are my hero! Now why didn't I see that. I read rulevars until my eyeballs fell out. I guess I wasn't paying attention when I got to the bottom of ZOC, Recon & Autoconquer Thank you.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.59375