Author |
Message |
Mackerel
Joined: Thu May 05, 2011 1:30 am Posts: 2876 Location: Rent free in your head. Vacation in your ass.
|
 Re: Mobility V9
I was just reposting what Coop said because you didn't go back and read. I wouldn't know.
|
Thu Oct 06, 2011 2:58 am |
|
 |
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
|
 Re: Mobility V9
no I know I just thought I would build off of his question instead of asking pretty much the same thing  its ok I figured it out in case anyone wants to know put this at the very bottom, under any other code 
|
Thu Oct 06, 2011 3:02 am |
|
 |
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
 Re: Mobility V9
Actually it goes in the AHuman's slab of code. Which in the Coalition Soldier's .ini happens to be at the bottom. Anywhere in that slab with correct tabbing should work.
|
Thu Oct 06, 2011 4:25 am |
|
 |
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
|
 Re: Mobility V9
Hmm tested it and it doesn't seem to work if anyone could post a snipet of code to see what I did wrong that would be nice
|
Fri Oct 07, 2011 12:01 am |
|
 |
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
 Re: Mobility V9
Find this: (or something similar) Code: AddActor = AHuman PresetName = Soldier Mass = over 9000 --> ScriptPath = Mod.rte/FilePath/Script.lua And add it there. That's pretty standard config for default material, which actor are you having trouble with?
|
Fri Oct 07, 2011 1:28 am |
|
 |
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
|
 Re: Mobility V9
Coalition.rte/Soldier/Soldier.ini but I think this might fix it I think I was putting it in the wrong spot 
|
Fri Oct 07, 2011 2:20 am |
|
 |
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
 Re: Mobility V9
In the Soldier.ini, down near the bottom, you'll find what I posted above. iirc it has the code for both heavy and light soldiers. Find their PresetName and just pop the ScriptPath in under that.
|
Fri Oct 07, 2011 2:50 am |
|
 |
unwoundpath
Joined: Sun Mar 07, 2010 7:19 am Posts: 1279 Location: Places. And things.
|
 Re: Mobility V9
Kettenkrad wrote: In the Soldier.ini, down near the bottom, you'll find what I posted above. iirc it has the code for both heavy and light soldiers. Find their PresetName and just pop the ScriptPath in under that. No, replace the line that says "skriptpath=...(ect) With the one from this mod. That make sense?
|
Fri Oct 07, 2011 2:52 am |
|
 |
Asatruer
Joined: Thu May 28, 2009 3:59 pm Posts: 209
|
 Re: Mobility V9
The vanilla Coalition soldiers both already have ScriptPath's (lines 1279 and 1645 respectively). ScriptPath = Base.rte/Actors/AI/HumanAI.lua Simply change it to ScriptPath = Mobility.rte/Soldier.lua or ScriptPath = Mobility.rte/SoldierJet.lua
or you could just use the Replace function of your text editor, and thus not have to find those lines at all.
|
Fri Oct 07, 2011 3:05 am |
|
 |
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
|
 Re: Mobility V9
yeah makes sense I may start learning how to really code soon 
|
Fri Oct 07, 2011 3:05 am |
|
 |
Kettenkrad
Joined: Mon Oct 25, 2010 5:51 am Posts: 1198 Location: Sydney
|
 Re: Mobility V9
Asatruer wrote: The vanilla Coalition soldiers both already have ScriptPath's (lines 1279 and 1645 respectively). ScriptPath = Base.rte/Actors/AI/HumanAI.lua Simply change it to ScriptPath = Mobility.rte/Soldier.lua or ScriptPath = Mobility.rte/SoldierJet.lua
or you could just use the Replace function of your text editor, and thus not have to find those lines at all. My mistake, I completely forgot about the new AI.
|
Fri Oct 07, 2011 3:09 am |
|
 |
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
|
 Re: Mobility V9
It still doesn't work could someone please like post some code that they know works? specifically I need to get this to work with one man army and im trying to use the mobility jet script
|
Fri Oct 07, 2011 3:28 am |
|
 |
Asatruer
Joined: Thu May 28, 2009 3:59 pm Posts: 209
|
 Re: Mobility V9
nicolasx wrote: It still doesn't work could someone please like post some code that they know works? specifically I need to get this to work with one man army and im trying to use the mobility jet script I was trying to be extra specific, but I apparently completely forgot to explicitly call out that what I was talking about was Coalition.rte/Actors/Soldier/Soldier.ini The method I described works perfectly. ...but, here is a zip for you Extract into your Cortex Command dir, and make sure you overwrite. Also, make sure you do not drop the Coalition.rte in this zip into the Coalition.rte, because that will not work.
|
Fri Oct 07, 2011 4:19 am |
|
 |
nicolasx
Joined: Sun Mar 13, 2011 6:17 pm Posts: 646
|
 Re: Mobility V9
yes I was working with that, but I may have got it wrong, sorry for the trouble will test soon  Edit: it works, sorry for the trouble
|
Fri Oct 07, 2011 4:23 am |
|
 |
malik
Joined: Mon Oct 10, 2011 8:06 am Posts: 26 Location: Indonesia
|
 Re: Mobility V9
Wow,Your mod are cool
|
Mon Oct 10, 2011 8:24 am |
|
 |
|