Company of Heroes 2

Company of Heroes 2

CheatCommands Mod
Trebgarta 17 Jan, 2015 @ 3:04am
Usage of Cheat Commands Mod Scripts
Title; the reason is I can't possibly use this WCP with my own, but I'd love to have some of the functionality of both WCPs to get the best result.

Also you have some sweet utility functions too :)
< >
Showing 1-6 of 6 comments
Janne252  [developer] 17 Jan, 2015 @ 9:23am 
Hey,

You would have to re-create all attrib stuff but I assume that's not a problem.
Could you start by listing what you are interested of using in your own mod? Thanks.
Trebgarta 17 Jan, 2015 @ 10:05am 
First of all, your mod is awesome for testing purposes. However, as I occasionally tweak the AI with my own WCP, I would like to retain those features while testing, so I'd need to incorporate the infinite resource/instant build.

Other than that, your Tactical Commands Mod's Resource and Unit Trade systems are the best. I myself thought about resource exchange, but I'd do it by airborne supply crates, but after seeing yours, I gave up on that. I wouldn't even think about unit exchange, which is quite excellent.

Other than those, some utility functions I saw among the scripts could be useful for me.

These are the ones that I do need, but everything you've written is extremely useful. You draw the lines, you are the one who owns the scripts after all!
Janne252  [developer] 17 Jan, 2015 @ 10:11am 
Feel free to use any of the utility functions. Just add
-- Originally created by Janne252 (from: modname)
on top of them, e.g.
-- Originally created by Janne252 (from: CheatCommands Mod) function Dude() return true end

I appreciate your careful approach with this. If you don't mind, could you list what functions you are going to use? I'm just curious.
Trebgarta 17 Jan, 2015 @ 10:47am 
Well, thanks! In fact, I hadn't decided completely yet. I just wanted to have clearance before I did something, anything. I just liked the features on-screen, I hadn't even extracted TC WCP at first. Though I extracted and looked now, for example,

...function Util_GetBlueprint(item)... ...function Util_GetUnitOwner(unit)... ...function World_ForEachEntities(f)... --In fact, I had tried to do something and failed that this would help with ...function Msg(text)... ...function TC_GetAbilityBlueprint(blueprint)... --How this adds up guid without copy pasting, it is really basic but somehow I couldn't think of it :(

Are all really useful utility functions just I found on TC_Core I'd be happy to use.

I'd also love to shamelessly entirely (well, maybe sorta %95) copy paste the unit and resource transfer abilities, with giving you credit on the mod's description of course.
Janne252  [developer] 17 Jan, 2015 @ 10:52am 
Alright, you have my permission.
Trebgarta 17 Jan, 2015 @ 11:01am 
Thank you very much!
< >
Showing 1-6 of 6 comments
Per page: 1530 50