View unanswered posts | View active topics It is currently Fri Dec 27, 2024 7:12 am



Reply to topic  [ 7 posts ] 
 How to remove jetpacks and change jump height? 
Author Message
User avatar

Joined: Sat Oct 20, 2012 11:03 am
Posts: 48
Reply with quote
Post 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
Profile
User avatar

Joined: Thu Jan 21, 2010 10:59 pm
Posts: 151
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Oct 20, 2012 11:03 am
Posts: 48
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post 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
Profile YIM
User avatar

Joined: Sat Oct 20, 2012 11:03 am
Posts: 48
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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.035s | 14 Queries | GZIP : Off ]