CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Projects
Black Ops 2 Redacted T6
How do you change starting pistol in zombies?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Victor Koulikov" data-source="post: 35749" data-attributes="member: 160654"><p>I've managed to change the perk limit by making my own script, by using BO3 tutorials and figuring out that "inti()" is like "main()" (<em>At least that's how it seemed when I changed the perk limit</em>). But when I applied the same logic to changing the starting weapon, nothing worked. I tried one line, <strong><u>level.start_weapon = getWeapon("m1911_zm")</u></strong> I tried this,</p><p><strong> <u>startingWeapon = "m1911_zm";</u></strong></p><p><strong> <u>weapon = getWeapon(startingWeapon);</u></strong></p><p><strong> <u>level.start_weapon = (weapon);</u></strong>"</p><p>I tried different spacing between <strong>level.perk_purchase_limit = 13;</strong> and the weapon line(s), nothing worked. I tried using a custom loadout function, but I think that's only in BO3. I don't understand why this simple code doesn't work. I would highly appreciate if someone knew how to code this specifically in BO2. If anyone is curious, this is the whole script. And in case anyone is wondering, I want to change it to the already default starting pistol because I want to have it in Origins for the Mustang and Sally.</p><p> </p><p>//</p><p>//</p><p></p><p>init()</p><p>{</p><p> thread onplayerconnect();</p><p> //SetDvar("r_enablePlayerShadow", 1); // Causes laser flickering</p><p> level.perk_purchase_limit = 13;</p><p>}</p><p></p><p>onplayerconnect()</p><p>{</p><p> while(true)</p><p> {</p><p> level waittill("connecting", player);</p><p> player thread onplayerspawned();</p><p> player thread showConnectMessage();</p><p> }</p><p>}</p><p></p><p>onplayerspawned()</p><p>{</p><p> self endon( "disconnect" );</p><p> displayMessage = true;</p><p> while(true)</p><p> {</p><p> self waittill( "spawned_player" );</p><p> </p><p> }</p><p>}</p><p></p><p>showConnectMessage()</p><p>{</p><p> self endon( "disconnect" );</p><p> self waittill( "spawned_player" );</p><p> self iprintln("^1Redacted^7: " + self.name);</p><p>}</p></blockquote><p></p>
[QUOTE="Victor Koulikov, post: 35749, member: 160654"] I've managed to change the perk limit by making my own script, by using BO3 tutorials and figuring out that "inti()" is like "main()" ([I]At least that's how it seemed when I changed the perk limit[/I]). But when I applied the same logic to changing the starting weapon, nothing worked. I tried one line, [B][U]level.start_weapon = getWeapon("m1911_zm")[/U][/B] I tried this, [B] [U]startingWeapon = "m1911_zm";[/U] [U]weapon = getWeapon(startingWeapon);[/U] [U]level.start_weapon = (weapon);[/U][/B]" I tried different spacing between [B]level.perk_purchase_limit = 13;[/B] and the weapon line(s), nothing worked. I tried using a custom loadout function, but I think that's only in BO3. I don't understand why this simple code doesn't work. I would highly appreciate if someone knew how to code this specifically in BO2. If anyone is curious, this is the whole script. And in case anyone is wondering, I want to change it to the already default starting pistol because I want to have it in Origins for the Mustang and Sally. // // init() { thread onplayerconnect(); //SetDvar("r_enablePlayerShadow", 1); // Causes laser flickering level.perk_purchase_limit = 13; } onplayerconnect() { while(true) { level waittill("connecting", player); player thread onplayerspawned(); player thread showConnectMessage(); } } onplayerspawned() { self endon( "disconnect" ); displayMessage = true; while(true) { self waittill( "spawned_player" ); } } showConnectMessage() { self endon( "disconnect" ); self waittill( "spawned_player" ); self iprintln("^1Redacted^7: " + self.name); } [/QUOTE]
Verification
Post reply
Forums
Projects
Black Ops 2 Redacted T6
How do you change starting pistol in zombies?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top