Author Topic: FOnline Character Planner  (Read 205063 times)

Re: FOnline: 2238 Character Planner
« Reply #180 on: August 24, 2010, 01:02:18 am »
What about adding in "Combat" tab % to hit at 50 distance at torso, but show exact ammount, not capped on 95%, so people can calculate aimed shots/bursts/AC.
1) with long ranged weapon perk;
2) without long ranged weapon perk.
The formula is given by TheBob:
the base to hit% is your skill.
 - add (PE-2)x16% for all long range weapons(i.e. with a range of 26+) that were already implemented in FO 1, or are upgrades of these weapons, (PE-2)x8% for the rest.
 - The scoped hunting rifle gets (PE-2)x20% instead of the x16% if you shoot at a target that is at least 5 hexes away, or no PE-bonus at all for closer enemies.
 - It seems the other newly implemented long range weapons in FO 2 are bugged, they only get the (PE-2)x8% while all long range weapons from FO 1 had the (PE-2)x16%.
 - deduct 4% per hex between you and your target.
 - deduct 20% for each point of ST missing to use the weapon properly.
 - accurate weapons get a 20% bonus. All shotguns also get that. Guess it's easier to hit because of the spread.
 - deduct the AC of your target after modifying it with the used ammo type.
 - darkness, obstructions in the line of fire, and several perks also give boni or mali, which I do not know.
 - After all the above modifiers your chance to hit CAN get below 0, but never above 95%.
Surce to DL code from Atom:
http://fonlinedocs.netii.net/tohit2.c

A pseudocode version of the to-hit algorithm (it's too long to call it "formula"), as reversed from the FO2 executable.
The notion of long rangedness, scope rangedness and accuracy is based on the weapon perk, a hidden property of weapon present in FO2 (proto offset 0x65).

The following are not implemented in Fonline, due to engine constrains: light level bonus/malus (and hence Night Sight weapon perk), multihex critters blocking the line of fire, difficulty settings (obviously).

*Without ST penalty for weapon, obviously;
*With Sharpshooter perk taking in account;
*At 50 distance, so people will add 4% for every hex less than 50 if they don't want 50 as max;
*Again, % to hit shouldn't be capped on 95%, so you can deduct -% for aimed shots and next bullets from burst yourself.

Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #181 on: August 28, 2010, 09:40:17 pm »
Sorry for taking so long to answer.

I think that could be done. Currently I have some other projects going on, so it will take some time.

Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #182 on: September 13, 2010, 05:53:48 pm »
Bit bigger update for FCP this time.

3.0.0
- AJAX (almost 100% realtime)
- Back button
- Public and private builds
- No need to reload the page on level up (faster to make builds)
- Critical chances are now using the new formula
- Builds are saved for 14 days instead of 7
- Drugs are now updated
- Bug fixes

You can try it here
http://www.nitue.net/fcp/

I hope you like it. :)

Offline Nexxos

  • Moderator
  • o_O
  • O_o
Re: FOnline: 2238 Character Planner
« Reply #183 on: September 13, 2010, 06:01:59 pm »
HOLY DAMN! That update is VERY COOL. Gonna start bugtesting.
“And we passed through the cavern of rats.

And we passed through the path of streaming flamethrowers.

And we passed through the faction of the blind.

And we passed through the slough of swarm.

And we passed through the vale of tears.

And we came, finally, to the ice caverns.

Offline Crazy

  • Drugged Childkiller
Re: FOnline: 2238 Character Planner
« Reply #184 on: September 13, 2010, 06:27:46 pm »
Really nice. Great work!
When you have to shoot, shoot, don't talk

Member of the Most Hated Faction
TTTLA, for Great Justice !

Offline Berko

  • Tim Tom Ted
    • http://kabefis.deviantart.com/
Re: FOnline: 2238 Character Planner
« Reply #185 on: September 13, 2010, 07:21:39 pm »
Very good update :)
A little problem : You can't choose a skill to add point when clicking on numbers (ex: 46%) you can only do it when clicking on right or left of these numbers (%) and like I'm a badass I love click on these numbers .. :p
~~~ Ashes of Phoenix project --> http://fonline-aop.net/ ~~~

Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #186 on: September 13, 2010, 07:32:32 pm »
Very good update :)
A little problem : You can't choose a skill to add point when clicking on numbers (ex: 46%) you can only do it when clicking on right or left of these numbers (%) and like I'm a badass I love click on these numbers .. :p

Ah, yeah. It's fixed now. You might have to press CTRL + F5.

Edit: Some older computer might have some performance problems. I will try to improve the performance.
« Last Edit: September 13, 2010, 07:48:30 pm by Opera »

Offline Berko

  • Tim Tom Ted
    • http://kabefis.deviantart.com/
Re: FOnline: 2238 Character Planner
« Reply #187 on: September 13, 2010, 07:46:23 pm »
Muhihi, thanks.
~~~ Ashes of Phoenix project --> http://fonline-aop.net/ ~~~

Offline runboy93

  • 'Insanity'
    • MyAnimelist Profile
Re: FOnline: 2238 Character Planner
« Reply #188 on: September 13, 2010, 08:27:49 pm »
... But where is everything releated to crafting?
« Last Edit: September 14, 2010, 12:09:48 pm by runboy93 »

Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #189 on: September 15, 2010, 08:25:52 am »
... But where is everything releated to crafting?

I removed this section. There are too much changes coming all the time, so keeping it up-to-date is difficult.

Offline runboy93

  • 'Insanity'
    • MyAnimelist Profile
Re: FOnline: 2238 Character Planner
« Reply #190 on: September 15, 2010, 08:58:54 am »
Btw is healing rate right with FCP?
4 EN and fast metabolism give 6 to healing rate.

Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #191 on: September 15, 2010, 09:30:03 am »
Btw is healing rate right with FCP?
4 EN and fast metabolism give 6 to healing rate.

Seems like when you are making character in game itself, the formula is different after registering the character.

Offline Fridge_Man

  • The Guardians
Re: FOnline: 2238 Character Planner
« Reply #192 on: September 15, 2010, 05:06:35 pm »
Sweeet op!  :)

We should start to donate to opera too, so he can get a few reissdorf!


Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #193 on: September 15, 2010, 09:35:37 pm »
Sweeet op!  :)

We should start to donate to opera too, so he can get a few reissdorf!

Donates as Reissdorf Kölsch. It would be heaven! :)

Offline Opera

  • Guardian
    • Nitue.net
Re: FOnline: 2238 Character Planner
« Reply #194 on: September 17, 2010, 06:26:50 pm »
I had to delete all builds made so far. I made some changes to the code and perks got messed up with "old" builds. I'm sorry about this. New builds will be working just fine.