View Single Post
  #6  
Old 04-27-2011, 07:40 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
CoD possible Damage Types are:
Great you have found this out. I need some help with a script to destroy bots in online missions.

There are 2 issues with online currently:

1) when a player exits a plane AI takes control resulting in too many AI flying around at a server. There is a script to destroy AI after player exit http://forum.1cpublishing.eu/showpos...5&postcount=16
the problem with this script is that if a player exits while under attack his plane would disappear making the attacker very disappointed. Discussion is here http://forum.1cpublishing.eu/showthr...t=21518&page=3

Possible solution: damage an aircraft upon player exit to make it fall down and destroy it later in 10 minutes after it hits the ground.

2) When AI bombers are scripted to reappear on a server as time goes by the server can become very crowded with AI bombers making it unplayable. Mission example http://forum.1cpublishing.eu/showpos...8&postcount=24

The solution would be to damage AI bombers one by one (with 1-2 min intervals) in 15-25 minutes after their last waypoint. OnTaskCompleted()? Then when they fall down destroy them in 10 minutes.

Ideally damage applied to aircraft should be different (say 10 different types of damage) but deadly enough to make aircraft fall down in 1-3 minutes.

If you can make such a script it would be very useful for community I think. Anyway any advice on how to do it would be appreciated as I am not familiar with C#

You are welcome to join our discussion here if you are interested http://forum.1cpublishing.eu/showthr...t=21518&page=4

Last edited by Ataros; 04-27-2011 at 07:44 AM.
Reply With Quote