ARK · ITEM

Assault Rifle
- Item
- Base Game
A mid-tier firearms weapon that deals solid damage and uses rifle ammo; spawnable by item ID or GFI code.
Running the Assault Rifle on your server? Hop into our Discord and get a hand from admins who use it every day. Live as of .
Blueprint Path
Full blueprint path
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponRifle.PrimalItem_WeaponRifle'"Spawn Commands
GFI Code
cheat gfi PrimalItem_WeaponRifle 1 0 0GiveItemNum
cheat GiveItemNum 2 1 0 0About
The Assault Rifle is a craftable firearm that serves as a reliable ranged weapon for both PvE and PvP situations. It uses standard rifle ammunition and deals moderate damage per shot with reasonable accuracy at range.
Admins spawn it for testing, giveaways, or to outfit players. Since it has a numeric item ID, you can spawn it either by ID with GiveItem or by GFI code. It does not come as a blueprint drop and cannot be stacked in inventory.
Frequently Asked Questions
- What items are related to the Assault Rifle?
- See the Related section at the bottom of this page for items commonly used alongside the Assault Rifle, or open Browse Games to explore the full ARK: Survival Ascended database.
- What's the Assault Rifle GFI short code?
- The GFI code for the Assault Rifle is
PrimalItem_WeaponRifle. GFI matches the item by its short blueprint name, socheat gfi PrimalItem_WeaponRifle 1 0 0is the fastest way to spawn it without typing the full blueprint path. - How do I spawn multiple Assault Rifle at once?
- Change the quantity argument, the first number after the code. For example
cheat gfi PrimalItem_WeaponRifle 25 0 0spawns 25 of the Assault Rifle. Stacks respect the item's maximum stack size. - What does the Assault Rifle do in ARK: Survival Ascended?
- A mid-tier firearms weapon that deals solid damage and uses rifle ammo; spawnable by item ID or GFI code.
- What is the Assault Rifle class used for in mods or spawn tools?
- Spawn managers, loot-table editors, and RCON macros reference the Assault Rifle by its class
PrimalItem_WeaponRifle_Cor GFIPrimalItem_WeaponRifle. Both uniquely identify it in ARK: Survival Ascended. - How do I add the Assault Rifle to a starter kit or loadout?
- Include
cheat gfi PrimalItem_WeaponRifle 1 0 0in your server's kit or spawn script, and set the quantity argument to hand out multiples. Pair it with other item commands from the Codex to build a full loadout. - What's the Assault Rifle class name?
- The class name for the Assault Rifle is
PrimalItem_WeaponRifle_C. Class names end in_Cand identify the item's blueprint at runtime, which makes them useful for spawn tools, mods, and RCON macros. - How do I use GiveItemNum for the Assault Rifle?
- Run
cheat GiveItemNum 2 1 0 0in the admin console. GiveItemNum spawns by numeric ID, which is precise for scripts and control panels. The trailing numbers are quantity, quality, and blueprint flag. - How do I spawn the Assault Rifle in ARK: Survival Ascended?
- Open the admin console and run
cheat gfi PrimalItem_WeaponRifle 1 0 0. That gives you one Assault Rifle instantly. The three numbers after the code are quantity, quality, and blueprint flag. Raise the first to spawn a stack, or set the last to 1 to receive it as a blueprint instead of a finished item. Verified against the current ARK: ASA build as of June 28, 2026. - Can I spawn the Assault Rifle over RCON or on a dedicated server?
- Yes. Send the same command through RCON or your control-panel console:
cheat gfi PrimalItem_WeaponRifle 1 0 0. If your tool already runs with admin context, drop the leading "cheat". It works the same on hosted, self-hosted, and RCON setups. - Can I get the Assault Rifle without spawning it?
- Yes. The Assault Rifle can also be obtained through normal ARK: Survival Ascended progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
- What's the difference between GFI and GiveItemNum for the Assault Rifle?
- Both spawn the Assault Rifle.
gfi PrimalItem_WeaponRiflematches the item by name and is quickest to type;GiveItemNum 2uses the numeric ID and is precise for scripting. Same result, different lookup. - How do I spawn the Assault Rifle as a blueprint instead of a finished item?
- Set the final argument to 1:
cheat gfi PrimalItem_WeaponRifle 1 0 1. The last number is the blueprint flag, where 0 gives the crafted item and 1 gives its blueprint (for craftable items; on items with no blueprint the flag is simply ignored). - How current is the Assault Rifle spawn info?
- The Assault Rifle entry was last verified on GameServersCodex on June 28, 2026. We track the live ARK: ASA build, so the IDs and commands here reflect the current patch.
- Is the Assault Rifle blueprint path case-sensitive?
- Yes.
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponRifle.PrimalItem_WeaponRifle'"must be typed exactly, including capitalization and the wrapping quotes. Copy it from this page to avoid a typo that returns an empty spawn. - How do I enable admin commands to spawn the Assault Rifle?
- In single-player, cheats are on by default. On a dedicated or hosted server, log in as admin first with
enablecheats <AdminPassword>, then run the Assault Rifle spawn command. Without admin access the console rejects it. - How do I give the Assault Rifle to another player?
- Look at the player and run
cheat GiveItemToPlayer <PlayerID> 2 1 0 0, or stand near them and usecheat GiveItemNum 2 1 0 0after selecting them in your admin tools. It's the quick way to hand out the Assault Rifle during events and giveaways. - Is the Assault Rifle spawn code on GameServersCodex accurate?
- Yes. The Assault Rifle's class name, GFI code, item ID, and blueprint path are reproduced exactly from the live game data and re-checked each patch, so you can copy them straight into your console.
- Why isn't my Assault Rifle spawn command working?
- Check three things: admin access is enabled (
enablecheatson servers), the code is typed exactly (PrimalItem_WeaponRifle), and all three trailing numbers are present. Copyingcheat gfi PrimalItem_WeaponRifle 1 0 0directly from this page avoids the most common mistakes. - How do I open the console to spawn the Assault Rifle?
- On PC, press Tab to open the admin console, paste the command, and press Enter. On Xbox and PlayStation, open the pause menu and use the on-screen command bar. Then drop in the Assault Rifle spawn code from this page.
- What do the numbers in the Assault Rifle spawn command mean?
- In
cheat gfi PrimalItem_WeaponRifle 1 0 0, the code identifies the Assault Rifle, then the three numbers are quantity, quality, and blueprint flag (0 = item, 1 = blueprint). So it spawns one standard Assault Rifle. - How do I spawn a higher-quality Assault Rifle?
- The second number is quality, where 0 is primitive and higher values roll toward ascendant.
cheat gfi PrimalItem_WeaponRifle 1 100 0attempts a top tier Assault Rifle. Quality only affects items that support tiers; on others it's ignored. - What's the difference between the Assault Rifle GFI code and its blueprint path?
- The GFI code
PrimalItem_WeaponRifleis a short name for quick spawning; the blueprint path"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponRifle.PrimalItem_WeaponRifle'"is the full engine reference used by GiveItem and spawn tools. Both point at the same Assault Rifle. - Where can I copy the Assault Rifle spawn command?
- Use the copy buttons in the Spawn Commands and Blueprint Path sections near the top of this page. Each copies the full Assault Rifle command to your clipboard in one click, ready to paste into the console.
- Does the Assault Rifle spawn command work in single-player and multiplayer?
- Yes, the command is identical in both. Single-player has cheats enabled by default; multiplayer just requires an admin login first. The Assault Rifle then spawns the same way.
- Which game is the Assault Rifle from?
- The Assault Rifle is from ARK: Survival Ascended. Every ID, code, and command on this page is specific to ARK: Survival Ascended and its current live build.
- What is the Assault Rifle used for?
- The Assault Rifle is a craftable firearm that serves as a reliable ranged weapon for both PvE and PvP situations. It uses standard rifle ammunition and deals moderate damage per shot with reasonable accuracy at range.
- Is the Assault Rifle a DLC item or part of the base game?
- The Assault Rifle is part of the base ARK: Survival Ascended game, so no DLC or map pack is required to spawn or craft it.
- What's the numeric item ID of the Assault Rifle?
- The numeric item ID for the Assault Rifle is
2. Use it with GiveItemNum,cheat GiveItemNum 2 1 0 0, to spawn by ID instead of by GFI name. - What's the full blueprint path of the Assault Rifle?
- The full blueprint path is
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponRifle.PrimalItem_WeaponRifle'". Paste it into GiveItem to spawn the exact item:cheat GiveItem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponRifle.PrimalItem_WeaponRifle'" 1 0 0. Copy it exactly, because the path is case sensitive and must keep its wrapping quotes.