Results 1 to 10 of 10

Thread: Scripting Help

  1. #1
    Junior Member
    Join Date
    May 2011
    Posts
    11

    Scripting Help

    I need help with scripting

    Okay I was trying to create a new map that introduced Multiplayer Coop. Essentially I am converting all the SP maps of Halo into Multiplayer and I will script the multiplayer maps to destroy the earlier spawn points so that the spawn points later in the map activate.


    So essentially I was wondering if you guys could help me. I have been reading the scripting bible and I looked through all the codes. The most promising of the codes was something that destroyed the objects, HOWEVER I can't destroy spawn points so I am at a loss.


    I want to create a multiplayer coop Campaign maps.



    so listed below is the events I am trying to script


    1. player walks through Trigger Volume
    2. The spawn points at the map intro are deleted and then new spawn points are place next to the player in the event they might die


    The problem I am having is that when the message pops up informing me that loading is done WHEN I DIE I go back to the earlier spawn point with nothing rendered. So I am stuck in nothingness.
    Reply With Quote

  2. #2
    Junior Member
    Join Date
    Jul 2008
    Posts
    15

    Re: Scripting Help

    Sorry about my english, but here is my suggestion for the spawn points :
    Maybe could you displace your spawn points at bout 5m of the floor and place triggervolume on them.
    Then you could add a "checkpoint" system in your script, wich would manage where the player respawning in this triggervolume would be teleported.
    Or maybe more simple, just create a variable wich change whenever you switch bsp and use it to define where the players must be teleported from the volume at spawn, but you would have only one spawn place per bsp wich is i think a bit few.

    (The idea of placing these away from the flood is to prevent players to inadvertently walk in them and be teleported without respawning. You could also improve this by making the teleport script work only if a player died a little time ago.)

    Yet, i dont remember but isn't there any option in sapien on the spawn points to define with wich bsp these are used?
    Last edited by Kelno; May 18th, 2011 at 02:29 PM.
    Reply With Quote

  3. #3
    Junior Member
    Join Date
    May 2011
    Posts
    11

    Re: Scripting Help

    That is a brilliant idea. Can't believe I didn't think of that. Thanks.
    Reply With Quote

  4. #4
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Scripting Help

    Won't work. At all.
    Reply With Quote

  5. #5
    Junior Member
    Join Date
    May 2011
    Posts
    11

    Re: Scripting Help

    I am thinking a teleporter might solve it. Try that.
    Reply With Quote

  6. #6
    Junior Member
    Join Date
    May 2011
    Posts
    11

    Re: Scripting Help

    try making a script that placing a warthog over spawn so that player doesn't spawn there.
    Reply With Quote

  7. #7
    Junior Member
    Join Date
    Jul 2008
    Posts
    15

    Re: Scripting Help

    Quote Originally Posted by chrisk123999 View Post
    Won't work. At all.
    Why not?
    The only thing why Im not sure is because i dont exactly know how do Halo manage out of map objects. The question is to know if the triggervolume test still work on such objects, im not really sure of it.
    If you need help with the script i could give it a try, just have to re-read the scripting bible a bit.
    Reply With Quote

  8. #8
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Scripting Help

    AI don't sync, can't move player spawns, BSP switches don't sync, etc...

    Don't bother.
    Reply With Quote

  9. #9
    Junior Member
    Join Date
    Jul 2008
    Posts
    15

    Re: Scripting Help

    Im pretty sure he could make an efficient bsp sync script, and there's likely some ways for the spawn problem. I've already played a coop maps like this where it was working fine. Still I agree with the fact that with non sync ai, a coop map like this wouldn't really be playable but that's not my concern when helping here.
    Reply With Quote

  10. #10
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: Scripting Help

    Yes, it's possible to use scripts to solve some of the problems, but in the end I don't see it being worth it. Maybe if AI synced, then it would even be worth considering.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •