Randomize players, player specific viewarms, starting, laststand pistols 7-21-16

broken avatar :(
Created 1542 days ago
by MakeCents
0 Members and 1 Guest are viewing this topic.
8,780 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
could actually be a nice feature so long as you keep track of what characters are left in the ""not currently used" pool

LOL, not a glitch, its a feature. That's how some of my best stuff happens, lol.

Double Post Merge: April 08, 2016, 03:24:06 am
Okay, it was a pain to test, and it took a while to figure out when it actually did it, but I think this fixes it (the randomizing of players more than it should part)

Replace this:
			self.body_select = randomint(4);
if(isdefined(self.entity_num)){
self.body_select = level.bodys[self.entity_num];
}
self.entity_num = self.body_select;
with this:
			self.body_select = randomint(4);
if(isdefined(self.entity_num)){
self.body_select = level.bodys[self.entity_num];
}
if(!IsDefined( self.mybod )) self.mybod = self.body_select;
else self.body_select = self.mybod;
self.entity_num = self.mybod;

Haven't looked into that dempsy power quote when you first start, but prob will live with it for now, but if you look into it and fix it, please let us know.
Last Edit: April 08, 2016, 03:25:00 am by MakeCents
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 9 November 2013
Last active: 643 days ago
Posts
502
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Custom Zombies Videos: YouTube.com/RichGaming
Signature
YouTube: YouTube.com/RichGaming
Twitter: Twitter.com/RichGaming

×
RichGaming'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.
Oil Rig Beta Access
Oil Rig Beta Access
RichGaming's Contact & Social Linksrichgaming1RichGamingRich_GamingRichGaming1
LOL, not a glitch, its a feature. That's how some of my best stuff happens, lol.

Double Post Merge: April 08, 2016, 03:24:06 am
Okay, it was a pain to test, and it took a while to figure out when it actually did it, but I think this fixes it (the randomizing of players more than it should part)

Replace this:
			self.body_select = randomint(4);
if(isdefined(self.entity_num)){
self.body_select = level.bodys[self.entity_num];
}
self.entity_num = self.body_select;
with this:
			self.body_select = randomint(4);
if(isdefined(self.entity_num)){
self.body_select = level.bodys[self.entity_num];
}
if(!IsDefined( self.mybod )) self.mybod = self.body_select;
else self.body_select = self.mybod;
self.entity_num = self.mybod;

Haven't looked into that dempsy power quote when you first start, but prob will live with it for now, but if you look into it and fix it, please let us know.

Only just seen this, thanks for taking the time to test. Will change the script and see how it goes. Thanks again!
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
×
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
Only just seen this, thanks for taking the time to test. Will change the script and see how it goes. Thanks again!

NP, thanks for reporting it, I had the bug too and didn't even know it. Look forward to hearing verification if it does fix it. I could only get it to do it the first time the game launched.  Resetting the match stopped it, but the next time you launched the map it did it again. With this fix I couldn't get it to bug out anymore.
Last Edit: April 11, 2016, 03:06:12 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
×
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
Updated the tut with steps 8.1 and 8.2 to fix the Dempsey starting quotes and awareness quotes when Dempsey is not in the game.

Thanks to RichGaming and IperBreach86 for pointing these issues out.
Last Edit: July 21, 2016, 03:56:59 pm by MakeCents
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 23 February 2014
Last active: 173 days ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
-Mega \m/
Signature
Trve Kvlt Black Metal
×
Megadeth9811's Groups
Megadeth9811's Contact & Social LinksMegadeth9811Megadeth9811Megadeth9811
This is very complicated...
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
×
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
This is very complicated...

Nah, figuring it out for yourself, is very complicated. This is a step by step set of instructions including all my time finding and fixing bugs, to give you the easiest way possible to add this feature to your map. Just take one step at a time, ask for help in chat or forums if you need it.
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 8 days ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
This line isn't in my _loadout.gsc:


else if( isDefined( level.use_zombie_heroes ) && level.use_zombie_heroes ) 
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
×
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
This line isn't in my _loadout.gsc:


else if( isDefined( level.use_zombie_heroes ) && level.use_zombie_heroes ) 

Its been a while, but it think is the updated loadoit, not the original with the tools, but the one with the fixes. Does yours not look like this?
[You are not allowed to view external links. Register or Login to see them]
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 8 days ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
Its been a while, but it think is the updated loadoit, not the original with the tools, but the one with the fixes. Does yours not look like this?
[You are not allowed to view external links. Register or Login to see them]

No,this one have a few different lines
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 8 March 2016
Last active: 60 days ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
Meow
×
Cannonthecat's Groups
Cannonthecat's Contact & Social Links
By comment out  do you mean delete?
broken avatar :(
×
broken avatar :(
Location: usNew York
Date Registered: 28 March 2015
Last active: 3 days ago
Posts
74
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Current Map: Folter der Verdammten
Signature
When I add in the script for randomizing players I get a bad syntax error. Any help?
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
×
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
When I add in the script for randomizing players I get a bad syntax error. Any help?
I don't mod waw anymore, but bad syntax is pretty simple. It's probably going to be a missing or extra }
broken avatar :(
×
broken avatar :(
Location: usNew York
Date Registered: 28 March 2015
Last active: 3 days ago
Posts
74
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Current Map: Folter der Verdammten
I don't mod waw anymore, but bad syntax is pretty simple. It's probably going to be a missing or extra }

yeah it was a else then when deleted it I got a bad syntax again but with a { instead of the else so idk what to do at this point
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 151 days 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
×
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
yeah it was a else then when deleted it I got a bad syntax again but with a { instead of the else so idk what to do at this point

Well if you haven't fixed it, just find where its giving you the error and put it back. Anytime you have a { you need a } to end it. So for if/else statements you would have:


if(condition)
{
    //some code
}
else
{
    //some other code
}

If any of those {'s or }'s are missing, you get bad syntax. simply fix that. by adding or deleting a { or }, with or without the else.

 

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 Twitch
Loading ...