Author |
Message |
JayTasslehoff
Joined: Sat Oct 20, 2012 11:03 am Posts: 48
|
How to remove jetpacks and change jump height?
Hello, I'm trying to make a super soldier who can jump really far (not high), and I want to remove his jetpack.
but im not sure what line of code to look for inside of the ini (sorry) could someone provide me with some sample lines I should be looking for or tell me how I would do any of this? thanks!
|
Mon Oct 29, 2012 12:49 am |
|
|
ShadowStorm
Joined: Thu Jan 21, 2010 10:59 pm Posts: 151
|
Re: How to remove jetpacks and change jump height?
If you want to jump instead of jetpack: 1 Go to your actor's code find the 'Jetpack = AEmitter' line 2 Right under that it should say 'Copyof = Jetpack Heavy' or something similar 3 Open up Pyro.ini located in base.rte/pyro/pyro.ini and find 'jump light' 4 Take the whole section and put it either in a seperate .ini (if you do this, make sure you don't forget to add it to index.ini) or on the top of your actors code 5 Modify the burst size to your liking (or at least, that's what I did for my jump), setting the BurstSize to 25 will make your actor able to jump high enough to reach the next floor 6 Rename the AEmitter and replace 'Jetpack Heavy' to whatever you named it
Note: This will make your actor jump both higher and further, but if you want to specifically make your actor jump FURTHER then I'm not sure how you would do that.
|
Mon Oct 29, 2012 2:08 am |
|
|
JayTasslehoff
Joined: Sat Oct 20, 2012 11:03 am Posts: 48
|
Re: How to remove jetpacks and change jump height?
Ah thats great, hmm, you wouldn't by chance know how to create off hand weapons? I want to create dual pistols... for a very special mod I made. (heh)
Well thats cool anyway, I wish I could figure out what controls the speed of a jump.
Have you tried the Combine overwatch mod? You know how the Combine Assassin female bounces all over the map? Did they simply use a ACrab to achieve that movement or what?
Well i'll get on my changes regardless, thank you.
|
Tue Oct 30, 2012 8:38 am |
|
|
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
Re: How to remove jetpacks and change jump height?
That's easy - just make a duplicate with a different PresetName (e.g. "PISTOL (Offhand)") and add it to the Shields group. This has to be a full-on copy as far as I know, not just a CopyOf with a new PresetName. For example; Code: AddDevice = HDFirearm PresetName = Bolt Pistol (Offhand) Description = Lighter than the Bolter, but still very deadly. Now for your off-hand! AddToGroup = Shields ... It'll then appear in the Shields tab of the buy menu instead of the main weapons tab, and be used in the background hand instead of the foreground one, and so on.
|
Tue Oct 30, 2012 8:44 am |
|
|
JayTasslehoff
Joined: Sat Oct 20, 2012 11:03 am Posts: 48
|
Re: How to remove jetpacks and change jump height?
Arcalane wrote: That's easy - just make a duplicate with a different PresetName (e.g. "PISTOL (Offhand)") and add it to the Shields group. This has to be a full-on copy as far as I know, not just a CopyOf with a new PresetName. For example; Code: AddDevice = HDFirearm PresetName = Bolt Pistol (Offhand) Description = Lighter than the Bolter, but still very deadly. Now for your off-hand! AddToGroup = Shields ... It'll then appear in the Shields tab of the buy menu instead of the main weapons tab, and be used in the background hand instead of the foreground one, and so on. aahhhh I see, very nice!
|
Tue Oct 30, 2012 10:10 am |
|
|
Gotcha!
Joined: Tue Apr 01, 2008 4:49 pm Posts: 1972 Location: The Netherlands
|
Re: How to remove jetpacks and change jump height?
Keep in mind that the AI will probably not use the offhand pistol because they 'think' it's a shield. (Haven't tested this in B27-1.0.)
|
Tue Oct 30, 2012 12:24 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Re: How to remove jetpacks and change jump height?
The AI will use the offhand weapon if it is holding a genuine weapon in their normal hand. I've tested that with the Novamind mod before I changed the SN-25.
|
Tue Oct 30, 2012 2:20 pm |
|
|
|