Author Topic: Give more size to asteroids  (Read 1961 times)

0 Members and 1 Guest are viewing this topic.

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Give more size to asteroids
Actually asteroids from MediaVP 3.6.7 and 3.6.8 are beautiful but seem to be a little too tiny for Star Wars universe (remember the asteroid belt in SW: TESB). And so, i decided to modify these asteroid within POF CS 1.x. Unfortunately, during in-game mission, I can't lock any of these asteroid (the biggest size is 4400 meters long) and when they are destroyed (or seem to be destroyed) they just disappear like when a ship warp out without his warp effect.

What's wrong ?

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Give more size to asteroids
Have you altered asteroid.tbl? it handles among other things the explosion radius of the asteroids.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: Give more size to asteroids
I've just modified the asteroid pof filename.

Here the code :

Code: [Select]
#Asteroid Types

$Name: Small Asteroid
$POF file1: asteroid.pof
$POF file2: asteroid.pof
$POF file3: asteroid.pof
$Detail distance: (0, 530, 1580, 2150)
$Max Speed: 130.0
$Expl inner rad: 0.0
$Expl outer rad: 0.0
$Expl damage: 0.0 ;; set to zero for no area effect
$Expl blast: 0.0
$Hitpoints: 850 ;; Note, modified downward by Skill_level

$Name: Medium Asteroid
$POF file1: asteroid03.pof
$POF file2: asteroid03.pof
$POF file3: asteroid03.pof
$Detail distance: (0, 520, 1240, 2400)
$Max Speed: 90.0
$Expl inner rad: 25.0
$Expl outer rad:  75.0
$Expl damage: 20.0 ;; set to zero for no area effect
$Expl blast:      1000.0
$Hitpoints: 66 ;; Note, modified downward by Skill_level

$Name: Large Asteroid
$POF file1: ast01.pof
$POF file2: asta01.pof
$POF file3: astb01.pof
$Detail distance: (0, 585, 1350, 2600)
$Max Speed: 160.0
$Expl inner rad: 100.0
$Expl outer rad: 200.0
$Expl damage: 50.0 ;; set to zero for no area effect
$Expl blast: 3000.0
$Hitpoints: 147 ;; Note, modified downward by Skill_level

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Give more size to asteroids
I mean that if you have too small values in: $Expl inner rad: and Expl outer rad: you might not see the explosions at all. Try setting higher values for those. Though i must admit that i have never altered those values...
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: Give more size to asteroids
I change the explo value, and no result. I still can't target those gigantics asteroids, and when shooting at it, they disappear.  :shaking:

 

Offline aldo_14

  • Gunnery Control
  • 213
Re: Give more size to asteroids
Didn't (at the very beginning of the SCP) Kazan try and add in a super-huge asteroid class (i.e. code for), only to run into problems?

 

Offline Prophet

  • 210
  • The know-it-all
Re: Give more size to asteroids
Well TBP has quite large asteroids and they work fine... Thought it is a bit dumb when a huge chunk of rock greates a huge fiery blast after few shots from a fighter  :rolleyes:
I'm not saying anything. I did not say anything then and I'm not saying anything now. -Dukath
I am not breaking radio silence just cos' you lot got spooked by a dead flying ****ing cow. -Sergeant Harry Wells/Dog Soldiers


Prophet is walking in the deep dark places of the earth...

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Give more size to asteroids
I tried to read from the code what it does with asteroid explosions but as im not too good with that stuff i may have partially missed it, but it seems like game should be using models radius in deciding the size of the explosion (?) and the stuff seems to be hardcoded. Though as im not really a coder these are just rather vague opinions about it.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: Give more size to asteroids
... Thought it is a bit dumb when a huge chunk of rock greates a huge fiery blast after few shots from a fighter  :rolleyes:

I heartily agree.  I also  think that the light that asteroids reflect could be a little more....diffused. You can really tell apart asteroid 'faces' right now, because of the rather stark colouring they show under different lights.
"Do you plunder?"
"I have been known to plunder..."
"I refer ye t' darkstar one, one o' th' newer big budget spacers - it's lack o' variety were bein' insultin', an' th' mechanics weren't polished at all.  Every time a title like wot comes out, it pushes th' return o' th' space shooter genre further down th' sea." - Talk like a pirate day '09
"Hope for the best, expect the worst." -Heinlein

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: Give more size to asteroids
Well, that sort of thing boils down to pixel shading/bumpmapping etc, which isn't implemented in FS2....at the moment at least.

 

Offline aldo_14

  • Gunnery Control
  • 213
Re: Give more size to asteroids
I'd kill for bumpmapping, it seems to make such an improvement to my models when bumpmaps are used for renders (granted, different thing, but still....)

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Give more size to asteroids
You can do quite a bit with shine maps.
-C

  

Offline Unknown Target

  • Get off my lawn!
  • 212
  • Push.Pull?
Re: Give more size to asteroids
A bump-mapped asteroid would be gorgeous...

 

Offline starfox

  • 28
Re: Give more size to asteroids
I remember an episode in Babylon 5, where Sheridan's forces and Clark's loyalists fought very near/around a very large asteroid...
Can't remember excatly what Ep. it was, but it sure was cool.
 :nod:
Rig:
A8N-SLI Premium
AMD 64 X2 4200+
GF 7950 GT
X-FI ExtremeMusic
HEC 550W
2 Gt RAM
Win XP