build: use OAT to link my mod (#2)
This commit is contained in:
parent
d38901012d
commit
7e57411eaa
27
.github/workflows/link-linux.yml
vendored
Normal file
27
.github/workflows/link-linux.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: link
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
link-linux:
|
||||
name: Link assets on Linux
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out files
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Setup OAT
|
||||
uses: diamante0018/setup-oat@main
|
||||
with:
|
||||
version: "0.8.3"
|
||||
|
||||
- name: Link assets
|
||||
run: |
|
||||
Linker -v arena
|
||||
- name: Upload mod.ff
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: arena
|
||||
path: |
|
||||
zone_out/arena/mod.ff
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2022, Edoardo Sanguineti
|
||||
Copyright (c) 2024, Edoardo Sanguineti
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
25
README.md
25
README.md
@ -1,15 +1,22 @@
|
||||
# PlutoIW5Arena
|
||||
# PlutoIW5Arena: A mod for Plutonium.pw
|
||||
|
||||
Build a mod.ff archive using ZoneTool.
|
||||
Place the ff archive in `%localappdata%/Plutonium/storage/iw5/mods/arena`.
|
||||
Set `fs_game` Dvar to `mods/arena`
|
||||
## Build
|
||||
|
||||
# Warning
|
||||
- Build a mod.ff archive using [OpenAssetTools][oat-link].
|
||||
- Place the mod.ff archive in `%localappdata%/Plutonium/storage/iw5/mods/arena`.
|
||||
- Set `fs_game` Dvar to `mods/arena`
|
||||
|
||||
You may need to place rawfiles inside an iwd to get plutonium to load them.
|
||||
## Bonus
|
||||
|
||||
# Bonus
|
||||
GTNW has been added. Thanks to:
|
||||
* [callanb](https://github.com/callanb)
|
||||
|
||||
* [ZoneTool](https://github.com/ZoneTool/zonetool)
|
||||
* [callanb](callanb-link)
|
||||
|
||||
* [ZoneTool](zonetool-link)
|
||||
|
||||
* [Laupetin][laupetin-link]
|
||||
|
||||
[oat-link]: https://openassettools.dev
|
||||
[callanb-link]: https://github.com/callanb
|
||||
[zonetool-link]: https://github.com/ZoneTool/zonetool
|
||||
[laupetin-link]: https://github.com/Laupetin
|
||||
|
@ -1 +0,0 @@
|
||||
Global Thermonuclear War
|
@ -1 +0,0 @@
|
||||
Global thermonuclear war with fake nukes.
|
@ -1 +0,0 @@
|
||||
Global Thermonuclear War
|
@ -1 +0,0 @@
|
||||
Be the first to capture the Nuclear Strike crate to win. Made by Birchy & FutureRave.
|
@ -1 +0,0 @@
|
||||
Arena
|
@ -1 +0,0 @@
|
||||
GTNW
|
23
zone_raw/arena/english/localizedstrings/mod.str
Normal file
23
zone_raw/arena/english/localizedstrings/mod.str
Normal file
@ -0,0 +1,23 @@
|
||||
VERSION "1"
|
||||
CONFIG "C:/trees/cod3/cod3/bin/StringEd.cfg"
|
||||
FILENOTES "Arena mod"
|
||||
|
||||
REFERENCE MPUI_GTNW
|
||||
LANG_ENGLISH "Global Thermonuclear War"
|
||||
|
||||
REFERENCE MPUI_GTNW_RECIPE_DESC
|
||||
LANG_ENGLISH "Global thermonuclear war."
|
||||
|
||||
REFERENCE MPUI_GTNW_RECIPE_NAME
|
||||
LANG_ENGLISH "Global Thermonuclear War"
|
||||
|
||||
REFERENCE OBJECTIVES_GTNW
|
||||
LANG_ENGLISH "Be the first to capture the Nuclear Strike crate to win."
|
||||
|
||||
REFERENCE PRESENCE_ARENA
|
||||
LANG_ENGLISH "Arena"
|
||||
|
||||
REFERENCE PRESENCE_GTNW
|
||||
LANG_ENGLISH "GTNW"
|
||||
|
||||
ENDMARKER
|
1
zone_raw/arena/mod
Normal file
1
zone_raw/arena/mod
Normal file
@ -0,0 +1 @@
|
||||
Legalize Nuclear Bombs
|
@ -1,24 +1,25 @@
|
||||
# Add gamemode
|
||||
// Call Of Duty: Modern Warfare 3
|
||||
>game,IW5
|
||||
>name,mod
|
||||
|
||||
localize,mod
|
||||
|
||||
// Add custom gamemodes
|
||||
rawfile,maps/mp/gametypes/_gametypes.txt
|
||||
|
||||
# Gamemode scripts
|
||||
// Gamemode scripts
|
||||
rawfile,maps/mp/gametypes/arena.gsc
|
||||
rawfile,maps/mp/gametypes/gtnw.gsc
|
||||
|
||||
# Copied from war.recipe
|
||||
// Copied from war.recipe
|
||||
rawfile,mp/recipes/arena.recipe
|
||||
rawfile,mp/recipes/gtnw.recipe
|
||||
|
||||
// Maybe we don't need this
|
||||
rawfile,mp/basemaps.arena
|
||||
|
||||
# UI Loc strings
|
||||
// UI Loc strings
|
||||
rawfile,maps/mp/gametypes/arena.txt
|
||||
rawfile,maps/mp/gametypes/gtnw.txt
|
||||
|
||||
# Loc
|
||||
localize,PRESENCE_ARENA
|
||||
localize,PRESENCE_GTNW
|
||||
localize,MPUI_GTNW_RECIPE_NAME
|
||||
localize,MPUI_GTNW_RECIPE_DESC
|
||||
localize,MPUI_GTNW
|
||||
localize,OBJECTIVES_GTNW
|
||||
rawfile,mod
|
Loading…
x
Reference in New Issue
Block a user