Author Topic: Question about bombs  (Read 5079 times)

0 Members and 1 Guest are viewing this topic.

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Question about bombs:

Is there a way to encourage the AI to use a weapon to disable and disarm stuff?
I'm thinking of something like the "bomber+" flag that encourages AI to use weapons with it against bombers.

Look at the table entry for the Stiletto.
Gettin' back to dodgin' lasers.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
wouldn't a laser turret for this role be properly considered as a 'point defence turret'?

that would be correct. but i don't see why the same turret couldn't be used against fighters when it is free. its likes the phalanx turrets on us carriers. they can shoot at incoming anti ship missiles just as well as incoming fighters. i don't even go through the trouble of putting blob turrets on my ships, i find a couple extra flak guns makes up for the absence of 12 or so blob turrets. a shotgun or scattering gatling type weapon would be a perfect weapon to have to kill incoming warheads.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
shotgun... me likes. Steve-O made a weapon that does that perfectly. can't remember what it was...
Sig nuked! New one coming soon!

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
also another cool feature is to have turrets armed with both a light, fast firing weapon for hitting bombs and a heavier, slower weapon for hitting fighters and bombers. just a matter of making the ai use the right weapon for the right job.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Look at the ancient weapons in PI.
Gettin' back to dodgin' lasers.

 

Offline --Steve-O--

  • 28
  • I might be the last man on earth to use TS3.2
Re: Question about bombs
i did make a bomb that launches a bunch of dummy bombs that can occupy a ship's turrets long enough so that you can land a real bomb.

damn...you beat me to the Bomber Buddytm idea
not really tm though.
"And so they dwelled in filth, on worlds made of dirt and feces, and there they lay until they stumbled into the skies." --the Mad Prophet

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
Re: Question about bombs
wouldn't a laser turret for this role be properly considered as a 'point defence turret'?

that would be correct. but i don't see why the same turret couldn't be used against fighters when it is free. its likes the phalanx turrets on us carriers. they can shoot at incoming anti ship missiles just as well as incoming fighters. i don't even go through the trouble of putting blob turrets on my ships, i find a couple extra flak guns makes up for the absence of 12 or so blob turrets. a shotgun or scattering gatling type weapon would be a perfect weapon to have to kill incoming warheads.

From what the first post says, I think these turrets are having trouble prioritizing bombs over fighters/bombers.

Regardless, you have the "small_only" flag in there, right? That forces the turret to only attack fighters, bombers, and bombs.

EDIT: That guy who said bombs had 50hp according to the code: Where does it say that in the code? I looked at first in the object.cpp, but it's not exactly easy looking for this stuff.
« Last Edit: May 04, 2008, 12:51:06 pm by thesizzler »

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Question about bombs
See weapons.cpp line 5639 or so...
Do not meddle in the affairs of coders for they are soggy and hard to light

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Question about bombs
it would probibly be a good idea to go over nukemod's weapons. theres tonnes of new flags added since i last updated them, some of which i was waiting to mature. i made alot of weapon models that arent in he last version. i gotta script the rumrunner's gatling turretsto spin when firing. and swap the valhalla's missile turrets with railgun turrets. weapons alone would be a major overhaul.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN