Jump to content

[Release] Custom Action Menu v1.0.4


Recommended Posts

I'm using the latest test version and have a question regarding the adminlist and modlist.   Is that supposed to determine whether a person even sees the menu selections? Or only that the commands will execute.  So if a person isn't on either list, should they see the menu?  What'sthe difference between the adminlist and modlist?  Different capabilties?

 

And what UID is it looking for?  I tried both the 16-character ID you get from Arma in the Profiles tab and the 4-digit ID you get if in Infistar.  Whether on the list or not, everything works the same.  I see all menus but the fun menus don't actually do anything.  I know the morph stuff isn't there yet but it looks like the movements are there.  They just don't do anything.

 

Thanks,

Bob 

 

Admins and mods get one extra option, the ability to transform into animals. I have used it in events on my server where I tell people I am an animal in a certain part of the map and whoever kills me gets something. I had a lot of fun with it and thought I might add it in. Everyone gets the normal stuff, only admins/mods get the transform.

 

Right now there is no difference between admin and mod, though there may be in the future.

 

The ID is the same you would put in for an admin tool. It should be a long string of numbers. I don't know if Infistar would block the movements or transforms. I have been able to use them with Epoch Admin Tools.

Link to comment
Share on other sites

 Thx noxsicarius for this animal morph addon gonna use it as admin event also.. 

For the animal morph you need to change the TransformAnimalMenu part into this to get it working for me.

TransformAnimalMenu =
[
	["",true],
	["Goat", [], "", -5, [["expression",'["Goat"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Rabbit", [], "", -5, [["expression",'["Rabbit"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Chicken", [], "", -5, [["expression",'["Hen"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Dog 01", [], "", -5, [["expression",'["Pastor"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Dog 02", [], "", -5, [["expression",'["Fin"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Sheep", [], "", -5, [["expression",'["Sheep"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Wild Boar", [], "", -5, [["expression",'["WildBoar"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Cow (Black & White)", [], "", -5, [["expression",'["Cow04"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Zombie", [], "", -5, [["expression",'["PZombie_VB"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Human Survivor", [], "", -5, [["expression",'["Survivor2_DZ"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
		["", [], "", -5, [["expression", ""]], "1", "0"],
		["Main Menu", [20], "#USER:ActionMenu", -5, [["expression", ""]], "1", "1"]
];

Greetz Rythron

Link to comment
Share on other sites

 Thx noxsicarius for this animal morph addon gonna use it as admin event also.. 

For the animal morph you need to change the TransformAnimalMenu part into this to get it working for me.

TransformAnimalMenu =
[
	["",true],
	["Goat", [], "", -5, [["expression",'["Goat"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Rabbit", [], "", -5, [["expression",'["Rabbit"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Chicken", [], "", -5, [["expression",'["Hen"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Dog 01", [], "", -5, [["expression",'["Pastor"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Dog 02", [], "", -5, [["expression",'["Fin"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Sheep", [], "", -5, [["expression",'["Sheep"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Wild Boar", [], "", -5, [["expression",'["WildBoar"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Cow (Black & White)", [], "", -5, [["expression",'["Cow04"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Zombie", [], "", -5, [["expression",'["PZombie_VB"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
	["Human Survivor", [], "", -5, [["expression",'["Survivor2_DZ"] execVM "actions\FunMenu\morph.sqf"']],"1","1"],
		["", [], "", -5, [["expression", ""]], "1", "0"],
		["Main Menu", [20], "#USER:ActionMenu", -5, [["expression", ""]], "1", "1"]
];

Greetz Rythron

 

It didn't work the other way? How about the movement menu?

Link to comment
Share on other sites

OK, I'm making progress, and adding things to the script.  I do have two questions....  I'm getting the following error in my client-side .rpt file and can't for the life of me figure it out:

 

Item description is not an array: <null>.
- in user menu description 'ActionsMenu', item #5: [["",true],["Build Bike",[],"",-5,[["expression","player execVM "scripts\actions\deployBike.sqf""]],"1","1"],["Build Mozzie",[],"",-5,[["expression","player execVM "scripts\actions\deployMozzie.sqf""]],"1","1"],["Pack Bike",[],"",-5,[["expression","player execVM "scripts\actions\packBike.sqf""]],"1","1"],<null>,["Flip Vehicle",[],"",-5,[["expression","player execVM "scripts\actions\flipVehicle.sqf""]],"1","1"],["Suicide",[],"",-5,[["expression","player execVM "scripts\actions\suicide.sqf""]],"1","1"],["",[],"",-5,[["expression",""]],"1","0"],["Exit",[20],"",-5,[["expression",""]],"1","1"]].

 

The strange thing is that all those menu selections actually work as intended but I have no idea why the error.  I've even compared it to the original I downloaded from GITHUB.

 

And secondly, using the <RETURN> key works perfectly for the menu selections but the scroll wheel takes a double click.  Anyone else seeing this?  It's almost like the first is an interrupt and then the second one is the actual click that the script sees and uses.

 

I am working on being able to also use the Infistar extermal admin lists (if present) to determine the menus, and will be adding the "only display when not moving" in there as well. 

Link to comment
Share on other sites

There's not too much to the init... just adding these two lines...

 

[] execVM "scripts\actions\config.sqf"; // Read config
[] execVM "scripts\actions\activate.sqf"; // Start action menu

 

 

There's nothing in the description.ext file for the action script.  

 

If you mean for the double click, I'm using a different script entirely for my server rules, hints, tips, etc. so I can more easily add pages and also tie it to my on-screen opening credits.  That one works fine with just a singe scroll click.  So there's something different in this one.

 

I've also surfaced two more things - first, the V key doesn't break me out of the movements.  I have to let them run their course. And second, Infistar kicks me after being in an animal script after about 15 seconds.  All my log says is:  

 

 

20:44:28 "infiSTAR.de Log: Bob_the_K (xxxxxxxxxxxxxxxx) | BadSkin: Sheep @[15437.9,14291.9,0.00149918]"
20:44:29 "infiSTAR.de Log: SERVER kicked Bob_the_K(xxxxxxxxxxxxxxxx) @154107"

 

 

Not very helpful.  Battleye logs had nothing at all beyond recording the skin change.

Link to comment
Share on other sites

2 things.

 

1. Same issue as Bob. I got kicked after about 15 seconds of being a rabbit. Same with the wild boar. Haven't tried the rest. I am using the latest infiSTAR and put all the ahconfig.sqf actions that you provided in.

17:37:12 "infiSTAR.de Log: ElDubya [AeG] (76561197966087279) | BadSkin: Pastor @[7264.81,14118.9,0.00161743]"
17:37:12 "infiSTAR.de Log: SERVER kicked ElDubya [AeG](76561197966087279) @072012"
17:37:12 "infiSTAR.de Log: SERVER kicked ElDubya [AeG](76561197966087279) @072012"
17:37:12 "infiSTAR.de Log: SERVER kicked ElDubya [AeG](76561197966087279) @072012"
17:37:12 "infiSTAR.de PlayerDisconnected: _uid: 76561197966087279   _name: ElDubya [AeG]"
17:37:12 "get: STRING (76561197966087279), sent: STRING (76561197966087279)"
17:37:12 "DISCONNECT: ElDubya [AeG] (76561197966087279) Object: B 1-1-F:1 (ElDubya [AeG]) REMOTE, _characterID: 39 at loc [7265.11,14118.9,0.00164795]"
17:37:12 "ERROR: Cannot Sync Character ElDubya [AeG] is an Animal class"

2. It says in the instructions on your github to put : 

// Nox's Custom Action Menu
[] execVM "actions\config.sqf"; // Read config
[] execVM "actions\activate.sqf"; // Sttart action menu

at the bottom of my init.sqf. Only I can't find any config.swf file in the actions folder?

Link to comment
Share on other sites

2 things.

 

1. Same issue as Bob. I got kicked after about 15 seconds of being a rabbit. Same with the wild boar. Haven't tried the rest. I am using the latest infiSTAR and put all the ahconfig.sqf actions that you provided in.

17:37:12 "infiSTAR.de Log: ElDubya [AeG] (76561197966087279) | BadSkin: Pastor @[7264.81,14118.9,0.00161743]"
17:37:12 "infiSTAR.de Log: SERVER kicked ElDubya [AeG](76561197966087279) @072012"
17:37:12 "infiSTAR.de Log: SERVER kicked ElDubya [AeG](76561197966087279) @072012"
17:37:12 "infiSTAR.de Log: SERVER kicked ElDubya [AeG](76561197966087279) @072012"
17:37:12 "infiSTAR.de PlayerDisconnected: _uid: 76561197966087279   _name: ElDubya [AeG]"
17:37:12 "get: STRING (76561197966087279), sent: STRING (76561197966087279)"
17:37:12 "DISCONNECT: ElDubya [AeG] (76561197966087279) Object: B 1-1-F:1 (ElDubya [AeG]) REMOTE, _characterID: 39 at loc [7265.11,14118.9,0.00164795]"
17:37:12 "ERROR: Cannot Sync Character ElDubya [AeG] is an Animal class"

2. It says in the instructions on your github to put : 

// Nox's Custom Action Menu
[] execVM "actions\config.sqf"; // Read config
[] execVM "actions\activate.sqf"; // Sttart action menu

at the bottom of my init.sqf. Only I can't find any config.swf file in the actions folder?

 

The config.sqf only exists on the test branch. It seems you downloaded the master branch and are using the readme from the test branch.

Link to comment
Share on other sites

Infistar is kicking for bad skins. This is something INSIDE of infistar that I don't have access to. You will need to disable the skin check for the antihack somehow. Normally admins set in the infistar files are completely exempt from the antihack. If there is no setting for disabling the skin check you will need to go into the actual files and find where it checks for skins and delete that part.

Link to comment
Share on other sites

  • 1 month later...
if(AllowFlipVehichle) then {["Flip Vehicle", [], "", -5, [["expression", format[_EXECscript1,"flipVehicle.sqf"]]], "1", "1"]},

Should be : 

if(AllowFlipVehicle) then {["Flip Vehicle", [], "", -5, [["expression", format[_EXECscript1,"flipVehicle.sqf"]]], "1", "1"]},

Actions_Menu.sqf in the test branch files.

Link to comment
Share on other sites

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...