Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
Most recent edit on 2007-02-27 15:40:50 by MiKail

Additions:
LoadSharedModel(NewShipType, "Hgn_AssaultCorvette")

Deletions:
LoadSharedModel(NewShipType, "Vgr_Carrier")



Edited on 2007-02-27 15:39:29 by MiKail

Additions:
Note: according to this posthttp://forums.relicnews.com/showthread.php?p=2164843#post2164843, this function needs to appear near the end of the .ship file or else docking paths get screwed up.



Edited on 2005-07-11 17:33:19 by MiKail

Additions:
Note: this doesn't seem to work with subsystems.



Edited on 2005-07-06 16:36:32 by MiKail

Additions:
Description (information adapted from "ShipTuning.xls")
Indicates the object-model this object will reuse.
For example, the "Hgn_AssaultCorvetteElite" may reuse the model from the "Hgn_AssaultCorvette". In this case, clear the blank argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".
LoadSharedModel(NewShipType, "Vgr_Carrier")
<rNewObjectType>: the type of object being modified (ship, resource, etc.).
<sObjectToShareModelWith>: the name of the object to borrow the model from.

Deletions:
LoadSharedModel(NewShipType, "Vgr_Carrier")
Description (information adapted from "ShipTuning.xls")
Indicates which object model this object should reuse. For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the blank argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".
  • <rNewObjectType> = the type of object being modified (ship, resource, etc.).
  • <sObjectToShareModelWith> = a reference to the object the model will be borrowed from.



    Edited on 2004-01-27 21:43:43 by MiKail

    Additions:
    Description (information adapted from "ShipTuning.xls") Indicates which object model this object should reuse. For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the blank argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".

    Deletions:
    Description (information gotten from "ShipTuning.xls")
    Indicates which ship model this ship should reuse. For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the blank argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".




    Edited on 2004-01-27 21:42:39 by MiKail

    Additions:
    Note: only objects of the same type may share models (e.g., ships can only share models with other ships, and asteroids can only share models with other asteroids).



    Edited on 2004-01-25 00:36:38 by MiKail

    Additions:
    Description (information gotten from "ShipTuning.xls")
    Indicates which ship model this ship should reuse. For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the blank argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".


    Deletions:
    Description (information gotten from "ShipTuning".xls)
    Indicates which ship model this ship should reuse. For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".




    Edited on 2004-01-25 00:36:07 by MiKail

    Additions:
    Description (information gotten from "ShipTuning".xls)
    Indicates which ship model this ship should reuse. For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".


    Deletions:
    Description (information gotten from ShipTuning.xls)
    Indicates which ship model this ship should "reuse". For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".




    Edited on 2004-01-24 21:18:02 by MiKail

    Additions:
    1) <sObjectToShareModelWith> = a reference to the object the model will be borrowed from.

    Deletions:
    1) <rObjectToShareModelWith> = a reference to the object the model will be borrowed from.



    Edited on 2004-01-24 21:17:50 by MiKail

    Additions:
    Indicates which ship model this ship should "reuse". For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <sObjectToShareModelWith> argument to "Hgn_AssaultCorvette".

    Deletions:
    Indicates which ship model this ship should "reuse". For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <rObjectToShareModelWith> argument to "Hgn_AssaultCorvette".



    Edited on 2004-01-24 21:17:41 by MiKail

    Additions:
    LoadSharedModel(<rNewObjectType>, <sObjectToShareModelWith>)

    Deletions:
    LoadSharedModel(<rNewObjectType>, <rObjectToShareModelWith>)



    Edited on 2004-01-24 21:16:51 by MiKail

    Additions:
    Indicates which ship model this ship should "reuse". For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <rObjectToShareModelWith> argument to "Hgn_AssaultCorvette".

    Deletions:
    Indicates which ship model this ship should "reuse". For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <rShipToShareModelWith> argument to "Hgn_AssaultCorvette".



    Edited on 2004-01-24 21:14:44 by MiKail

    Additions:
    Description (information gotten from ShipTuning.xls)

    Deletions:
    Description (information gotten from ShipTuning.xls)



    Edited on 2004-01-24 21:14:33 by MiKail

    Additions:
    Description (information gotten from ShipTuning.xls)

    Deletions:
    Description



    Edited on 2004-01-24 21:12:55 by MiKail

    Additions:
    LoadSharedModel(<rNewObjectType>, <rObjectToShareModelWith>)
    LoadSharedModel(NewShipType, "Vgr_Carrier")


    Deletions:
    LoadSharedModel(<rNewObjectType>, <rObjectToShareModelWith>)
    LoadSharedModel(NewShipType,"Vgr_Carrier")




    Edited on 2004-01-24 21:12:26 by MiKail

    Additions:
    LoadSharedModel(<rNewObjectType>, <rObjectToShareModelWith>)

  • Example

    Description
    Indicates which ship model this ship should "reuse". For example, the "Hgn_AssaultCorvetteElite" may reuse the model of the "Hgn_AssaultCorvette". In this case, clear the "blank" argument in the Model Loading section and set the <rShipToShareModelWith> argument to "Hgn_AssaultCorvette".

    Arguments
    1. <rNewObjectType> = the type of object being modified (ship, resource, etc.).
    2. <rObjectToShareModelWith> = a reference to the object the model will be borrowed from.

      Deletions:
      nothing yet



      Oldest known version of this page was edited on 2004-01-21 21:40:39 by MiKail []
      Page view:
      nothing yet
    :: ::