Author |
Message |
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
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
|
Mon Mar 02, 2009 7:05 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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.
|
Mon Mar 02, 2009 7:29 pm |
|
|
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
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.
|
Mon Mar 02, 2009 7:42 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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.
|
Mon Mar 02, 2009 8:03 pm |
|
|
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
Re: Including some things...
I am loading UniTec, but it comes after missions so I can't reference it.
|
Mon Mar 02, 2009 10:12 pm |
|
|
teh somebody
Joined: Sun Aug 31, 2008 5:22 pm Posts: 156 Location: Finland
|
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?
|
Thu Mar 12, 2009 3:30 pm |
|
|
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
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.
|
Thu Mar 12, 2009 7:16 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: Including some things...
You could also make a copy of the zombie cave mission and place it in UniTec.rte, then edit that.
|
Thu Mar 12, 2009 7:58 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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.
|
Thu Mar 12, 2009 9:36 pm |
|
|
zalo
Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
|
Re: Including some things...
Sure you can use includefile.
Just reference to the Index.ini.
Includefile = Unitec.rte/Index.ini or something like that.
|
Fri Mar 13, 2009 11:49 pm |
|
|
Bladecat4
Banned
Joined: Thu Feb 05, 2009 6:39 pm Posts: 413
|
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.
|
Sat Mar 14, 2009 12:03 am |
|
|
|