Author Topic: Arma 2 & OA custom hack  (Read 2202 times)

0 Members and 1 Guest are viewing this topic.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Arma 2 & OA custom hack
« on: March 08, 2011, 04:34:41 pm »





comming soon :

what i want you to do is post here with features you would like to see added into the hack and i will add them to it.

and post scripts you would like to see included.

eg : OKOK1: GODMODE Reason:  i want to shoot people without fear of dieing.. etc

when its completed it will be released allready bypassed so just pop it into your folder and play.

any suggestions are welcome.  :smile
« Last Edit: March 08, 2011, 06:18:22 pm by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Coronel_Niel

  • Insane Joker
  • ****
  • Posts: 846
  • Why can't I pick my own profile picture...
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #1 on: March 08, 2011, 07:59:04 pm »
You got APED!

Rofl.

Like the different menu design and loading hacks from the list is very different indead.

Button positioning is a bit fucked up, but this isn't a full release + all the button's arn't done ect so it's k for now :P.

Just out of curiosity - Why don't you run your Arma 2 with showscripterrors?
I know you know the command as you've told other people about it.
"Now we are going to watch my boys do it" - Joopig

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #2 on: March 08, 2011, 09:08:03 pm »
You got APED!

Rofl.

Like the different menu design and loading hacks from the list is very different indead.

Button positioning is a bit fucked up, but this isn't a full release + all the button's arn't done ect so it's k for now :P.

Just out of curiosity - Why don't you run your Arma 2 with showscripterrors?
I know you know the command as you've told other people about it.

i dont run scripts in the normal way niel so showscripterrors has no effect for my stuff.

it is a usefull command though.

ps how do you meen ? ( the part in bold ) any suggestions are welcome.

i dont like the colour of the buttons either i might change it.

EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #3 on: March 08, 2011, 09:55:25 pm »


sticking with this its light & functional.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Coronel_Niel

  • Insane Joker
  • ****
  • Posts: 846
  • Why can't I pick my own profile picture...
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #4 on: March 08, 2011, 11:01:29 pm »
Yeah that looks a lot nicer.

Maybe do color coding as all the buttons are clumped together.

Like debug is green, make the debug edit box green.
Make the selection from the right box red + button for it red.

I suppose using it you get used to what button does what, but to the normal eye it looks like a clusterfucker of okok's and buttons that name's don't give away their use.

In short, the button's name's are not clear to the button's function's. If you want a public release, it will be used by a lot of people who arn't the brightest and they need simplicity.
However, when you add all the okok's in ect it might look fine then.


EDIT:



Note: Image is taken on an old version of ZL I used for hack making. I make hacks a little differently to what you might normally expect and its due to it being a lot quicker.

This menu tells you what everything is and what it does. It has labels for "Add to Inventory" and "Remove from Inventory" (Which I should rename to "Master Array" and "Players Inventory" respectively)
The add and remove buttons have >> and << in to show what way the items are moving. It isn't that hard to work out, it just makes the brain's job easier.
Remove All in put under the inventory that you are removing so the brain can quickly associate between the button and what it does.

I think you need a little redesign on the layout of the hack overall. The layout should be grouped so you can have association - Each part of the hack is a group that does a certain part.
Splitting the OkOk's makes the brain have to work. The buttons are not grouped together very well. However, as I have said, you haven't filled in these buttons yet and you can't group them until you do.

Recap: Make brain think less.

Side Note: Labels. More.
"Now we are going to watch my boys do it" - Joopig

articfox1994

  • First Post
  • *
  • Posts: 1
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #5 on: March 08, 2011, 11:02:55 pm »
I can think of a few Options:

Godmode: a little obvious.
NoRecoil: not sure if it is possible but would be damned helpful sometimes.
Zoom: Adjustable zoom would be awesome, becuase the right click thing sometimes just isnt enough to see longer distances.

would be awesome if you could add those.

karmalover

  • I canz carpet bomb joo?
  • Online Villain
  • ***
  • Posts: 201
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #6 on: March 08, 2011, 11:40:56 pm »
+1 for now  and another one when you release it  :icon_laugh

It looks nice though

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #7 on: March 08, 2011, 11:53:50 pm »
i agree niel but the problem is screenspace there is not enough.

i can rediesign the menu but i think its good for the job it does but thanks for the submission i did think about it.

god mode is under the mrmedic button it gives you

godmode + unlimited ammo + invulnerable vehicle + vehicle fuel + vechicle ammo allways.

im still open to suggestions though.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Coronel_Niel

  • Insane Joker
  • ****
  • Posts: 846
  • Why can't I pick my own profile picture...
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #8 on: March 09, 2011, 12:27:14 am »
True, screenspace is a problem, but those buttons are fucking huge. Infact the whole thing is just larger than it needs to be.

It's up to you wether you do anything I think of, and the current layout will work for you as you made it and you know your own hack inside out. You just might run into a problem with giving it out to others if you release.

EDIT:

Bah. Just spent 2 hours creating a script with the "Format" command and making it work just to find the answer could've taken 10 mins.
Time to go do some testing :)
« Last Edit: March 09, 2011, 02:31:19 am by Coronel_Niel »
"Now we are going to watch my boys do it" - Joopig

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #9 on: March 09, 2011, 12:44:02 pm »
for what?
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Coronel_Niel

  • Insane Joker
  • ****
  • Posts: 846
  • Why can't I pick my own profile picture...
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #10 on: March 09, 2011, 08:01:02 pm »
I'm finishing the vehicle editor part of my multihack.
Turns out that the storage is (vehicle)_storage. Simple enough.

But the format commands gives wierd results.

VehicleStorage = Format ["%1_storage",vehicle];
Hint Format["%1",VehicleStorage];

The hint then gives "Vehicle_Storage" rather than what is in the vehicle's storage itself.

I'm almost certain the way around this has to use the "Compile" command. I can add / remove stuff from a vehicle, but removing EVERYTHING from a vehicle is bugging me.

No, this is not no where near as easy as it sounds. Inventory's were so much easier than this and I had to get the players inventory from a player. Vehicle's storage is global to everyone.
« Last Edit: March 09, 2011, 09:30:26 pm by Coronel_Niel »
"Now we are going to watch my boys do it" - Joopig

karmalover

  • I canz carpet bomb joo?
  • Online Villain
  • ***
  • Posts: 201
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #11 on: March 09, 2011, 09:29:11 pm »
Btw,
How can i create a vehicle with things in it like weapons and equipements ?

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #12 on: March 09, 2011, 10:58:33 pm »
I'm finishing the vehicle editor part of my multihack.
Turns out that the storage is (vehicle)_storage. Simple enough.

But the format commands gives wierd results.

VehicleStorage = Format ["%1_storage",vehicle];
Hint Format["%1",VehicleStorage];

The hint then gives "Vehicle_Storage" rather than what is in the vehicle's storage itself.

I'm almost certain the way around this has to use the "Compile" command. I can add / remove stuff from a vehicle, but removing EVERYTHING from a vehicle is bugging me.

No, this is not no where near as easy as it sounds. Inventory's were so much easier than this and I had to get the players inventory from a player. Vehicle's storage is global to everyone.

it looks like your trying to print an array

ie _storage[] = ["rocket","blah","blah2"]

if you try format ["%1",_storage] it will display random stupidness

where as if you loop it in a for loop with (count _storage) and format ["%1",_storage select _i] .. then it will work.
« Last Edit: March 09, 2011, 11:11:33 pm by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Coronel_Niel

  • Insane Joker
  • ****
  • Posts: 846
  • Why can't I pick my own profile picture...
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #13 on: March 09, 2011, 11:11:23 pm »
Total BS :P

Using the format command is the way to print an array.

However, using the format command to point to a variable + text (%1_storage) needs the compile command added so it reads the command as a whole and not just what the text says without having to use 2 variables (A method I have seen used a lot but NOT the most effective and it wont work with what I am doing here)

When I used 2 variables I can print the storage and using the official zarga commands I can add/remove from vehicles storage. But removing all from the storage of a vehicle was harder as I had to edit the array directly and then make that a public variable. When I didn't use the compile command the PC read it as "Vehicle_Civ1_20_Storage = [];" and read the first part as text, which made it bug out.
But when using the compile and format commands correctly you can force it to read it as it supposed to.
How do I know how the computer saw it? Using "Hint" commands inside the text. As all my .sqf files arn't loaded in a pbo I can edit them on the go.

I know cos I just got it to work ;)

Been printing arrays for a long time man. How else did I see other people's inventories before I had a menu? :P
« Last Edit: March 09, 2011, 11:16:29 pm by Coronel_Niel »
"Now we are going to watch my boys do it" - Joopig

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Arma 2 & OA custom hack
« Reply #14 on: March 09, 2011, 11:13:06 pm »
i was using hint format as an example of how to access the array  :icon_rolleyes2

yeah i think i misread what you typed as well , to me it looked like you didnt know how to access the array now i see you wanted to add text and values

it would be something like call compile format["_cargo%1 = %2",_i,_x] etc
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157