Author Topic: background MODELS?  (Read 1659 times)

Offline Maxloef

  • STBC Aftermath Co Founder
  • Posts: 493
  • Cookies: 61
background MODELS?
« on: May 09, 2010, 08:22:47 AM »
is it possible to add background MODELS, to a system?

like adding a inverted square with textures on it (like ST Legacy/Armada II) that allign to create a background of nebula and everything?

but adding it in the background so you cant collide with it??

if so would be nice if someone could help me out

Offline Villain

  • Posts: 1480
  • Cookies: 71
  • The artist formerly known as Prime
Re: background MODELS?
« Reply #1 on: May 09, 2010, 09:17:11 AM »
I imagine it'd just be a case of making it something like a ship but a long, long distance away, and big... Would it not? Maybe flagged as a station even?  :idk:


"The design is clearly ancient... Launched hundreds of thousands of years ago."

Quote from: JimmyB76
der-ner-ner-ner-ner ..... der-ner-ner-ner-ner .....
---
Quote from: Rick Sternbach, on the topic of the Galor Class' length
...Probably not, but the number I get(379.6m) could be considered ?original intent,? a term that I think I will be using from now on, and ?canon? be damned.

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: background MODELS?
« Reply #2 on: May 09, 2010, 12:26:16 PM »

but adding it in the background so you cant collide with it??


I think you could either use
Code: [Select]
pProx = pSet.GetProximityManager()
pSet.SetProximityManagerActive(1)
pProx.RemoveObject(pObject)
or
Code: [Select]
App.DamageableObject_Cast(pObject).SetCollisionsOn(0)

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: background MODELS?
« Reply #3 on: May 09, 2010, 02:47:28 PM »
DS9FX does this.

Offline Maxloef

  • STBC Aftermath Co Founder
  • Posts: 493
  • Cookies: 61
Re: background MODELS?
« Reply #4 on: May 09, 2010, 04:18:57 PM »

but adding it in the background so you cant collide with it??


I think you could either use
Code: [Select]
pProx = pSet.GetProximityManager()
pSet.SetProximityManagerActive(1)
pProx.RemoveObject(pObject)
or
Code: [Select]
App.DamageableObject_Cast(pObject).SetCollisionsOn(0)

Could you give an example? like how ud place it in a system

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: background MODELS?
« Reply #5 on: May 09, 2010, 05:24:15 PM »
Code: [Select]
kLocation = App.TGPoint3()
kLocation.SetXYZ(X, Y, Z)
pShip = loadspacehelper.CreateShip("Name1", pSet, "Name2", "kLocation")
App.DamageableObject_Cast(pShip).SetCollisionsOn(0)
pShip.SetStatic(1)
pShip.SetTargetable(0)

Name1 is the name of the ship in the ship script (in Bridge Commander\scripts\ships)
Name2 is an arbitrary name you assign to the ship
and
X,Y and Z are x,y and z coordinates

Offline Maxloef

  • STBC Aftermath Co Founder
  • Posts: 493
  • Cookies: 61
Re: background MODELS?
« Reply #6 on: May 09, 2010, 05:30:24 PM »
thanx gonna try that =]