View unanswered posts | View active topics It is currently Thu Dec 26, 2024 3:29 pm



Reply to topic  [ 11 posts ] 
 Including some things... 
Author Message
Banned
User avatar

Joined: Thu Feb 05, 2009 6:39 pm
Posts: 413
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
Banned
User avatar

Joined: Thu Feb 05, 2009 6:39 pm
Posts: 413
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
Banned
User avatar

Joined: Thu Feb 05, 2009 6:39 pm
Posts: 413
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Aug 31, 2008 5:22 pm
Posts: 156
Location: Finland
Reply with quote
Post 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
Profile
Banned
User avatar

Joined: Thu Feb 05, 2009 6:39 pm
Posts: 413
Reply with quote
Post 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
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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
Profile WWW

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post 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
Profile WWW
Banned
User avatar

Joined: Thu Feb 05, 2009 6:39 pm
Posts: 413
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.037s | 15 Queries | GZIP : Off ]