Is anyone working on the cruise missile

boneys26

BTS Play session tester
Joined
Nov 24, 2005
Messages
839
Location
Coventry, England
Hi ok I know its a bit cheeky but is anyone working on bringing back the cruise missile? i have try'd to do it but i have no idea what i'm doing. I can edit the xml game files but making a unit i'm just lost to be honest I have not got a clue. if anyone could do it please please do, I would love to have it back
 
Having missile units again would be VERY useful! The Civ experience hasn't been the same without them!
 
Is a unit in the NONE domian more like a Civ II style air unit?
 
well i'm glad to see that I'm not the only one that wants the missile back....lol I really do hope you can do it. I can't understand why fraxis missed it out and just stuck with the IBCM when the cruise missile had more use and is seen to do more damage lol
 
Lord Olleus said:
I think that their is a very easy way for cruise missiles to work. Create a unit with NONE as its domain so that it can go on water and land. Then make it attack normaly but make it commit suicide at the end of combat using th killunits() function in python. Of course there is always the problem of having a model. Maybe a reskin of the ICBM could be used but it would be a bit small.


you would have to have domain as

<Domain>DOMAIN_AIR</Domain>

like the planes. otherwise wouldn't you have to put DOMAIN_IMMOBILE like the ICBM and if you done that then wouldn't you be able to use the cruise missile all round the map. domain_none you wouldn't be able to do anything with it would you? i don't know :sad: lol wish i did.
 
Yeah I made a cruise missile but the way they are handled in the game is not the same as in CIV3. Like you said changing the domain to NONE is the key to get it to travel anywhere. However, due to the way missiles are handled you cannot make it move more than one space at a time(eventhough you can make it bomb anywhere on the map).

In the end I was statisfied with just having the TACICBM and regular ICBM.:cool:
 
Lord Olleus said:
why cant it move more than 1 space with the domain as NONE?
@boneys26
domain AIR makes it like a copter.

no what i mean is if you have domain none then you might as well stick to the ICBM. right? wouldn't you need it to be more like a air unit to get it right as cruise missiles dont travel as far as a ICBM. In any case ICBM's can't move from the city it was built untill used and can't be loaded into a sub my domain air makes it so it can travel over land or water (as it is a air unit any way) like I said i can edit game files but I haven't got a clue about how to make a new unit :(
 
boneys26 said:
no what i mean is if you have domain none then you might as well stick to the ICBM. right? wouldn't you need it to be more like a air unit to get it right as cruise missiles dont travel as far as a ICBM. In any case ICBM's can't move from the city it was built untill used and can't be loaded into a sub my domain air makes it so it can travel over land or water (as it is a air unit any way) like I said i can edit game files but I haven't got a clue about how to make a new unit :(

Making a new unit is not hard at all bud. You should check the tutorial and then ask specific questions here if you get stuck. What you might also want is a missile like the TACICBM that was in the Sevo mod?? That's the one mine is based on. With this one, you can load it onto a sub up to 4 or 5 at a time.
 
RED DIAMOND said:
Making a new unit is not hard at all bud. You should check the tutorial and then ask specific questions here if you get stuck. What you might also want is a missile like the TACICBM that was in the Sevo mod?? That's the one mine is based on. With this one, you can load it onto a sub up to 4 or 5 at a time.


do you have a link for it? as i would love to learn how to do it:blush:
 
Haarbal said:
when i open my vanilla unitinfos.xml file, i see this
Code:
		<UnitInfo>
			<Class>UNITCLASS_GUNSHIP</Class>
			...
			<Domain>DOMAIN_LAND</Domain>
			...

this way, the gunship can move freely over the land, and because of the way the model looks, it's flying.

haarbal


looked it up domain_air for planes and will be for cruise missile. domain_none for ICBM as it doesn't move at all on the map so it doesn't need land/sea/air and this is why it doesn't move to other cities
 
Haarbal said:
when i open my vanilla unitinfos.xml file, i see this
Code:
		<UnitInfo>
			<Class>UNITCLASS_GUNSHIP</Class>
			...
			<Domain>DOMAIN_LAND</Domain>
			...

this way, the gunship can move freely over the land, and because of the way the model looks, it's flying.

haarbal

Right, but changing the Domain to none for the chopper allows it to travel across the ocean.
 
RED DIAMOND said:
Right, but changing the Domain to none for the chopper allows it to travel across the ocean.


yeah Now i got me helicopter on the move on water lol I just worked out why the ICBM won't move to other cities too thanks RED :lol: its domain isn't none it's domain_imobile i was looking above it :crazyeye: :spear:
 
boneys26 said:
yeah Now i got me helicopter on the move on water lol I just worked out why the ICBM won't move to other cities too thanks RED :lol: its domain isn't none it's domain_imobile i was looking above it :crazyeye: :spear:

Excellent bro. Glad to see you got it going. Anything else you need help on editing wise, not python:eek:
 
RED DIAMOND said:
Excellent bro. Glad to see you got it going. Anything else you need help on editing wise, not python:eek:


yeah there is now lmao

just thought i should edit the mech infantry so it carrys land units (marines & the like) edited it from

<UnitAIType>UNITAI_ATTACK</UnitAIType>
<bUnitAI>1</bUnitAI>
<UnitAIType>UNITAI_RESERVE</UnitAIType>

to

<UnitAIType>UNITAI_ESCORT_LAND</UnitAIType>
<bUnitAI>1</bUnitAI>
<UnitAIType>UNITAI_ATTACK</UnitAIType>

and also changed
<DomainCargo>NONE</DomainCargo> to DOMAIN_LAND

its working but each time i boot the game i get a message saying XML error tag initai_escort_land in info class was incorrect

how do i fix this :mischief: :lol:
 
i don't think so. Domain land would mean that it can use roads can takes into account terrain.
There is a boolean tag in the XML that determines whether or not the unit disregards terrain. In other words, the helicopter units have 4 moves, regardless of what the terrain is, whether it is a forest, hills, plains, or if there is a road/railroad. The only exception is mountains that are impassable.
 
Back
Top Bottom