UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

[Tutorial] Build images separately

broken avatar :(
Created 8 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
3,704 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Lately i have been getting frustrated when i only needed to update a script, but i had to build everything. I have alot of custom textures in use and it takes a bit to build it. That's why i made a simple batch script that builds the images only.

Just copy the code below and save it as a batch file, open your text editor and save as: yourbatchname.bat
Put the batch file in your root/mods/mapname folder

Code Snippet
Plaintext
@echo off
set IWDNAME=images.iwd
if exist %IWDNAME% del %IWDNAME%
..\..\bin\7za a -r -tzip %IWDNAME% images
for /f "delims=" %%A in ('cd') do (
set foldername=%%~nxA
)
xcopy /s /y "%CD%\%IWDNAME%" "%appdata%\..\Local\Activision\CoDWaW\mods\%foldername%"
pause

broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Lately i have been getting frustrated when i only needed to update a script, but i had to build everything. I have alot of custom textures in use and it takes a bit to build it. That's why i made a simple batch script that builds the images only.

Just copy the code below and save it as a batch file, open your text editor and save as: yourbatchname.bat
Put the batch file in your root/mods/mapname folder

Code Snippet
Plaintext
@echo off
set IWDNAME=images.iwd
if exist %IWDNAME% del %IWDNAME%
..\..\bin\7za a -r -tzip %IWDNAME% images
for /f "delims=" %%A in ('cd') do (
set foldername=%%~nxA
)
xcopy /s /y "%CD%\%IWDNAME%" "%appdata%\..\Local\Activision\CoDWaW\mods\%foldername%"
pause

or just work from the scripts in the IWD in your appdata instead. Then you only need to click "save" and run your mod

just remember not to build mod in launcher or youll over write your changes with your old stuff again
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 9 months ago
Posts
3,997
Respect
1,024Add +1
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
or just work from the scripts in the IWD in your appdata instead. Then you only need to click "save" and run your mod

just remember not to build mod in launcher or youll over write your changes with your old stuff again

Or compile images in different .IWD via new mod and add that .IWD in your mods folder :P
broken avatar :(
×
broken avatar :(
Location: tr
Date Registered: 1 March 2013
Last active: 23 hours ago
Posts
816
Respect
Forum Rank
The Decider
Primary Group
2015 Contest Winner
My Groups
More
My Contact & Social Links
More
Personal Quote
Caw caw caw
×
johndoe's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
2015 Contest Winner
johndoe's Contact & Social Linksmyc153-johndoe
or you could zip the images and replace the extension with iwd and edit the gsc/csc files in appdata without having to build iwd again. been doing this for two years since i found the launcher does it too damn slow.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
That's all extra effort, why would i even edit them in appdata. I really don't see the point in all your different ways lol.
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
coz its the files that the game is actually loading? No need to compile or anything?

Good for on the spot testing
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Compile goes fast enough, and then i don't have to copy the files back again when i'm done. And for final compile i remove all my scripts from the iwd and build them directly in the fastfile. But that's just me i guess  :)
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
Compile goes fast enough, and then i don't have to copy the files back again when i'm done. And for final compile i remove all my scripts from the iwd and build them directly in the fastfile. But that's just me i guess  :)
its all preference

working from the IWD occasionally ive built mod like a muppet and overwritten my work. So ups and downs i guess
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
That's true, but i love how everyone came in with their own method hahaha. I guess the tutorial became more advanced :)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 4 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
That's cool man thanks... I work in the iwd too, all the time actually. So much quicker when trying to tune something. The other bonus to this method though, I guess, would be if you didn't include these scripts in your mod folder, but have them in raw/maps instead, they won't be in your iwd. So this method would save time that way then.

So if I understand this correctly, you don't select images anymore when you build you rmod, you just run this bat file and it does it for you, when you need images updated? So if you would have images in there that you don't have checked it will run them too right? Just making sure I understand is all.

Edit: I just tried it. Did not work for me :(. Looked like it worked, but when I loaded game, new iwi was not in it. So I looked in my mod and there was an images iwd, but my images are in nazi_zombie_orbit iwd/ images folder. So I removed the images from that iwd, and I think that worked. Thanks!
Last Edit: December 11, 2015, 04:47:03 am by MakeCents
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
It will compile all your .iwi files in your images folder.

 
Loading ...