Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- == DOWNLOADS: ==
- ----------- : ---- : -----------------------------------------------------
- game-home : 44MB : http://www.mediafire.com/download.php?lu0muy1bc229bhz
- ----------- : ---- : -----------------------------------------------------
- win32 :Ärkef.: http://test.bcfh.eu/shotty_win.zip
- Mac OS X : R.R.: http://pbclan.tk/sekret_files/SST_assaultcube.dmg
- linux64-bin : flow: http://www.mediafire.com/download.php?2k0rqi6ktah3q63
- ----------- : ---- : -----------------------------------------------------
- sourcediffs : 6KB: http://www.mediafire.com/download.php?7gda642opko5tdt
- full-source : 300KB: http://www.mediafire.com/download.php?0xaa3kfh9hzxphm
- ----------- : ---- : -----------------------------------------------------
- == HowTo: ==
- This is basically thought of as a client-only testing scenario; you /can/ use it online, but it requires that the server is of the same "type" - that means, someone must start a server with these binaries .. sadly we neglected to change the protocol version .. so it messes with the sanity of the serverbrowser - please be sure to use a "WiP SHOTGUN TESTING"-title (or such) for your server and if you can manage it with your buddies simply do NOT register it as public; simply pass the IP around. Thank You!
- If you are on mac, skip until you see "For Mac:". Everybody needs 'game-home' (media); unpack
- contained ACshotgun folder to e.g. Desktop.
- - Create a new link to game-launcher (assaultcube (.BAT)) and
- - pass it the additional argument "--home=/PATH/TO/DESKTOP/ACshotgun",
- with PATH/TO/DESKTOP being your real path to where you unpacked the GameHome.
- - use this launcher to test-play
- - sgpat.cfg gives LCTRL & RCTRL (left/right control keys) new meaning
- left displays the last shot-pattern, right brings up the config-menu.
- For Mac:
- - Open the .dmg you downloaded, and play the game.
- - sgpat.cfg (already included and executed) gives LCTRL & RCTRL (left/right control
- keys) new meaning left displays the last shot-pattern, right brings up the config-menu.
- If you are on a macbook pro and dont have RCTRL, P is bound to it by default.
- == Caveats: ==
- Windows: the client is still called ac_client.exe - rename to ac_shotgun.exe and
- adapt a _copy_ of the BAT-file-launcher to match that new name.
- Linux: you can copy the binaries to the bin_unix of your 1104 installation,
- the gamehome replaces all the media so it matches the SVN-file-layout.
- MAPS: you might have trouble spawning on maps, if so remove the "official" and "servermaps"
- subdirectories of the packages/maps-folder in your unpacked-gamehome data!
- == Technical background: ==
- The shotgun uses 3 rings: center, middle and outer
- Each ring gets 21 pellets distributed evenly (!) inside it's area.
- The pellets (in their sum) can do a given percentage of the total-damage /if/ they actually hit.
- All of these attributes can be configured.
- The circles can be made to overlap each other, or leave segments free even -
- whether this is a sensible setting though is highly questionable.
- The default settings were picked to most closely approximate the behaviour so far.
- It is recommended that you first get a feel for the changes in settings,
- try to generate such free segments as mentioned above ..
- just keep shooting and pressing LCTRL.
- Once you've got a feel for that you can
- start fiddeling together something you think would behave in some fashion,
- start a BOT DEATHMATCH and set "/idlebots 1" .. have a go at shooting the bots
- from different angles and distances.
- == Usage: ==
- There are the variables to be changed; there are also 3 new commands: shotty_state, shotty_query (which takes a clientnum to remotely get a state) and shotty_force - the last two of which, naturally, only work in the proper client/server enviroment mentioned right at the top of this document. They both need to be running binaries from this testing-suite!
- To help you understand the values you need to see a triplet for each ring section (see "Technical background"):
- For center, middle and outer (C,M and O) there are corresponding damage (dmg), base and range. The dmg-VAR is for the percentage of overall total damage this section can make (if all pellets hit) - so if all three rings have values of 333 they add up to 99.9% - 333/10 = 33.3 .. 3 * 33.3 = 99.9 ... okay so far?
- Then each ring has a "base", if you mess around too much the C/M/O categories won't mean much .. but they're the underlying paradigm nonetheless. The whole circle of damage can be no larger than 2.5 units. The center should have a base of 0, and with a range of 50 it would go to a radius of 50; the middle would then (most logically) have a base of 50 and .. say .. a range of 50 too - then middle would go from 0.5 to 1.0 .. still following?!?
- Keeping with this progression, let's mix it up for the outer ring just a little - it's base is 100 (1.0) and it's range 150 - so then it will go from 1.0 to 2.5.
- Another combo may be C:0.0-0.9 M:0.8-1.5 O:1.5-2.0 .. or - just for fun: C:0.5-0.6 M:1.0-1.1 O:2.0-2.1 .. but that's really ridiculous, don't you think??
- Anyway, with the LCTRL key (showsgpat command) you can see the pattern you just hit with your last shot, that should keep you on the right path to a useful combo of values.
- Lastly the BONUS-damage - this is what will make the shotgun really splatter your opponent, by enabling FULL DAMAGE! This is controlled by two VARs: SGDMGDISTB and SGDMGBONUS, if the distance you shot at is shorter than indicated by the DIST VAR the value of the BONUS is added to the damage you dealt (assuming you actually hit with at least one pellet).
- Due to the underlying logic there's no sense in allowing for more damage than 105 with BONUS included from this source - so you may create an OVERKILL scenario, which would drop this surplus damage. To allow for SPLATTER (gib) effect, make sure TOTAL + BONUS = 105.
- Keep the values sane - inside the paradigm - and you'll fare well.
- HTH
- These are the latest values "to try out":
- --------------
- shotgun_tryout = [
- SGDMGTOTAL 88
- SGCCdmg 500
- SGCMdmg 325
- SGCOdmg 175
- SGDMGDISTB 50
- SGDMGBONUS 62
- SGCCbase 0
- SGCCrange 45
- SGCMbase 25
- SGCMrange 60
- SGCObase 50
- SGCOrange 75
- ]
- --------------
- Ronald_Reagan along with rofl and Aekom did some testing and came up with these sets (in order):
- /-------------------------------------------------------\
- | VALUE | DEF | #1 | #2 | #3 | #4 | #5 | D->5 |
- |------------+-----+-----+-----+-----+-----+-----+------|
- | SGDMGTOTAL | 88 | 95 | 95 | 95 | 95 | 95 | + 7 |
- | SGCCdmg | 500 | 495 | 495 | 490 | 480 | 470 | - 30 |
- | SGCMdmg | 325 | 325 | 325 | 330 | 335 | 338 | + 13 |
- | SGCOdmg | 175 | 180 | 180 | 180 | 185 | 191 | + 16 |
- | SGDMGDISTB | 50 | 50 | 50 | 50 | 50 | 50 | 0 |
- | SGDMGBONUS | 62 | 62 | 62 | 62 | 62 | 62 | 0 |
- | SGCCbase | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
- | SGCCrange | 45 | 45 | 50 | 50 | 50 | 53 | + 8 |
- | SGCMbase | 25 | 25 | 25 | 33 | 33 | 33 | + 8 |
- | SGCMrange | 60 | 60 | 60 | 64 | 64 | 64 | + 4 |
- | SGCObase | 50 | 55 | 55 | 57 | 57 | 57 | + 7 |
- | SGCOrange | 75 | 82 | 82 | 84 | 84 | 84 | + 9 |
- \-------------------------------------------------------/
- DEF: defaults (see above)
- #1 .. #5: the series of values they tested, so you can retry them and follow their thought process a little :)
- D->5: this column just shows the delta (=change) between the original ("default") set and their final one (#5).
- Further down the line Ronald_Reagan suggested the following values:
- SGDMGTOTAL 85
- SGCCdmg 550
- SGCMdmg 350
- SGCOdmg 100
- SGDMGDISTB 50
- SGDMGBONUS 65
- SGCCbase 0
- SGCCrange 40
- SGCMbase 25
- SGCMrange 60
- SGCObase 45
- SGCOrange 75
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement