Home   Help Search Login Register  

Author Topic: Weapons Respawn script :-\  (Read 2067 times)

0 Members and 1 Guest are viewing this topic.

Möjkel

  • Guest
Weapons Respawn script :-\
« on: 05 Jun 2004, 20:07:53 »
I'm looking for a Weapons Respawn script... it have to work with addons. I found one that does that but, in that script all players respawn to same area...
So do anybody know of a good Weapons Respawn script where west and east respawn at diffrent places?

Offline rhysduk

  • Former Staff
  • ****
Re:Weapons Respawn script :-\
« Reply #1 on: 06 Jun 2004, 01:07:31 »
Im not quite following here sorry,

Quote
I'm looking for a Weapons Respawn script ....

Ok, this is no problem but then

Quote
I found one that .... script all players respawn to same area ..... Weapons Respawn script where west and east respawn at diffrent places?

And now you are talking about units?  ::)  ??? Im lost to be honest..

This is a guess but do you mean does anyone know of a weapon respawn script so that east weapons respawn in one place, and west weapons respawn in another place?

If this is so, well.. i wont explain until u give me an answer :)

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #2 on: 06 Jun 2004, 19:27:04 »
With Weapons Respawn script i mean - a script that makes unit respawn with there ordenary weapons... so I am talking about units =)

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #3 on: 06 Jun 2004, 19:31:26 »
This is the script i found  "Adversarial Weapons Respawn"  By: Tactician
But it only works to DM. alla units respawn to the same place...

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #4 on: 08 Jun 2004, 20:08:06 »
looking for a Reequip script...

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Weapons Respawn script :-\
« Reply #5 on: 08 Jun 2004, 21:31:00 »
I know a little about a lot, and a lot about a little.

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #6 on: 10 Jun 2004, 21:54:32 »
yea... i know, but no one that fits my requests =(

Offline Gnat

  • Addons Depot
  • Former Staff
  • ****
  • I Bite!
    • Gnats
Re:Weapons Respawn script :-\
« Reply #7 on: 12 Jun 2004, 06:33:53 »
Well ..... I'm also lost as to what your after!  ???

In the description.ext you have;
Quote
Respawn = X;
Respawndelay = Y;

Where X can be:
"INSTANT" - Respawn where you died.
"BASE" - Respawn at your base (markers "Respawn_West", "Respawn_East")
"GROUP" - Into a remaining soldier of your group (assigned group/platoon)

And Y seconds before you respawn.


Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #8 on: 12 Jun 2004, 13:12:49 »
ok... I want a script that makes my SFP soldiers (addon) respawn at base with their original weapons... :-\

Offline Gnat

  • Addons Depot
  • Former Staff
  • ****
  • I Bite!
    • Gnats
Re:Weapons Respawn script :-\
« Reply #9 on: 12 Jun 2004, 15:39:33 »
 ???
The above bit that goes in description.ext works for all soldiers in MP ..........
Still not sure what your problem is but SEARCH the Editors Depot of OFPEC for;

Adversarial Weapons Respawn
Its a script by Tactician

.... maybe thats what your after.

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #10 on: 12 Jun 2004, 15:57:57 »
no.. sry i does not... i have tryed before.. more then one time

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #11 on: 12 Jun 2004, 15:59:13 »
my problem is that my SFP fellows don't respawn with there AK5... thay respawn with a ak47 with only one mag

Offline Gnat

  • Addons Depot
  • Former Staff
  • ****
  • I Bite!
    • Gnats
Re:Weapons Respawn script :-\
« Reply #12 on: 12 Jun 2004, 17:37:06 »
So your saying the KIT.sqs doesnt work ?
I've used on all sorts of non-BI Addon soldiers and its worked fine for me

Quote
;Universal Weapons Respawn Script v1.02 (December 4, 2002)
;Required Version: 1.85
;by toadlife and Hamdinger
;toadlife@toadlife.net
;intialize like this: ["unitname",0] exec "thisscript.sqs"
;            Or this: ["unitname",1] exec "thisscript.sqs"
;
; * "unitname" = The name of the player the script runs on (must be enclosed by quotes!)
; * 0/1 = method of repleneshing weapons
;  **if method is 0, the player gets the same weapons he stated out with every time
;  **if method is 1, the player gets the same weapons he had when he died

- When calling ["unitname",0] exec "thisscript.sqs" in the INIT line of every soldier make sure it's the LAST command in the INIT field, especially if you are also doing AddWeapon or AddMagazine for this AK5 in the INIT field.
- Is the unit named ? Wont work unless it is.
- Are you sure the script is "on" each soldier ?  Place a hint in the script to see if its working
- Do you have a GameLogic called "Server" on the map ..... not sure if its required but I generally always include one for MP maps. :)

.......... unless there is something really wrong with your Addon, should work.

Möjkel

  • Guest
Re:Weapons Respawn script :-\
« Reply #13 on: 12 Jun 2004, 18:59:11 »
the good news is that it worked... my sfp soldiers got there weapons... but.. sometimes thay respawned in the enemy area... (sfp is on the res side)