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

Black Ops 1 - Edited script files not used

HOT
broken avatar :(
Created 9 years ago
by Gabrielle
0 Members and 1 Guest are viewing this topic.
6,264 views
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
Hey,

I decided to take a break with WAW modding and to continue with BO modding. The guns are all working great. I can use the console on a trainer to give me the guns. Cool? Yes, however:

My edited script files don't work. I'm modding Call of the Dead, and I edited my _zombiemode_coast.gsc with this:

Code Snippet
Plaintext
	iprintlnbold("test");

After:

Code Snippet
Plaintext
	maps\_zombiemode_weap_sniper_explosive::init();
maps\_zombiemode_weap_nesting_dolls::init();

Also I added:

Code Snippet
Plaintext
maps\_zombiemode_weap_thundergun::init();

To load the thundergun script. This should make the thundergun properly working, right?...

This is my mod.csv:

Code Snippet
Plaintext
rawfile,clientscripts\_zombiemode_ai_director.csc
rawfile,clientscripts\zombie_coast_ffotd.csc
rawfile,maps\_zombiemode_ai_director.gsc
rawfile,maps\_zombiemode_player_zipline.gsc
rawfile,maps\zombie_coast_achievement.gsc
rawfile,maps\zombie_coast_ai_director.gsc
rawfile,maps\zombie_coast_amb.gsc
rawfile,maps\zombie_coast_eggs.gsc
rawfile,maps\zombie_coast_ffotd.gsc
rawfile,maps\zombie_coast_flinger.gsc
rawfile,maps\_zombiemode_weap_microwavegun.gsc
rawfile,maps\_zombiemode_weap_thundergun.gsc
weapon,sp\m2_flamethrower_zt
weapon,sp\wa2000_zm
weapon,sp\wa2000_upgraded_zm
weapon,sp\stielhandgranate
weapon,sp\thundergun_zm

I ticked all files (my custom maps/ folder with the scripts and the clientscripts) and build the mod. Followed the steps from Rollonmath's tutorial. But ingame, the text 'test' doesn't appear and the thundergun doesn't work. Shoot on George? Nothing. Shoot on zombies? Nothing.

I feel like I'm getting close to where I want to be so I hope somebody can be of assistance.
This topic contains a post which is marked as the Best Answer. Click here to view it.
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
you wouldnt see the text anyway as that section is called before the maps even loaded, theres nothing to print "to"

thread a function and put a wait or waittill( "all_players_connected" ); in it before Iprinting

thundergun isnt set up for george tho so will likely rag doll and instant kill him
Last Edit: October 10, 2015, 07:24:31 pm by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
you wouldnt see the text anyway as that section is called before the maps even loaded, theres nothing to print "to"

thread a function and put a wait or waittill( "all_players_connected" ); in it before Iprinting

thundergun isnt set up for george tho so will likely rag doll and instant kill him

As you might have read, the thundergun doesn't work on normal zombies either. It's the fact the whole script is ignored. I even changed the viewhands but nothing changed.
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
As you might have read, the thundergun doesn't work on normal zombies either. It's the fact the whole script is ignored. I even changed the viewhands but nothing changed.
Yes i did read, im aware, just saying even if it does work it wont work right on "him" anyway

read the rest of what i wrote? See if you can get the print
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
Yes i did read, im aware, just saying even if it does work it wont work right on "him" anyway

read the rest of what i wrote? See if you can get the print

Nope doesn't work, I added:

Code Snippet
Plaintext
printtheshitman()
{
waittill("all_players_connected");

iprintlnbold("test");
}

And replaced the iprintlnbold from before with:

Code Snippet
Plaintext
	level thread printtheshitman();
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
Nope doesn't work, I added:

Code Snippet
Plaintext
printtheshitman()
{
waittill("all_players_connected");

iprintlnbold("test");
}

And replaced the iprintlnbold from before with:

Code Snippet
Plaintext
	level thread printtheshitman();

level waittill

Doubt itll help as its threaded on level anyway, but try it

Otherwise it sounds like its not loading your version of the coast.gsc, its instead loading the default rawfile one
Last Edit: October 10, 2015, 08:52:25 pm by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
level waittill

Doubt itll help but try it

Otherwise it sounds like its not loading your version, its instead loading the rawfile one

I think it's loading the rawfile one. How can I force it to load my version?
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
I think it's loading the rawfile one. How can I force it to load my version?
on BO1? Not 100% sure. First place to start is the zone_source files for your mod, make sure its not loading it from raw, and instead the gsc is ticked in launcher and in your mod
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
on BO1? Not 100% sure. First place to start is the zone_source files for your mod, make sure its not loading it from raw, and instead the gsc is ticked in launcher and in your mod

I don't have the rawfile in my mod.csv which is the zone_source file for my mod. Also the gsc is ticked so I'm lost.
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
I don't have the rawfile in my mod.csv which is the zone_source file for my mod. Also the gsc is ticked so I'm lost.
rawfiles would be loaded in the zone_source files rather than mod.csv

for example in cod 5 its in zone_source/nazi_zombie_YOURMAPNAME.csv

I believe there is a button on the BO1 launcher to view the zonesource files for the current selected mod
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
rawfiles would be loaded in the zone_source files rather than mod.csv

for example in cod 5 its in zone_source/nazi_zombie_YOURMAPNAME.csv

I believe there is a button on the BO1 launcher to view the zonesource files for the current selected mod

Those zone_source files are not made by MOD. Also DLC zone_source files does not exist. You actually create a new zone file with by building the mod (just like mod.ff on cod 5) and you rename that to zombie_coast.ff or w/e the map is. The MOD.iwd from cod 5 you rename it iw_NUMBER.iwd on bo. The zone-source files of cod 5 are map related and BO doesn't have map modding.
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
Those zone_source files are not made by MOD. Also DLC zone_source files does not exist. You actually create a new zone file with by building the mod (just like mod.ff on cod 5) and you rename that to zombie_coast.ff or w/e the map is. The MOD.iwd from cod 5 you rename it iw_NUMBER.iwd on bo. The zone-source files of cod 5 are map related and BO doesn't have map modding.
ok well itll be loaded somewhere, prob in a ff. Ask lilrifa
Last Edit: October 10, 2015, 09:27:37 pm by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: usUnion, Kentucky
Date Registered: 9 September 2013
Last active: 1 year ago
Posts
310
Respect
Forum Rank
Perk Hacker
Primary Group
Box Mappers Elite
My Groups
More
My Contact & Social Links
More
×
lilrifa's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
lilrifa's Contact & Social Linksskypeuser724lilrifalilrifa
All Treyarch scripted weapons check if the weapon is included in the game before actually running. To bypass the you must either

A) Modify the Thunder Gun script to ignore is_weapon_included("thundergun_zm")
or
B) Include thundergun_zm in the zombie_coast.gsc and the _zombiemode_weapons.gsc

Last Edit: October 10, 2015, 09:27:14 pm by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: nlThe Netherlands
Date Registered: 23 November 2013
Last active: 2 years ago
Posts
331
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Zombie Slayer Elite
×
Gabrielle's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Gabrielle's Contact & Social LinksTutorialZoneNL
All Treyarch scripted weapons check if the weapon is included in the game before actually running. To bypass the you must either

A) Modify the Thunder Gun script to ignore is_weapon_included("thundergun_zm")
or
B) Include thundergun_zm in the zombie_coast.gsc and the _zombiemode_weapons.gsc
`

The whole problem is zombie_coast.gsc modifications are ignored. At the end I need this file to be modified anyways.
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
Quote
A) Modify the Thunder Gun script to ignore is_weapon_included("thundergun_zm")

to do this, is as easy as commenting out the two lines in the init function

lines 4 / 5 if i recall ( had to do it for cod 5 )

 
Loading ...