Home   Help Search Login Register  

Author Topic: Gamelogic positioning problems  (Read 614 times)

0 Members and 1 Guest are viewing this topic.

Ace Productions

  • Guest
Gamelogic positioning problems
« on: 09 Jun 2005, 22:29:11 »
Hi people,

I'm facing a strange problem. I'm trying to create an explosion about 2m above ground using a gamelogic called Target, but the explosion always occurs on the ground.

Effort 1:

Target SetPos [6206.9,6098.3,2]
~0
_shell1B = "Shell73" CamCreate GetPos Target
~0

Effort 2:

Target SetPos [6153,6078.4,5]
~0
_shell2A = "Shell73" CamCreate [GetPos Target Select 0,GetPos Target Select 1,2]
~0

Effort 3:

Target SetPos [6153,6078.4,5]
~0
_shell2A = "Shell73" CamCreate [GetPos Target Select 0,GetPos Target Select 1,(GetPos Target Select 2)+2]
~0

No luck in any case!!! Can anyone please help?  :-[

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Gamelogic positioning problems
« Reply #1 on: 09 Jun 2005, 22:41:37 »
I'm not sure if you can place gamelogics anywhere but on the ground.

At least I think they default to ground or sea level.

But I could be wrong   ::)


Planck
« Last Edit: 09 Jun 2005, 22:42:44 by Planck »
I know a little about a lot, and a lot about a little.

Offline Blanco

  • Former Staff
  • ****
Re:Gamelogic positioning problems
« Reply #2 on: 09 Jun 2005, 22:43:01 »
Hi,

You have to create two explosions at the same spot if you want them to explode in mid-air, otherwise the explosion occurs on the ground.




Search or search or search before you ask.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Gamelogic positioning problems
« Reply #3 on: 09 Jun 2005, 23:15:06 »
Game logics can be placed anywhere

Camcreated shells fall until they hit something then they explode.  Hence Blanco's solution, create two in the same place at the same time - they will therefore hit each other and explode.

Planck:  it is triggers that drop to sealevel if you give them a 'select 2' value of 0
« Last Edit: 09 Jun 2005, 23:36:42 by THobson »

Offline XCess

  • Former Staff
  • ****
Re:Gamelogic positioning problems
« Reply #4 on: 10 Jun 2005, 00:36:50 »
You can always use setDammage on the shells... tis wat i always did.. only one object then.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Gamelogic positioning problems
« Reply #5 on: 10 Jun 2005, 00:41:48 »
Quote
it is triggers that drop to sealevel if you give them a 'select 2' value of 0

Thanks THobson, I got confused in my old age.   ;D


Planck
I know a little about a lot, and a lot about a little.

Ace Productions

  • Guest
Re:Gamelogic positioning problems
« Reply #6 on: 10 Jun 2005, 05:51:13 »
Thanks a lot guys for your replies.

I'll give it a try and solve the topic if everything it's ok.

Thanks again.  :)