Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Scorrpio

Pages: [1]
XPiratez / Sharing a few toys
« on: April 14, 2017, 02:46:44 am »
Per request, sharing some of the tools I wrote.   These are pretty basic stuff.   
You need some way to compile the C++ code and run the resulting executable.   And this is all command line, I don't do GUI  :)
I personally use cygwin64 terminal with GNU C++ and Netbeans IDE for editing.

In all the programs, main function has two strings: saveDir and ruleDir that should point to save and ruleset directories, respectively.   

By default, game.sav save file is used.

Research analyzer (rsrch.cpp)
Providing a target research topic:  right now, one has to type in an exact codename, such as STR_SCHOOLING_2
In the plans it to allow typing in translated name and do pattern search, but for the time being I just grep Piratez_lang   :)

Providing a research topic without options tells you what you need for it.
Options prepending the topic:
 -g  tells you what the topic is immediately needed for, as well as its list of 'give free'
 -t   lists all the research that needs the topic.

Working also with topic:
-k  lists requirements or dependents you already know.  By default they are skipped
-u  shows Bootypedia entry for the topic

Other options
-s [savename]    - use alternate save file (without .sav extension)
-c  cost analisys.    Shows cost distribution of projects not yet researched.   Providing a number, i.e. 20 will list topics with that cost.
-f   lists research that has facility requirements
-a  lists topics available to research or being researched.
-p  lists currently being researched topics
-n (works with -a) also lists topics that you could research if you had the requisite item (can be quite long)

rsrch -u -g STR_MAGICAL_GIRL -s Daily
    +1 others
   Magical Cake / STR_CAKE (5) [ ITEM MISSING ]
   Mercenary Shock Trooper / STR_MUTON_HEAVY (15) [ ITEM MISSING ]
   Mercenary Commando / STR_MUTON_NAVIGATOR (15)
   Mercenary Soldier / STR_MUTON_SOLDIER (10)
   Smuggler Captain / STR_SMUGGLER_CAPTAIN (15) [ ITEM MISSING ]
   Wand of Peace / STR_WAND_HARTO (10) [ ITEM MISSING ]
   These barely-adult girls have exactly that kind of immoral innocence about them that makes most males weak-kneed. They're also aggressively nice, playful and adaptive (see how she dresses after a few days here). What's perplexing though, they have no recollection of their identity or origin, or even the Well-wisher (whom they call the Goddess of Love, or of Cake), other than they found themselves aboard the ship with a deeply engraved mission of 'spreading love'. They also possess bits and pieces of strange knowledge and/or previous encounters.

rsrch -u STR_GRAVITY_PHYSICS -s Daily
Gravity Physics / STR_GRAVITY_PHYSICS (60)
   Implosion Bomb Launcher / STR_BOMB_LAUNCHER (0)
      Implosion Bomb Lnchr. Parts / STR_BOMB_LAUNCHER_PARTS (35) [ ITEM MISSING ]
   /Implosion Bomb Launcher
/Gravity Physics
   The Stellar Empire has mastered the use of antigravity, as can be witnessed in the easiness of use of the Grav Harness and antigrav vehicles. The body of knowledge we have secured will let us optimize our own antigravitic technologies.

XPiratez / All those pinups
« on: April 07, 2017, 12:10:40 am »
I got a bit of a problem:  UAC documentation.  It is in the higher studies tree but unless I run into a rare spawn in a rare mission, data disks are the only source.   And in the past 3 months I got a grand total of one disk dropped.   Overall, I had maybe 14 disks over 17 months. Sure I can datamine them from personal DBs, the ones I got in stock will yield maybe 5 disks.  And sure, I could set runts to grind DBs and make discs at 7700 runt hours a pop, but first I am eliminating every tech I can get elsewhere.

Disks can yield almost 300 bits of info, but most of that info can be obtained elsewhere.   I am down to about 56 items, and vast majority of those are pinups: the tidbits of wisdom like "armor useful only to those who get hit".   And they dilute my chances of hitting the tech I need something crazy. 

The problem is it looks like those were designed as bits of wisdom for a starting player, not someone who is doing well enough to afford data mining.   Were disks supposed to be a more common thing?   Another problem is looks like pinups are unfinished.  I mean: pilots can give piloting pinups, voodoo guys can yield voodoo wisdom and medics got stuff about pain and such.   One would expect the likes of Ninja gals, Spartan riflemen or Church warmaidens to yield the combat ones.  Oh and it looks like some pinups such as the hideout song, are not obtainable at all...

XPiratez / Confirming the damage formula
« on: March 23, 2017, 01:50:28 am »
Hey, guys, just trying to make sure I have the damage formula right,

Say, a Gal with 90 Melee and 75 Str hits a Marsec Operative with a Hammer from the side

Marsec Operatrive: 45 HP.   armor: 40 on side, 0.75 concussion damage factor.

Hammer base power is 60, ArmorPre 0.1, damage bonus 0.5 Str, 0.3 melee.   ArmorEffectiveness omitted, so I suppose it is 1.0

So, it this sequence right?
1.   Add damage bonus to base power:   60 + (0.5 * 75) + (0.3 * 90) = 127.5
2.   Take a random 50-150% roll for a melee attack:   Say, it comes out to 93%, so 127.5 * 0.93 = 118.6
3.   Apply 0.75 concussion resistance factor:     118.6 * 0.75 = 88.9
4.   Apply 0.1 damage to side armor:   40 - (40*0.1) = 36
5.   Subtract armor from adjusted damage:   88.9 - 36 = 52.9
6.   So final tally is that the guy takes 52.9 damage vs his 45, which kills him.   
Suppose he had 60hp, which would take him to 7hp
However, hammer has "1.5 to stun"  - not sure what value would need to be multiplied by 1.5, but if it is the HP loss, the guy would be heavily stunned.
Looks about right?   


XPiratez / Them Ratmen are FAST!!!
« on: March 08, 2017, 04:43:20 am »
My Hyperwave decoder in Asia has just picked up a very small ship, flying 'Ratmen' flag, mission 'Plunder', and moving at a speed like 51452693.  Did not think to take a screenshot, clicked 'center, time 5sec', and it just blinked and was gone...

Anyone seen anything like it?

Pages: [1]