May 23, 2012, 02:18:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please report any bugs or issues that you might be encountering with the Beta in the Support System so that we can better keep track of any oustanding issues that may come up.

GameCore Support System
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Using Scripts in Other Projects  (Read 344 times)
Merrie
Full Member
***
Posts: 149



View Profile
« on: July 29, 2009, 10:39:17 PM »

I have a general question and I hope it does not sound too odd. Lets say I wanted to use the camera script from one of the templates in my own project. Whats the best / easiest way to do that?

Thank you!
Logged

+---+---+----+----+----+----+----+----+----+----+----+----+
Vibe GameCore Training Graduate
3D Modeler - 3DS Max, AC3D, Gimp
GameCore Indie, Windows XP Media, Alienware Area 51 7500
gekido
Guest
« Reply #1 on: August 23, 2009, 01:27:56 AM »

copy / paste ?

i guess it depends on what exactly you are trying to do - if the object in question from the source project (the one you want to copy 'from') is using the default character script (as an example), then you probably just want to copy the object's properties (opr) settings into your new project. 

OPR files are simple text files - you can open them in the gamecore script editor and copy all of the ControllerSetting lines into the character from your second (target) project's character opr file.
Logged
Pages: [1]
  Print  
 
Jump to:  

 
Powered by MySQL Powered by PHP bluBlur Skin © 2006, hbSkins
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!