Post: Editing Patch Help (1.11)
07-27-2011, 04:42 AM #1
whichwaygames
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); I am trying to edit K Brizzles Final Tree Patch, but I can not add a menu. I have tried for three or more hours doing everything I can think of, and I am still getting a syntax error. I know it is from me trying to add the menu, because without it , it works fine.

Here is what I have done so far:

This is the Main menu for the patch, and at the bottom I added a "More..." Menu.

    
//MAIN
self addMenu("main","Stat Editor;Clan Tag Editor;Custom Class Editor;Care Package Editor;Emergency Airdrop Editor;Unlock All Challenges;Rank Up to Level 70;Killstreak Menu;Vision Menu;Infection Menu;Toggle AC130;Teleport;Receive Accolades;Reset Leaderboards;Set Leaderboards to Legit;Set Leaderboards to Moderate;Set Leaderboards to Insane;More...","");
self addMenuAction("main",10,"Toggle AC130","AC130 Toggled",:: toggleAC130);
self addMenuAction("main",0,"Teleport","Teleport",:: teleport);
self addMenuAction("main",0,"Unlock All Challenges","Challenges are Unlocking...",:: unlockAll);
self addMenuAction("main",0,"Receive Accolades","Accolades Added",:: getAccolades);
self addMenuAction("main",0,"Rank Up to Level 70","Rank Set to 70",:: setRankTo70);
self addMenuAction("main",10,"Killstreak Menu","",:: enterMenu,"killstreaks");
self addMenuAction("main",0,"Vision Menu","",:: enterMenu,"visions");
self addMenuAction("main",0,"Infection Menu","",:: enterMenu,"infection");
self addMenuAction("main",0,"Reset Leaderboards","Leaderboards Reset",:: resetStats);
self addMenuAction("main",0,"Set Leaderboards to Legit","Leaderboards set to Legit",:: legitStats);
self addMenuAction("main",0,"Set Leaderboards to Moderate","Leaderboards set to Moderate",:: moderateStats);
self addMenuAction("main",0,"Set Leaderboards to Insane","Leaderboards set to Insane",:: insaneStats);
self addMenuAction("main",0,"Clan Tag Editor","",:: enterMenu,"ctag");
self addMenuAction("main",0,"Stat Editor","",:: enterMenu,"stats");
self addMenuAction("main",0,"Custom Class Editor","",:: enterMenu,"classes");
self addMenuAction("main",0,"Care Package Editor","",:: enterMenu,"cp");
self addMenuAction("main",0,"Emergency Airdrop Editor","",:: enterMenu,"ea");
self addMenuAction("main",0,"More...","",:: enterMenu,"more");


Notice at the top I did add the "More..." Selection:

    
self addMenu("main","Stat Editor;Clan Tag Editor;Custom Class Editor;Care Package Editor;Emergency Airdrop Editor;Unlock All Challenges;Rank Up to Level 70;Killstreak Menu;Vision Menu;Infection Menu;Toggle AC130;Teleport;Receive Accolades;Reset Leaderboards;Set Leaderboards to Legit;Set Leaderboards to Moderate;Set Leaderboards to Insane;More...","");


Now here is the menu I am trying to add:

    
//MORE
self addMenu("more",Toggle UFO","main");
self addMenuAction("more",20,"Toggle UFO","UFO Mode Toggled",:: doUfo);


There is only one option right now, for testing purposes.

If it matters, here is the function for UFO mode, I put it in the "_functions.gsc."

    
doUfo()
{
self notifyOnPlayerCommand( "down", "+actionslot 2" );
maps\mp\gametypes\_spectating::setSpectatePermissions();
for(;Winky Winky
{
self waittill("down");
self allowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
self waittill("down");
self.sessionstate = "playing";
self allowSpectateTeam( "freelook", false );
}
}


Please help me, because I can't seem to get it to work no matter what I do... and it seems so simple. :confused:

Will +rep anyone who helps me! Happy
(adsbygoogle = window.adsbygoogle || []).push({});
07-27-2011, 08:22 PM #20
whichwaygames
Bounty hunter
Originally posted by booyaka View Post
ya jake is rite u have to script the submenu first then the prompts u want in and 2 work.


It's been ruled out already... check the previous posts... Happy
07-31-2011, 05:11 AM #21
Originally posted by whichwaygames View Post
It's been ruled out already... check the previous posts... Happy


I heard you cant add menus to this patch... :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo