View unanswered posts | View active topics It is currently Sat Apr 27, 2024 1:03 pm



Reply to topic  [ 132 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 Mobility V11 [Quick fix II] 
Author Message
User avatar

Joined: Thu May 05, 2011 1:30 am
Posts: 2875
Location: Rent free in your head. Vacation in your ass.
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post 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 :P


Fri Oct 07, 2011 2:20 am
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 07, 2010 7:19 am
Posts: 1279
Location: Places. And things.
Reply with quote
Post 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
Profile
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post Re: Mobility V9
yeah makes sense I may start learning how to really code soon :)


Fri Oct 07, 2011 3:05 am
Profile
User avatar

Joined: Mon Oct 25, 2010 5:51 am
Posts: 1198
Location: Sydney
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post 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
Profile
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post 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
Attachment:
Coalition.rte.zip [3.96 KiB]
Downloaded 252 times

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
Profile
User avatar

Joined: Sun Mar 13, 2011 6:17 pm
Posts: 646
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Oct 10, 2011 8:06 am
Posts: 26
Location: Indonesia
Reply with quote
Post Re: Mobility V9
Wow,Your mod are cool


Mon Oct 10, 2011 8:24 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 132 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.062s | 18 Queries | GZIP : Off ]