Author Topic: New guy trying to spawn things  (Read 1424 times)

0 Members and 1 Guest are viewing this topic.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: New guy trying to spawn things
« Reply #15 on: February 23, 2011, 08:16:10 pm »
It would probably put him off hacking more than help him :icon_laugh

And yes, I did read it before you edited.

what would put him off hacking ?

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: New guy trying to spawn things
« Reply #16 on: February 23, 2011, 08:19:48 pm »
Ok, and where do I call that file from, when I'm in game?

you call it from an sqf or sqs which normally would be inside a pbo.


i have just looked to see if there are any good pbo tutorials and i cant seem to find one for you , if no one else can i will write one for you when i have the time free.

however in the meen time look here

http://www.ofpec.com/ed_depot/index.php?action=list&cat=to&type=ad
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

AggressiveNapkin

  • Poptart
  • *
  • Posts: 5
    • View Profile
Re: New guy trying to spawn things
« Reply #17 on: February 25, 2011, 03:56:20 am »
Awesome, if you have the chance, I'd really appreciate a ground-up walk through for this.

dretcher

  • Relentless Teamkiller
  • **
  • Posts: 65
    • View Profile
Re: New guy trying to spawn things
« Reply #18 on: February 26, 2011, 11:50:54 pm »
Awesome, if you have the chance, I'd really appreciate a ground-up walk through for this.
in order to be able to spawn stuff in game for your own personal enjoyment, your best bet is to go find one of the hacks on this site and download it, and read on the forums how to get it ingame. What you seem to be asking medic is how to make your own hacks. At least that is what he is explaining to you. You have to write the scripts in notepad or wordpad, and save them as an sqs or sqf file. I would go open up some arma missions to see how the codes work for arma. Then you can compile your scripts, etc., and make them into .pbo files to use them in game, which is basically the filename for addons in arma. Get binpbo or pboview for that part.
Either way, it isn't the easiest thing to make a hack for arma. Your best bet is to get darky's. There is a spawner in that that will spawn most guns and vehicles, as well as all the basic arma ammoboxes, and if there is something missing that you want, you can go find the classname for it at a site like this, this, or this, and use a couple basic codes in the player console section. Type in your name at the top and use the execute code box to

put in player addweapon "classname"; for a weapon
put in \player addMagazine "classname"; for ammo
put in "classname" createvehicle (position player); for vehicles.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: New guy trying to spawn things
« Reply #19 on: February 27, 2011, 04:22:04 pm »
Awesome, if you have the chance, I'd really appreciate a ground-up walk through for this.
in order to be able to spawn stuff in game for your own personal enjoyment, your best bet is to go find one of the hacks on this site and download it, and read on the forums how to get it ingame. What you seem to be asking medic is how to make your own hacks. At least that is what he is explaining to you. You have to write the scripts in notepad or wordpad, and save them as an sqs or sqf file. I would go open up some arma missions to see how the codes work for arma. Then you can compile your scripts, etc., and make them into .pbo files to use them in game, which is basically the filename for addons in arma. Get binpbo or pboview for that part.
Either way, it isn't the easiest thing to make a hack for arma. Your best bet is to get darky's. There is a spawner in that that will spawn most guns and vehicles, as well as all the basic arma ammoboxes, and if there is something missing that you want, you can go find the classname for it at a site like this, this, or this, and use a couple basic codes in the player console section. Type in your name at the top and use the execute code box to

put in player addweapon "classname"; for a weapon
put in \player addMagazine "classname"; for ammo
put in "classname" createvehicle (position player); for vehicles.


a good tip is to spawn the vehicle behind you , this way if an admin is spectating you they won't see it appear.
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

i mss old ofp

  • Insane Joker
  • ****
  • Posts: 982
  • i love the fact that you hate me.
    • View Profile
    • TKC
Re: New guy trying to spawn things
« Reply #20 on: February 27, 2011, 06:14:48 pm »
ill help you with your first script, ....

; ****************************************************************
; Custom player script for Armed Assault
; Created with ArmA Edit - Version 1.3.4000
; HELP: Run this script from the INITIALIZATION box of the player.
; CODE: [this] exec "AK47S.sqs"
; ****************************************************************

; Get the player parameter given
_player = _this select 0

; Strip the players current gear
removeAllWeapons _player

; Add the new gear to the player
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addMagazine "30Rnd_762x39_AK47"
_player addWeapon "AK_47_S"
_player removeWeapon "m16a4"
_player selectWeapon "AK_47_S"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addMagazine "8Rnd_9x18_Makarov"
_player addWeapon "Makarov"

Exit

its not much but its a start .
692063616E206C6F616420612070626F6F6E2074686520666C79206C6D616F00

the joke is you!!!!

dretcher

  • Relentless Teamkiller
  • **
  • Posts: 65
    • View Profile
Re: New guy trying to spawn things
« Reply #21 on: February 28, 2011, 07:52:31 am »
Awesome, if you have the chance, I'd really appreciate a ground-up walk through for this.
in order to be able to spawn stuff in game for your own personal enjoyment, your best bet is to go find one of the hacks on this site and download it, and read on the forums how to get it ingame. What you seem to be asking medic is how to make your own hacks. At least that is what he is explaining to you. You have to write the scripts in notepad or wordpad, and save them as an sqs or sqf file. I would go open up some arma missions to see how the codes work for arma. Then you can compile your scripts, etc., and make them into .pbo files to use them in game, which is basically the filename for addons in arma. Get binpbo or pboview for that part.
Either way, it isn't the easiest thing to make a hack for arma. Your best bet is to get darky's. There is a spawner in that that will spawn most guns and vehicles, as well as all the basic arma ammoboxes, and if there is something missing that you want, you can go find the classname for it at a site like this, this, or this, and use a couple basic codes in the player console section. Type in your name at the top and use the execute code box to

put in player addweapon "classname"; for a weapon
put in \player addMagazine "classname"; for ammo
put in "classname" createvehicle (position player); for vehicles.


a good tip is to spawn the vehicle behind you , this way if an admin is spectating you they won't see it appear.
good point, i never thought of that. what do you put in in the parentheses?

And people must really not like me, my user rating keeps getting voted down. lol. Out of curiosity, what allows you to vote on peoples user rating? I don't seem to have the ability.

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: New guy trying to spawn things
« Reply #22 on: February 28, 2011, 09:06:16 pm »


video :
http://www.youtube.com/watch?v=4UvpOcg3QQQ

i'l pm you the script , if anyone else wants it pm me.

video shows what it does.
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

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9175
    • View Profile
    • http://www.tkc-community.net
Re: New guy trying to spawn things
« Reply #23 on: March 01, 2011, 12:38:07 am »
Lol, "why walk". Good music.
Heckling is an art, and game hacking a science.