Data Realms Fan Forums http://868000.nnhp.asia/ |
|
Including some things... http://868000.nnhp.asia/viewtopic.php?f=73&t=13848 |
Page 1 of 1 |
Author: | Bladecat4 [ Mon Mar 02, 2009 7:05 pm ] |
Post subject: | Including some things... |
Is there any way to make missions.rte include certain people without them being buyable in the module? I wanna put some Unitec units into zombie cave.lua |
Author: | Duh102 [ Mon Mar 02, 2009 7:29 pm ] |
Post subject: | Re: Including some things... |
I happen to know you use a mac, so you could try the new method of calling actors and weapons. Where normally you would put "CopyOf = Dummy" or whatever, use "CopyOf = UniTec/ACTOR" Where ACTOR is the name of the actor you want to use. If referencing now works as it looks to in Missions.rte/Acitivites.ini, that should work. Otherwise, you'll have to load unitec in missions.rte/index.ini before you try to call stuff from it. |
Author: | Bladecat4 [ Mon Mar 02, 2009 7:42 pm ] |
Post subject: | Re: Including some things... |
Number 1, you read from my sig. Number 2, thank you. Number 3, it doesn't work. I can't even includefile because it means hunting down the effects of Unitec and going on a hunt I'm sure will wind up with the integration of the entire mod. |
Author: | Duh102 [ Mon Mar 02, 2009 8:03 pm ] |
Post subject: | Re: Including some things... |
Bladecat4 wrote: Number 1, you read from my sig. Oh yeah... Smart moment there. Bladecat4 wrote: I can't even includefile because it means hunting down the effects of Unitec and going on a hunt I'm sure will wind up with the integration of the entire mod. Wait, you're not loading UniTec at all? Then it definitely won't work. You have to load UniTec at some point to use stuff from it. Might as well do it in the Zombie Cave scene definition if you want to use it in the mission. To reduce bloat you could comment out the parts not specifically needed, like if you only want the standard actors, turrets, Doom, etc. |
Author: | Bladecat4 [ Mon Mar 02, 2009 10:12 pm ] |
Post subject: | Re: Including some things... |
I am loading UniTec, but it comes after missions so I can't reference it. |
Author: | teh somebody [ Thu Mar 12, 2009 3:30 pm ] |
Post subject: | Re: Including some things... |
Shouldn't you be able to modifly to the mission.rte or base.rte index.ini so it would load Uni Tech first? |
Author: | Bladecat4 [ Thu Mar 12, 2009 7:16 pm ] |
Post subject: | Re: Including some things... |
Yes, but then a module would appear in the buy menu with the unitec actors for sale. It would say missions. and it would suck. |
Author: | Duh102 [ Thu Mar 12, 2009 7:58 pm ] |
Post subject: | Re: Including some things... |
You could also make a copy of the zombie cave mission and place it in UniTec.rte, then edit that. |
Author: | Geti [ Thu Mar 12, 2009 9:36 pm ] |
Post subject: | Re: Including some things... |
you can spawn things in lua from anywhere as long as they are loaded, because the lua script is loaded when you start the scene, not when you load the game. look at some examples in the scene releases forum for how to place things in lua, but you can do it without editing anything besides the script. put unitech guys into the lua script by all means. |
Author: | zalo [ Fri Mar 13, 2009 11:49 pm ] |
Post subject: | Re: Including some things... |
Sure you can use includefile. Just reference to the Index.ini. Includefile = Unitec.rte/Index.ini or something like that. |
Author: | Bladecat4 [ Sat Mar 14, 2009 12:03 am ] |
Post subject: | Re: Including some things... |
But that makes the whole thing buyale through missions.rte. I don't care anymore, so thanks anyway, but this topic = closed. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |