[SVN][help] how to use WarpZones

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Mon Mar 08, 2010 4:02 pm

  • hello all you happy people.
    I was wondering if any one of you have a tutorial on how to use warpzones, I have tried to create warpzones in NetRadiant but get this when I try to run it:
    Code: Select all
    s116304: IF         GLOBAL28386, s116308
    s116305: FIELD_ENT  self (=entity 33), enemy, GLOBAL28387
    s116306: FIELD_ENT  GLOBAL28387, enemy, GLOBAL28387
    s116307: NE_E       GLOBAL28387, self (=entity 33), GLOBAL28387
    s116308: OR         GLOBAL28386, GLOBAL28387, GLOBAL28386
    s116309: IFNOT      GLOBAL28386, s116313
    s116310: STORE_F     (=Invalid warp zone detected. Killed.), GLOBAL4
    s116311: CALL1      GLOBAL209
                 : WarpZone_InitStep_UpdateTransform : statement 9
                 : WarpZone_StartFrame : statement 21
                 : StartFrame : statement 19


    any odeas?
    [Image
    Image
    User avatar
    Gego
    Alien
     
    Posts: 159
    Joined: Wed Mar 01, 2006 4:39 pm

Tue Mar 09, 2010 3:42 pm

  • Did you read entities.def?

    The message comes, when warpzones are not properly linked to each other, that is:

    - if the target of a warpzone is something other than a warpzone
    - if the target of a warpzone is a warpzone that targets yet another warpzone
    - if the target of a warpzone does not exist, and the warpzone is not targeted by another warpzone
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Mar 11, 2010 7:06 pm

  • So....
    I can only create warpzones if they are only linked one way?
    IE:
    warpzone1 ----> warpzone2
    but not
    warpzone1 <---> warpzone2

    ?



    Oh nvm, there was a trigger_WarpZone with no volume in origin, i removed it by hand, and now it works...
    [Image
    Image
    User avatar
    Gego
    Alien
     
    Posts: 159
    Joined: Wed Mar 01, 2006 4:39 pm



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest