Jump to content
Sign in to follow this  
deathsai

A damned respawning script with instructions

Recommended Posts

Respawning is probably one of the best tools in the game, and yet I've never come upon one that actually explains how to edit it. Such as having ;The below script does this on every line above a bit of the code. There are idiots like me that can't figure out how to make AI respawn in SP. I can make them respawn in MP (although they always just spawn with an M16 or AK74 with one clip, annoying), but not SP.

Share this post


Link to post
Share on other sites

Well obviously you never looked/ searched for it.

Search either here or at:

www.ofpec.com for mission editing

"Camcreate Units" is what you are looking for...

It aint that easy that people just post you a clue here, so you gotta read anyways. biggrin_o.gif

Take care

Daywalker

Share this post


Link to post
Share on other sites

I think you want to use the createunit command to spawn AI, not camcreate, camcreate spawns braindead AI.

I think the command is something like

"SoldierWB" createunit [getpos player, group player]

you should download the official comref and check it out if you havent already.

Share this post


Link to post
Share on other sites

Createunit Syntax:

*Soldier Class Name* createunit [*position*,*group*,*init*,*skill level*,*Rank*]

Example: "SoldierWB" createunit [getpos player,player,"newguy = this",1,"PRIVATE"]

i hope this could help...

Share this post


Link to post
Share on other sites

A good respawn to use is Doolittle's revive respawn.

All the instructions are in the readme.... i think.

If you have any queries just ask at the forum or email me at aooksofp@btinternet.com

Revive Respawn: Download

Aook smile_o.gif

Edit: If the link doesn't work...drag the download link to the address bar of your browser. (Freewebs is crap..goddamnit  crazy_o.gif )

Ps: Sorry admins if this post seems to be popping up all over the place.....i answered 3 questions with it - all about respawning tounge_o.gif

Share this post


Link to post
Share on other sites

I tried Doolittle's respawn script and it doesn't work. I put the 4 files into my folder and did everything the manual said. When a soldier who should respawn is killed, it says scriptname.sqs not found. I tried changing the trigger to say "respawn.sqs" but I just got a bunch of weird errors.

Createunit didn't work, either. I put it in the unit's init script, but it just respawned a guy with an M16. 3 clips, though, but he also didn't go the the WP he had been assigned. Grrrr....

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×