.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: Starfury

Reply
 
Thread Tools Display Modes
  #1  
Old May 9th, 2006, 05:30 PM

Lancefighter Lancefighter is offline
Private
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Lancefighter is on a distinguished road
Default Torpedo with ammo

Im trying to make a torpedo with ammo constraights, but i cannot find the fighter AI. i can get the fighter bay to be a weapon, but i cannot seem to figre out where in the AI file is how to make the fighter fly into stuff. would that be under terran AI, or is there a fighter Ai somewhere that i cant find?
Reply With Quote
  #2  
Old May 12th, 2006, 11:44 AM

Campeador Campeador is offline
Corporal
 
Join Date: Feb 2004
Location: Ohio
Posts: 126
Thanks: 0
Thanked 19 Times in 19 Posts
Campeador is on a distinguished road
Default Re: Torpedo with ammo

I am not sure that I understand what you are trying to do "a torpedo with ammo constraights" but maybe this helps some.
On the 'Enemies.txt' page there is an entry that every ship has including the fighters. There are three lines that are what you are looking for: 'Response Range' and two 'AI Script Name...' lines. That will take you to the �Main_AI_Script.txt' where the behavior of the ships can be "influence". The thing is that even thought you may be able to change the pattern which the fighter follows, it is very restrictive. For example this was discussed before when someone was trying to make fighters collide with ships.
'How to make the fighter fly into stuff', the 'fighter bay' on the "components" file has a line that reads: "Effect 1 Type: = Launches / Recovers Fighters". How can you make the "effects" do your bidding, I do not know... for the moment.
Reply With Quote
  #3  
Old May 12th, 2006, 11:48 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Torpedo with ammo

The idea, is to have the fighters be your ammo.

You launch one, and the fighter AI is tweaked so that it chases and rams into the nearest enemy.
Reply With Quote
  #4  
Old May 13th, 2006, 10:10 AM

Lancefighter Lancefighter is offline
Private
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Lancefighter is on a distinguished road
Default Re: Torpedo with ammo

yes-what suicide said about the fighters. i thought about this-and then realised that other ships would also shoot at me with them-and then all fighteres would be kamakasi fighters. that is what i am going fo , but then i will have to change the fighterbay use. ill look into what you said campeador, thanks
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.