[H2X]i need some one to inject a script for me.

Have an idea for a project, but need to assemble a team? Here is the place to do it.
Post Reply
jeremy900




Literarian 50

Posts: 116
Joined: Mon Sep 03, 2007 9:22 am

[H2X]i need some one to inject a script for me.

Post by jeremy900 »

ok i have studied countless hours on how to wright scripts and how to arange them. so i figured i would give the back pack mod a shot. so could someone PLEASE HELP ME BY INJECTING THIS SCRIPT FOR ME! could you please tell what happens. even if it doesn't work i would like to know so that i can try to fix my prob. i would also like multiple people try to inject it so that i will have more reassuring that some one just made a mistake. if it works EVERY ONE THAT GIVES AN ATTEMPT OR GETS IT TO WORK WILL BE CREDITED. and PLEASE post some pics if it works. lets try to get this script working so that every one can use it. thx :D
(global object_definition w_covenant_carbine "weapons\rifle\covenant_carbine\covenant_carbine")
(global object_definition w_battle_rifle "weapons\rifle\battle_rifle\battle_rifle")
(global object_definition w_needler "weapons\pistol\needler\needler")
(global object_definition w_magnum "weapons\pistol\magnum\magnum")
(global object_definition w_energy_blade "weapons\melee\energy_blade\energy_blade")
(global object_definition w_brute_shot "weapons\support_low\brute_shot\brute_shot")
(global object_definition w_plasma_pistol "weapons\pistol\plasma_pistol\plasma_pistol")
(global object_definition w_plasma_rifle "weapons\rifle\plasma_rifle\plasma_rifle")
(global object_definition w_brute_plasma_rifle "weapons\rifle\brute_plasma_rifle\brute_plasma_rifle")
(global object_definition w_rocket_launcher "weapons\support_high\rocket_launcher\rocket_launcher")
(global object_definition w_sentinel_aggressor_beam "weapons\beam\sentinel_aggressor_beam")
(global object_definition w_shotgun "weapons\rifle\shotgun\shotgun")
(global object_definition w_sniper_rifle "weapons\rifle\sniper_rifle\sniper_rifle")
(global object_definition w_beam_rifle "weapons\rifle\beam_rifle\beam_rifle")
(global short plyrnum 0)

(script continuous increase_plyrnum
(begin
(set plyrnum (+ plyrnum 1))
)
)

(script continuous reset_plyrnum
(if
(= (> plyrnum 15) true)
(begin
(set plyrnum 0)
)
)
)

(script continuous backpack_covenantcarbine
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_covenant_carbine)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_covenant_carbine))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" w_covenant_carbine)
)
)
)

(script continuous backpack_battlerifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_battle_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_battle_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" w_battle_rifle)
)
)
)

(script continuous backpack_needler
(if
(or
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_needler)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_needler))
true)
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_mp_needler)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_needler))
true)
)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" needler)
)
)
)

(script continuous backpack_magnum
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_magnum)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_magnum))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" magnum)
)
)
)

(script continuous backpack_energyblade
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_energy_blade)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_energy_blade))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" energy_blade)
)
)
)

(script continuous backpack_bruteshot
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_brute_shot)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_brute_shot))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" brute_shot)
)
)
)

(script continuous backpack_plasmapistol
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_plasma_pistol)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_plasma_pistol))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" plasma_pistol)
)
)
)

(script continuous backpack_plasmarifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_plasma_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_plasma_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" plasma_rifle)
)
)
)

(script continuous backpack_bruteplasmarifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_brute_plasma_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_brute_plasma_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" brute_plasma_rifle)
)
)
)

(script continuous backpack_rocketlauncher
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_rocket_launcher)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_rocket_launcher))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" rocket_launcher)
)
)
)

(script continuous backpack_sentinelaggressorbeam
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_spartan_laser)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_sentinel_aggressor_beam))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" sentinel_aggressor_beam)
)
)
)

(script continuous backpack_shotgun
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_shotgun)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_shotgun))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" shotgun)
)
)
)

(script continuous backpack_sniperrifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_sniper_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_sniper_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" sniper_rifle)
)
)
)

(script continuous backpack_beamrifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_beam_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_beam_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" beam_rifle)
)
)
)
User avatar
JacksonCougAr




Recreator

Posts: 2333
Joined: Fri Jan 12, 2007 1:56 pm
Location: Canada
Contact:

Post by JacksonCougAr »

lawl.
jeremy900




Literarian 50

Posts: 116
Joined: Mon Sep 03, 2007 9:22 am

Post by jeremy900 »

JacksonCougAr wrote:lawl.
whats so funny?
User avatar
JacksonCougAr




Recreator

Posts: 2333
Joined: Fri Jan 12, 2007 1:56 pm
Location: Canada
Contact:

Post by JacksonCougAr »

Code: Select all

yeh well not exactly.....its for halo 1 but i was going to see if you guys could edit it cuz all you have to do is edit a couple of values and change some names well here it is
Quote:
(global object_definition w_assault_rifle "weapons\assault rifle\assault rifle")
(global object_definition w_flamethrower "weapons\flamethrower\flamethrower")
(global object_definition w_needler "weapons\needler\needler")
(global object_definition w_mp_needler "weapons\needler\mp_needler")
(global object_definition w_pistol "weapons\pistol\pistol")
(global object_definition w_plasma_cannon "weapons\plasma_cannon\plasma_cannon")
(global object_definition w_plasma_pistol "weapons\plasma pistol\plasma pistol")
(global object_definition w_plasma_rifle "weapons\plasma rifle\plasma rifle")
(global object_definition w_rocket_launcher "weapons\rocket launcher\rocket launcher")
(global object_definition w_shotgun "weapons\shotgun\shotgun")
(global object_definition w_sniper_rifle "weapons\sniper rifle\sniper rifle")
(global object_definition w_flag "weapons\flag\flag")
(global object_definition w_oddball "weapons\ball\ball")
(global short plyrnum 0)

(script continuous increase_plyrnum
(begin
(set plyrnum (+ plyrnum 1))
)
)

(script continuous reset_plyrnum
(if
(= (> plyrnum 15) true)
(begin
(set plyrnum 0)
)
)
)

(script continuous backpack_assaultrifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_assault_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_assault_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" assault_rifle)
)
)
)

(script continuous backpack_flamethrower
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_flamethrower)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_flamethrower))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" flamethrower)
)
)
)

(script continuous backpack_needler
(if
(or
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_needler)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_needler))
true)
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_mp_needler)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_mp_needler))
true)
)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" needler)
)
)
)

(script continuous backpack_pistol
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_pistol)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_pistol))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" pistol)
)
)
)

(script continuous backpack_plasmacannon
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_plasma_cannon)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_plasma_cannon))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" plasma_cannon)
)
)
)

(script continuous backpack_plasmapistol
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_plasma_pistol)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_plasma_pistol))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" plasma_pistol)
)
)
)

(script continuous backpack_plasmarifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_plasma_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_plasma_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" plasma_rifle)
)
)
)

(script continuous backpack_rocketlauncher
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_rocket_launcher)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_rocket_launcher))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" rocket_launcher)
)
)
)

(script continuous backpack_shotgun
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_shotgun)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_shotgun))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" shotgun)
)
)
)

(script continuous backpack_sniperrifle
(if
(and
(unit_has_weapon (unit (list_get (players) plyrnum)) w_sniper_rifle)
(not (unit_has_weapon_readied (unit (list_get (players) plyrnum)) w_sniper_rifle))
true)
(begin
(object_set_permutation (unit (list_get (players) plyrnum)) "backpack" sniper_rifle)
)
)
)
As you said, its a halo 1 script. You changed the names it points to.
jeremy900




Literarian 50

Posts: 116
Joined: Mon Sep 03, 2007 9:22 am

Post by jeremy900 »

well if you notice.... i did more than just change some names i had to do alot more and not to mention that it wasnt easy learning what to type and what to change, and how to make the script continue. i honestly dont know whats so funny. i wrote that from scratch. so if you want to laugh go ahead. but i do know that it took me a long ass time to figure out how to do it.
User avatar
JacksonCougAr




Recreator

Posts: 2333
Joined: Fri Jan 12, 2007 1:56 pm
Location: Canada
Contact:

Post by JacksonCougAr »

'lawl' is not 'lol' nor 'lmao'. I simply meant I recognized this from AceMods, and didn't have much faith in it working if you 'made it as you went' so to say.
jeremy900




Literarian 50

Posts: 116
Joined: Mon Sep 03, 2007 9:22 am

Post by jeremy900 »

i never said that i wrote the h1 script i just presented it to you. but ok. do you think you could inject it into a map just to tell me if it works?:D thx
User avatar
JacksonCougAr




Recreator

Posts: 2333
Joined: Fri Jan 12, 2007 1:56 pm
Location: Canada
Contact:

Post by JacksonCougAr »

lawl; no. Although I "should" I won't because right now I have no time.
CRAZYCLOwN13





Posts: 35
Joined: Wed Jun 06, 2007 9:38 am

Post by CRAZYCLOwN13 »

put your parentheses in the correct spot and i'll try it out for you
Image
Click my sig and Come help support our new team and site!!
Post Reply