Revamp Expansion Mod (RVE) The Ultimate Supreme Commander 2 Experience (New Scale, New Units, New Ability's, New Game)

Forum Thread
by member
  Posts  
AI Building Buildings (Mods : Revamp Expansion Mod (RVE) : Forum : Mod Creation Help : AI Building Buildings) Locked
Thread Options
May 4 2013, 8:13pm Anchor

Okay. This thread makes my threads outnumber any other threads in the mod helf forum 3 to 1. Hehe....

I think this really should be my last question for a while, as it is the last basic functionality question that I need for a release of any sort.

I have managed to get the AI to use my units, and that is all well and good, however, I beleive the game randomly crashes if I try to get the AI to build any buildings (this is just a guess though, as the crashes are RANDOM). For the buidings, I just copy the blueprint of a similar unit in the AI engineer builder files, and then I fill in any unit-specific info with that of my own. (ie... change unit id's, unit name). I also add my units to the building templates file. Any ideas as to what would cause the crash, and is it okay to copy the blueprints like I"m doing now (well...tried to do)?

Also, just for fun, where is the list of ACU names stored?

Edited by: ALBINOsnowball

May 8 2013, 7:28am Anchor

It will only crash if the AI cant find the unit in the building templates file so make sure they all have the correct names and ids even if one is wrong and the ai goes to build it and cant find it the game will crash, The AI names are saved in \lua\ui\lobby\aiNames.lua

Edited by: OverRated

May 8 2013, 10:33pm Anchor

Ah, I see. I guess I'll just have to be even more careful with the building templates. I'm just hoping that THAT is what's causing the crashes. If it's not.....well, I'm not going to go there. Also thanks for the AI names, maybe I will battle an AI me now....

PS. Spotted you in the PA forums wishing for lua :). A shame it won't be in-game, now that I'm sort of getting the hang of it (the blueprint part, that is).

--

Image and video hosting by TinyPic

May 9 2013, 5:26am Anchor

PA will use BPs but the scripting wont be lua the main reason i wanted it to be lua it would of been easy to port RVE to PA but now i dont think it will happen.

May 9 2013, 10:03pm Anchor

Well, at least I will have some knowlege of what I am doing....

Another quick question ( :devil: ), I am picking around with explosion effects, but I was wondering if there's any easier way to scale them other than changing all those numbers in the emitter bps. I tried adding Scale = [number] to each emitterbp, but as you probably know, that didn't work out to well (aka it crashed).

Edited by: ALBINOsnowball

--

Image and video hosting by TinyPic

May 9 2013, 11:06pm Anchor

Add ExplosionEffectScale to the death table in what unit you wish to scale it for.

May 9 2013, 11:10pm Anchor

I see. Did you add all these commands, or are they all there and I"m just too lazy to find them?

Whoops. I see my devil text face didn't turn out so well last post. Time to fix that...

--

Image and video hosting by TinyPic

May 10 2013, 11:07am Anchor

There all revamp commands there is hardly any scaling calls in SC2, RVE 1.2 has a lot more command than 1.1 :) .

Reply to Thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.