Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LANGUAGE
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ PICKUP_NDM="Picked up a 9mm NDM round.";
PICKUP_NDMBOX="Picked up some 9mm NDM ammo.";
PICKUP_828MM = "Picked up a stray 8.28mm round.";
PICKUP_828MMCHUNK = "Picked up some stray 8.28mm rounds.";
PICKUP_828MMBOX = "Picked up a box of 8.28mm UAC battle rifle rounds.";

TAG_BELTLINKS="Belt Links";
TAG_776BELTLINK="Small Belt Link";
Expand Down
Binary file added sprites/828 UAC/8boxa0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 25 additions & 4 deletions zscript/HDBulletLib/Ammunition/828 UAC.zsc
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ const ENC_828_LOADED = ENC_426_LOADED * 2.65;
which cooks off much faster and has much heftier recoil
it has great flesh damage pretty good armor pen, mediocre shield damage.
*/
//[nkc] mass 6.4 > 8.9, woundhealth 8 > 6, speed 1120 > 1130
class HDB_828:HDBulletActor{
default{
pushfactor 0.3;
mass 64;
speed HDCONST_MPSTODUPT*1120;
mass 89;
speed HDCONST_MPSTODUPT*1130;
accuracy 700;
stamina 828;
woundhealth 8;
woundhealth 6;
hdbulletactor.hardness 4;
hdbulletactor.distantsound "world/riflefar";
}
Expand Down Expand Up @@ -64,7 +65,7 @@ class EightMilAmmo:HDAmmo{
override void GetItemsThatUseThis(){
//[nkc] do I just leave this empty for the weapon mods to add to it on their own?
//[nkc] for now I guess I will.
//itemsthatusethis.push("ZM81BattleRifle");
itemsthatusethis.push("ZM81BattleRifle");
}
states(actor){
cache:
Expand All @@ -75,4 +76,24 @@ class EightMilAmmo:HDAmmo{
}
}

//[nkc] need an ammobox for more reasonable actual world-spawned pickups
//[nkc] as opposed to just a million little explosive lego bricks on the floor
class HD8mBoxPickup:HDUPK{
default{
//$Category "Ammo/Hideous Destructor/"
//$Title "Box of 8.28mm UAC battle rifle ammo"
//$Sprite "8BOXA0"

scale 0.6;
hdupk.amount 104;
hdupk.pickupsound "weapons/pocket";
hdupk.pickupmessage "$PICKUP_828MMBOX";
hdupk.pickuptype "EightMilAmmo";
}
states{
spawn:
8BOX A -1;
}
}

//[nkc] oh wait, mags should be the responsibility of the weapon modders, huh?