Home   Help Search Login Register  

Author Topic: nead help respawn in sp  (Read 1977 times)

0 Members and 2 Guests are viewing this topic.

netta1234

  • Guest
nead help respawn in sp
« on: 05 Jan 2004, 23:27:20 »
i am realy up to make missons and how do i make al respawn and how do i make tanks respawn after destroyed thx plz reple

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:nead help respawn in sp
« Reply #1 on: 06 Jan 2004, 00:46:01 »
Not sure, but I don't think it is possible to respawn in SP.


Planck
I know a little about a lot, and a lot about a little.

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #2 on: 06 Jan 2004, 02:04:15 »
i know it is possible

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #3 on: 06 Jan 2004, 03:36:49 »
come on guys i nead it very fast!!!!!!!  :-[

BadAssSuntchezz

  • Guest
Re:nead help respawn in sp
« Reply #4 on: 06 Jan 2004, 11:43:44 »
How do you know it is possible? And more important what do you need it for? Is your mission so damn hard that you'll need respawn - in sp?
Give the player the chance to save the game, that's perfectly enough, even for hard missions.

Player must be the squad leader or work alone, make a trigger, radio juliet (0-0-0 in the radio menu). Condition this, OnActivation savegame.
UnPBO some missions (BAS missions by Nagual e.g.) to see what i mean.

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #5 on: 06 Jan 2004, 11:49:18 »
i nead the script to my misson i made my misson and i only nead respawn =(

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:nead help respawn in sp
« Reply #6 on: 06 Jan 2004, 12:09:00 »
There's no way to use respawn in SP.

However it could be possible to build a clever script which detects if a tank is destroyed and then with createvehicle creates a new tank to somewhere with crew.
Not all is lost.

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #7 on: 06 Jan 2004, 12:11:03 »
ok that whod be hard

« Last Edit: 06 Jan 2004, 12:11:28 by netta1234 »

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #8 on: 06 Jan 2004, 18:13:01 »
any one clever in ofp here! >:(

PsyWarrior

  • Guest
Re:nead help respawn in sp
« Reply #9 on: 08 Jan 2004, 14:02:56 »
Greeting ppls!
     A significant time ago, I experimented with some SP Player Character respawning (for use with the Psychic Command engine) using the built in "onPlayerKilled" script. Unfortunately, it was to no avail - it is possible to ressurect the player after his death, but the AI will ignore him and it's impossible to access the main menu (leaving no way to exit the mission). He will also not be picked up by triggers.

     The same is unfortunately true of AIs - You can't respawn them. You can however use the createUnit command to create a new unit identical to the old one. -> search for createUnit.

    So player respawning in SP = impossible, but creating the appearence of AI respawning is perfectly possible. If you can't find anything, IM me and i'll try to help you with the scripting. The createUnit command is used heavily in the Psychic Command engine!

-Supreme Commander PsyWarrior.

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #10 on: 08 Jan 2004, 14:14:18 »
np i dont nead to respawn player only al ok how do i do ::D:D:D:D:D
« Last Edit: 08 Jan 2004, 14:23:02 by netta1234 »

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #11 on: 08 Jan 2004, 14:17:52 »
do i nead to dovnload any ting?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:nead help respawn in sp
« Reply #12 on: 08 Jan 2004, 15:47:16 »
Yes. The 1.85 official command reference from the editors depot. Look into the createunit and createvehicle commands, which are explained with details in the command reference.
Also search the forums and the editors depot for tutorials and tips for the createunit and createvehicle commands.
Not all is lost.

netta1234

  • Guest
Re:nead help respawn in sp
« Reply #13 on: 08 Jan 2004, 17:39:20 »
i got 1.91 :D

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:nead help respawn in sp
« Reply #14 on: 08 Jan 2004, 20:45:42 »
The official command references are only made up to version 1.85. It wouldn't mater if you had 1.94 even, because only very little has changed since 1.85.
Not all is lost.