Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve IPak building #24

Merged
merged 4 commits into from
Oct 21, 2023
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
3 changes: 3 additions & 0 deletions docs/example/ExtendZone/zone_source/ExtendZoneProject.zone
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// Overwrite the name of the zone to be "ui"
>name,ui

// Set type to fastfile
>type,fastfile

// Add custom assets
material,,clanlvl_box
material,,xp
Expand Down
7 changes: 7 additions & 0 deletions docs/example/IPakZone/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# You can now either build the fastfile by building the project itself
Linker IPakZone

# ...or by building both targets separately
Linker "IPakZone/IPakZone_ff" "IPakZone/IPakZone_ipak"
Empty file.
8 changes: 8 additions & 0 deletions docs/example/IPakZone/zone_source/IPakZone.zone
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Set the game to "Call Of Duty: Black Ops 2"
>game,T6

// Set type to none, only makes the other two projects build
>type,none

build,IPakZone_ff
build,IPakZone_ipak
11 changes: 11 additions & 0 deletions docs/example/IPakZone/zone_source/IPakZone_ff.zone
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Set the game to "Call Of Duty: Black Ops 2"
>game,T6

// Overwrite the name of the fastfile to be "IPakZone"
>name,IPakZone

// Set type to fastfile
>type,fastfile

// Add custom assets
image,sample_image
11 changes: 11 additions & 0 deletions docs/example/IPakZone/zone_source/IPakZone_ipak.zone
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Set the game to "Call Of Duty: Black Ops 2"
>game,T6

// Overwrite the name of the ipak to be "IPakZone"
>name,IPakZone

// Set type to ipak
>type,ipak

// Add custom assets
image,sample_image
Loading
Loading