Classes -1 reply

  • 1
  • 2

Please wait...

Guest

I didn't make it!

0 XP

 
#1 13 years ago

Can you create new classes of object (Eg, a sun class)? And if so, how?




reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#2 13 years ago

sure? why couldnt you? just make an odf just like the object you want and change the sod




Guest

I didn't make it!

0 XP

 
#3 13 years ago

So, could I crate a sun class then a resource similar to that of a planet, and then make the red suns minable? edit: contents of msun.odf: [GameObjectClass] classLabel = "sun_obj" unitName = "Sun" contents of msun3.odf: [GameObjectClass] classLabel = "sun_obj" unitName = "Sun1" ambientSound = "msun_am.wav" ambientMinimumFactor = 1 ambientMaximumFactor = 1 //avoid this object avoidMe = 0 avoidanceClass = 0 resource = "ResourceSun" //************************************************************ // Tara additions for context sensitive menus spatial_object = 1 has_resource = 1 contents of ResourceSun.odf: canHaveOrbitalStation = 0 //amtMetal = 12000 amtMetal = 90000 // rate at which metal is mined miningRate = 5 // Trickles once gets under 100 trickleAmount = 100 trickleMiningRateFraction = .2 What am I doing wrong?




superknijn

You guys rule!

50 XP

5th March 2004

0 Uploads

220 Posts

0 Threads

#4 13 years ago

I thought you couldn't create new class labels?

You are now linking to a classlabel that doesn't exists, that's why.




Atlantis

The Confused Vorlon

50 XP

2nd November 2002

0 Uploads

307 Posts

0 Threads

#5 13 years ago

No, you can't make new classlabels.




The Joelteon7

The cake is a lie.There is no cake.

50 XP

13th November 2004

0 Uploads

3,926 Posts

0 Threads

#6 13 years ago

well, you can't make new ones...just edit previous ones...for example,in my mod (this is'nt a plug, don't worry) I take say the BoP's disruptors, copy, rename the files for the weapons and change it that way, you'd have to make an original sun have something similar i'm guessing, but this is one of those things that I don't think anybody has looked upon, probably cause you can't mine suns...but nevertheless a very imaginative concept :)




Atlantis

The Confused Vorlon

50 XP

2nd November 2002

0 Uploads

307 Posts

0 Threads

#7 13 years ago

Huh? Yeah you can edit files and objects, but you can't edit or create the classlabel definitions themselves, it's all hardcoded.

For a mineable star, just copy-paste the dilithium moon and change the model, easy.




reaper617

Only in death does duty end

50 XP

25th September 2007

0 Uploads

367 Posts

0 Threads

#8 13 years ago

isnt that what i said to do?




Atlantis

The Confused Vorlon

50 XP

2nd November 2002

0 Uploads

307 Posts

0 Threads

#9 13 years ago

No. You said you could create new classlabels.




The Joelteon7

The cake is a lie.There is no cake.

50 XP

13th November 2004

0 Uploads

3,926 Posts

0 Threads

#10 13 years ago

LOL..too complicated for me...that seems right though...just do what atlantis said, then you could change the name for the model to be a sun...or something...errrm, I dunno...good luck whatever!




  • 1
  • 2