1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2014, 10:00 PM
ArtekXDPL ArtekXDPL is offline
Approved Member
 
Join Date: Oct 2010
Posts: 44
Default One question

Hi. Im have one question. How create enemy group and add this to map?
Reply With Quote
  #2  
Old 02-25-2014, 05:17 AM
Simbal Simbal is offline
Member
 
Join Date: Jul 2013
Posts: 59
Default

On which Game you do want to add enemy Flights into sectors?

Im asking because from star wolves 1 to star wolves 3 its a little different adding those...

Last edited by Simbal; 02-25-2014 at 07:50 PM.
Reply With Quote
  #3  
Old 02-25-2014, 02:51 PM
ArtekXDPL ArtekXDPL is offline
Approved Member
 
Join Date: Oct 2010
Posts: 44
Default

yes. I want to add the enemy ships on the map of the sector in Star Wolves 1

Last edited by ArtekXDPL; 02-27-2014 at 09:46 AM.
Reply With Quote
  #4  
Old 03-02-2014, 09:02 PM
Simbal Simbal is offline
Member
 
Join Date: Jul 2013
Posts: 59
Default

Alright, the File you need to edit is in Scripts > Sector/Level > objects.script

Add These Lines here and Edit them to add an Simple Pirate Flight

Code:
-- FRACTION    |     GROUP        |      ID     |    Spawn XYZ         | Type, Tier-Level
NewPirateFlight("Pirate_Group_1_1", "PirPatrolXX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

--*Please replace the XX with a Unique number
--*Type is the number that controls what type of ship/Ships in that Flight are
--1 = Interceptor(s)
--2 = Bomber(s)
--3 = Flagship
--*Groups are defined in the Declare.script file which is too in each Sector/Level Folder
--*Tier-Level is the number that controls what Ship Tier and Equipment Tier is
--The higher the number, The better the Ship and Equipment

--To Assign the Flight to do something, like Patrolling:

--       ID    |   TASK |  Waypoint 1       |   Waypoint 2        |  Waypoint 3     |  Waypoint 4   |    Waypoint 5    |      Waypoint 6     |    Waypoint 7
flight_PirPatrolXX:Patrol({Vector3(800,-10,-100),Vector3(300,0,100),Vector3(0,10,-100),Vector3(0,20,-300),Vector3(300,0,-700),Vector3(500,0,-700),Vector3(0, 20, 40)}, TRUE);
Templates for some (Not All) Other Flights

InoCo
NewInoCoFlight("GROUP, "Ino_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Triada
NewTriadaFlight("GROUP", "TriXX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

USS
NewUSSFlight("GROUP", "UssXX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Alien
NewAlienFlight("GROUP", "ali_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Navy
NewNavyFlight("GROUP", "Navy_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Berserker
NewBerserkFlight("GROUP", "Bers_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Patrol
NewPatrolFlight("GROUP", "Pat_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Good Luck!

Last edited by Simbal; 04-21-2014 at 09:11 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

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 Off

Forum Jump


All times are GMT. The time now is 08:13 AM.

Based on a design by: Miner Skinz.com

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.