View unanswered posts | View active topics It is currently Mon Dec 30, 2024 11:47 pm



Reply to topic  [ 11 posts ] 
 TDExplosives 
Author Message
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post TDExplosives
Hi everyone, just a quick question

For some reason, when I tried to make a TDExplosive emit a bunker module, and I typed:

AddParticles = TerrainObject
CopyOf = Bunker Module Template

It says that terrainobject is an unallocatable object
any ideas why? :sad:


Wed May 14, 2008 9:58 pm
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: TDExplosives
TerrainObjects are a special type of object that can only be used in the Scene code. You can't use them as arguments for anything else. I'd recommend making a MOSRotating with a low RestThreshold instead. That way it will automatically turn into terrain. You currently can't spawn TerrainObjects directly into the game yet.


Wed May 14, 2008 10:11 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: TDExplosives
Thanks a bunch Lord Tim!


Wed May 14, 2008 10:16 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: TDExplosives
BTW, how do make an object that freezes in mid-air, never moving at all?


Wed May 14, 2008 10:27 pm
Profile
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post Re: TDExplosives
The Mind wrote:
BTW, how do make an object that freezes in mid-air, never moving at all?

PinStrength = 9999999999


Wed May 14, 2008 10:42 pm
Profile YIM
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: TDExplosives
Thx for informing me, but is it only for an AEmitter?

If not, then what line do you put it at


Wed May 14, 2008 10:44 pm
Profile
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: TDExplosives
The Mind wrote:
Thx for informing me, but is it only for an AEmitter?

No.
Code:
AddActor = AHuman
   InstanceName = Option Module
   AddToGroup = Robots
   AddToGroup = AAL Units
   PinStrength = 6000000

Place it after the AddToGroup codes.
(Copied it from AAL INIS. Best examples yet.)


Wed May 14, 2008 11:26 pm
Profile
User avatar

Joined: Sun Oct 29, 2006 4:26 am
Posts: 298
Reply with quote
Post Re: TDExplosives
The Mind wrote:
Thx for informing me, but is it only for an AEmitter?

If not, then what line do you put it at


Anywhere in the body of the declaration, pretty much. Write it right under InstanceName if you want to be sure. Also, PinStrength of like 50 is perfectly strong enough to hold anything.

However, this won't work if you want to make something into terrain. If it's pinned, it won't interact like dirt will.


Wed May 14, 2008 11:28 pm
Profile YIM
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: TDExplosives
Djinn wrote:
The Mind wrote:
Thx for informing me, but is it only for an AEmitter?

If not, then what line do you put it at


Anywhere in the body of the declaration, pretty much. Write it right under InstanceName if you want to be sure. Also, PinStrength of like 50 is perfectly strong enough to hold anything.

However, this won't work if you want to make something into terrain. If it's pinned, it won't interact like dirt will.


Yeah but with the right restthreshold it will become terrain pretty quickly.


Thu May 15, 2008 2:04 am
Profile
User avatar

Joined: Sun Oct 29, 2006 4:26 am
Posts: 298
Reply with quote
Post Re: TDExplosives
Azukki wrote:
Yeah but with the right restthreshold it will become terrain pretty quickly.


Oh, does it actually? I've been trying to get it to do that forever but in multiple tests it didn't look that way. Maybe it's changed since last version, thanks for the heads up.


Thu May 15, 2008 2:37 am
Profile YIM
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: TDExplosives
Oops, my mistake, sorry.


Thu May 15, 2008 3:00 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.027s | 13 Queries | GZIP : Off ]