[Resources] Script Library
- SingingBlaze
- Posts: 348
- Joined: Sun Sep 10, 2006 6:02 pm
|   |   |   | 
- snakejknight
- Posts: 693
- Joined: Sun Jun 04, 2006 1:00 pm
- Location: North Hollywood California
|   |   |   |   | 
well this is kinda useless but it is a woking script... it kills u every 600 units of time...
			
			
									
									
						Code: Select all
(script continuous none 
  (begin 
   (sleep 500) 
   (damage_players objects\weapons\support_low\brute_shot\damage_effects\grenade_impact) 
   (sleep 100) 
   (damage_players objects\weapons\support_high\rocket_launcher\damage_effects\rocket_launcher_explosion)
  )
)- snakejknight
- Posts: 693
- Joined: Sun Jun 04, 2006 1:00 pm
- Location: North Hollywood California
|   |   |   |   | 
Code: Select all
 (script continuous lowgrav
  (begin
    (physics_set_gravity 1)
    (if (player_action_test_melee)
      (physics_set_gravity 0.5)))
    (player_action_test_reset)
   )
) 
"Before you criticize someone, walk a mile in their shoes. That way after you make fun of them, you still have their shoes."-Dranciel ಠ_ಠScottyGee wrote:Smokers suck >_< (to avoid someone saying it later, both literally and in the derogatory way)
- snakejknight
- Posts: 693
- Joined: Sun Jun 04, 2006 1:00 pm
- Location: North Hollywood California
|   |   |   |   | 
very interesting
edit: my favorite script yet
			
			
													edit: my favorite script yet
					Last edited by snakejknight on Sat Nov 04, 2006 5:17 pm, edited 1 time in total.
									
			
									
						- SingingBlaze
- Posts: 348
- Joined: Sun Sep 10, 2006 6:02 pm
|   |   |   | 
- 
				PyroBlizzard
- Posts: 659
- Joined: Thu Jun 30, 2005 4:49 pm
- Location: AUZZIES RULE AT HALO 3!
|   |   |   | 
- snakejknight
- Posts: 693
- Joined: Sun Jun 04, 2006 1:00 pm
- Location: North Hollywood California
|   |   |   |   | 
- 
				PyroBlizzard
- Posts: 659
- Joined: Thu Jun 30, 2005 4:49 pm
- Location: AUZZIES RULE AT HALO 3!
|   |   |   | 
- snakejknight
- Posts: 693
- Joined: Sun Jun 04, 2006 1:00 pm
- Location: North Hollywood California
|   |   |   |   | 
How do you specify which gun that spawns?Soldier of Lite wrote:Great idea. Here's an interesting one for you guys to play with:Makes an instance of the script object "gun" and fires it for x seconds, then deletes it. This is how the SP scarab guns work.Code: Select all
(object_create gun) (weapon_hold_trigger gun 0 true) (sleep x) (weapon_hold_trigger gun 0 false) (object_destroy gun)
Also, all of these scripts can be compiled using my new program ScriptTools.

I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.
- snakejknight
- Posts: 693
- Joined: Sun Jun 04, 2006 1:00 pm
- Location: North Hollywood California
|   |   |   |   | 
well playing around w/ scripts and lighting... and here u go (try this out its kinda fun)
			
			
									
									
						Code: Select all
(script continuous Drunken_Monkey
  (begin 
   (sleep (random_range 100 500)) 
   (fade_out 5 4 3 (random_range 10 500)) 
   (sleep 100) 
   (fade_in 3 4 5 (random_range 10 100))
  )
)- 
				PyroBlizzard
- Posts: 659
- Joined: Thu Jun 30, 2005 4:49 pm
- Location: AUZZIES RULE AT HALO 3!
|   |   |   | 
Code: Select all
(object_create objects\weapons\rifle\smg\smg.weap)
(weapon_hold_trigger objects\weapons\rifle\smg\smg.weap 0 true)
(sleep x)
(weapon_hold_trigger objects\weapons\rifle\smg\smg.weap 0 false)
(object_destroy objects\weapons\rifle\smg\smg.weap)objects\weapons\rifle\smg\smg.weap

The (sleep x) function doesn't work  
			
			
									
									

I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.



 
                                             
                                             
                                             
                                             
                                            


 
                                            
 
                                             
                                            

 
                                             
                                             
                                             
                                             
                                             
                                             
                                             
                                             
                                            





