project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
20 Sep 2019, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2019-08-13, 22:03   #1
potential
Default AGM114 missile tweaking

Hello, is it possible to make missile perform faster, smoother, and more manuverable
potential is offline Reply With Quote
Old 2019-08-14, 08:27   #2
[R-DEV]​AlonTavor
PR:BF2 Developer
Default Re: Battlefield 2 Performance/Maneuverability missile

...what

Are you asking about modding? Or are you giving a suggestion?
AlonTavor is offline
Last edited by AlonTavor; 2019-08-14 at 08:44..
Reply With Quote
Old 2019-08-14, 09:00   #3
potential
Default Re: Battlefield 2 Performance/Maneuverability missile

asking about modding, i am new at this, would like some help
i am talking about agm114
potential is offline Reply With Quote
Old 2019-08-14, 13:10   #4
[R-DEV]​Arab
PR:BF2 Developer
Supporting Member

Arab's Avatar
Default Re: AGM114 missile tweaking

Moved thread to Community Modding.

First thing is to make a copy of pr folder and rename it to pr_edit, then in mods/pr_edit/bin/PRLauncher.exe, create a shortcut on the desktop and rename it to something like pr_edit so you know that launches PR with modified changes. Be aware that you can't join any servers in pr_edit.

The file to modify is in C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr_edit\content\objects_weapons_server.zi p\weapons\Armament\missiles\agm114_hellfire.tweak

Open that with Notepad++ (Recommended as it is a much better version of Notepad, avoid using Wordpad due to formatting issues)

You can increase the values in the following lines to make it faster:
Code:
ObjectTemplate.acceleration 300
ObjectTemplate.maxSpeed 125
Manuevaribility can be tweaked by increasing the values here:
Code:
rem ---BeginComp:DefaultFollowComp ---
ObjectTemplate.createComponent DefaultFollowComp
ObjectTemplate.follow.maxYaw 1.5
ObjectTemplate.follow.maxPitch 1.5
ObjectTemplate.follow.changePitch 0.2
ObjectTemplate.follow.changeYaw 0.2
ObjectTemplate.follow.minDist 10
rem ---EndComp ---
Most likely increasing changePitch, changeYaw can have a noticable difference but try increasing everything and having it the same value.

The best way to test this is in Test Airfield (COOP 64). This way, you can test your changes without organizing a playtest.

Code:
rcon debug - turns debug mode on.
rcon oneman - allows you to get into any vehicle with no kit requirements.
rcon start - allows you to skip vehicle start delay.
rcon health (name) 100 - gives you 100 HP in health.
rcon damage (name) 100 - gives you 100 HP to the vehicle.
rcon damage - turns on/off vehicle damage.
rcon spawner (vehicle) - allows you to spawn a vehicle that's in the map (otherwise game will crash).
rcon teleport 100 - to teleport 100m.
!fly (name) 100 - to launch yourself 100m.
.zip files are recommended to be opened in WinRar since it's what most people use.

You can modify soldier HP to be really high by opening each soldier in objects_common_server.zip/soldiers/pr_usa (example)/and opening each .tweak file.

Then replace ObjectTemplate.armor.maxHitPoints 100 and ObjectTemplate.armor.hitPoints 100 to 99999 and save for each.

Arab is offline
Last edited by Arab; 2019-08-14 at 13:37..
Reply With Quote
Old 2019-08-14, 19:27   #5
potential
Default Re: AGM114 missile tweaking

Thank you so much

i have alot more questions

what are the max values on those settings

--------------------------------------
ObjectTemplate.follow.maxYaw 1.5
ObjectTemplate.follow.maxPitch 1.5
ObjectTemplate.follow.changePitch 0.2
ObjectTemplate.follow.changeYaw 0.2
ObjectTemplate.follow.minDist 10
--------------------------------------

i have actually tried to change those values somewhile now, i am just going for more and more
what can be done, example there are a setting ObjectTemplate.Stiffness in that notepad file, that makes the missile very fast to move yes, i was wondering can i add anything in that section more, to make missile more ¤¤RESPONSIBLE¤¤ is the word, example can i bring in ObjectTemplate.softness or whatever more commands in the agm114,

(under)
ObjectTemplate.addTemplate S_agm114_hellfire_tv_Camera_RotationRpm

to make it even more better, i know it sounds funny or weird, but are there more ways?

keywords are:

1) best missile responsiveness
2) the most manuverable the missile can be tweaked
3) i am not necessarily looking the [faster] part of it

i am looking close to this one

https://www.youtube.com/watch?v=efNWODJ9s3c&t=101s

^ yes i know there are factors like macro
^ and of course the ping factor, video are made close to 40 ping

# can anything be changed elsewhere than agm114 file, example control.con
# or any other file, i dont know about

Thanks.
potential is offline Reply With Quote
Old 2019-08-21, 03:04   #6
[R-DEV]​Arab
PR:BF2 Developer
Supporting Member

Arab's Avatar
Default Re: AGM114 missile tweaking

Quote:
Originally Posted by potential View Post
Thank you so much

i have alot more questions

what are the max values on those settings

--------------------------------------
ObjectTemplate.follow.maxYaw 1.5
ObjectTemplate.follow.maxPitch 1.5
ObjectTemplate.follow.changePitch 0.2
ObjectTemplate.follow.changeYaw 0.2
ObjectTemplate.follow.minDist 10
--------------------------------------

i have actually tried to change those values somewhile now, i am just going for more and more
what can be done, example there are a setting ObjectTemplate.Stiffness in that notepad file, that makes the missile very fast to move yes, i was wondering can i add anything in that section more, to make missile more ¤¤RESPONSIBLE¤¤ is the word, example can i bring in ObjectTemplate.softness or whatever more commands in the agm114,

(under)
ObjectTemplate.addTemplate S_agm114_hellfire_tv_Camera_RotationRpm

to make it even more better, i know it sounds funny or weird, but are there more ways?

keywords are:

1) best missile responsiveness
2) the most manuverable the missile can be tweaked
3) i am not necessarily looking the [faster] part of it

i am looking close to this one

https://www.youtube.com/watch?v=efNWODJ9s3c&t=101s

^ yes i know there are factors like macro
^ and of course the ping factor, video are made close to 40 ping

# can anything be changed elsewhere than agm114 file, example control.con
# or any other file, i dont know about

Thanks.
Not sure what the max values are, but have a look at the list of BF2 Commands and see what does what:
https://www.realitymod.com/forum/sho...d.php?t=109751

Arab is offline Reply With Quote
Old 2019-08-21, 09:20   #7
potential
Default Re: AGM114 missile tweaking

there is no real description on those lines what does exactly what, there is only

std::string -> void
bool -> bool
float -> float

behind every command

but example can i use diffrent ObjectTemplate commands on diffrent tweak files
potential is offline Reply With Quote
Old 2019-09-11, 15:55   #8
[R-CON]​Fastjack
PR:BF2 Contributor

Fastjack's Avatar
Default Re: AGM114 missile tweaking

@Arab
I think he mean more like this : ObjectTemplate.target.connectionEffect e_towscope

@potential

After watching the YouTube clip ….
You want more responsiveness for your missile maneuverability right? If i understand you right, you trying to steer your missile directly with your crosshair without pressing leftclick over and over again right?


I dont have bf2vanilla installed on this Computer. Also i dont have the tweak of the vanilla agm114 and PR dont use the projectilecamera method like vanilla (The e_towscope_connectionEffect was used LONGTIME AGO).


But it should be possible because the OPK mod for BF2 has this option for the HOT Missiles you looking for in the Bölkow Bo-105 but they dont used the projectilecamera.

Try to add to your agm114 weaponlauncher :

Code:
ObjectTemplate.target.connectionEffect e_towscope
Fastjack is offline Reply With Quote
Old 2019-09-13, 18:22   #9
potential
Default Re: AGM114 missile tweaking

Hey, well i have tried to get my missile moving only by this ObjectTemplate.target.connectionEffect e_towscope
but so far no luck, i am not a modder, i dont understand what lines i need to add, need to take off, and hardly even put them to right places, i have also no steps what i should do next to make it work, as its being said

--The connectionEffect cause that you can steer your Missile like the ones in the TOWlauncher. It moves where you aim at. Like you firing a AT Missile and steer it into your target without clicking. Your Missile goes where you aiming at--

- i can use macro/autoclicker for to steer my missile, but as this option was given ObjectTemplate.target.connectionEffect e_towscope, can also do it, maybe it does give more natural feeling when, i steer my missile just by moving the mouse, as what it should do, is there anyone who can make it work? Please and thank you

# i want agm114 missile be THE MOST RESPONSIVE MISSILE, THAT IT CAN BE IN THIS GAME, what lines are needed to do that? there must be more, than only maxpitch,maxyaw,changepitch,changeyaw..

all those words are describing what the missile needs to be and those are, MANEUVERABILITY SMOOTHNESS RESPONSIVENESS

if its being said ObjectTemplate.target.connectionEffect e_towscope, can make missile MORE RESPONSIVE, like in this video https://www.youtube.com/watch?v=efNW...able_polymer=1, then can someone please get it to work.
potential is offline Reply With Quote
Old 2019-09-13, 19:22   #10
[R-DEV]​rPoXoTauJIo
PR:BF2 Developer
Supporting Member

rPoXoTauJIo's Avatar
Default Re: AGM114 missile tweaking

You have other options to do so.
1. Decrease missile speed + increase TTL
Code:
ObjectTemplate.maxSpeed 125
ObjectTemplate.timeToLive CRD_NONE/3.5/0/0
2. Move camera back, so you'll get larger FOV to use TV guidance
Code:
ObjectTemplate.addTemplate agm114_hellfire_tv_Camera
ObjectTemplate.setPosition 0/0/0.986687
3. Increase FOV itself on camera, so you can target larger area
Code:
ObjectTemplate.worldFOV 0.6
ObjectTemplate.insideFOV 0.6
other than that, you've already heard options, change values in FollowComp...

assetruler69: I've seen things you smurfs wouldn't believe. Apaches on the Kashan. I watched burned down tank hulls after the launch of the single TOW. All those moments will be lost in time, like tears in rain.
Time to give up and respawn.
rPoXoTauJIo is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:00.