script files Created 17 years ago2007-08-05 14:37:49 UTC by DragonFly DragonFly

Created 17 years ago2007-08-05 14:37:49 UTC by DragonFly DragonFly

Posted 17 years ago2007-08-05 14:37:49 UTC Post #231330
how can I include the files such as those found in the "scripts" folder with my map?
Posted 17 years ago2007-08-05 14:47:39 UTC Post #231332
eh?

There are many files in the scripts folder.
Which one are you talking about?
Soundscapes?
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-08-05 15:13:26 UTC Post #231335
Ones percific to the eternal silence mod actauly.
eg
scriptsvehiclesspacevehicle_utf_interceptor.txt
[code]
"utf_interceptor"
{
"printname" "UTF Interceptor"
"model_inches" "models/ships/utf_interceptor.mdl"
"model_meters" "models/ships/utf_interceptor_meters.mdl"
"MaxSpeed" "110"
"BoostSpeed" "170"
// Percent per second
"EnergyRate" "3"
"EnergyPool" "100"
"UseLockOn"		"1"
"TimeToLock"		"2.0"
"MinDotLock"		"0.9925" // cos 7 degree (14 degree spread)
"MinDotLoseLock"	"0.89" // Bigger
"PrimaryAmmo" "1000"
"SecondaryAmmo" "16"
"PrimaryAmmoSprite" "ammo_cannon"
"SecondaryAmmoSprite" "ammo_missile"
"ShieldPoints"  "300"
"ShieldChargeRate" "140"
"ShieldChargeDelay" "4.0f"
"HitPoints"	"475"
"NumGibs"	"0"
"NumSeats"	"1"
"statusicon"	"utf_interceptor"
"sound_doppler"	"Engine.Idle"
"sound_forward"	"Engine.MainThrust"
"sound_back"	"Engine.SideThrust"
"sound_left"	"Engine.SideThrust"
"sound_right"	"Engine.SideThrust"
"sound_up"	"Engine.SideThrust"
"sound_down"	"Engine.SideThrust"
// Degrees per second
"MaxTurnRoll" "75" // Roll
"MaxTurnPitch" "60" // Pitch
"MaxTurnYaw" "60" // Yaw
// Meters per second squared
"AccelX" "60"
"AccelY" "45"
"AccelZ" "45"
// Degrees per second squared
"AngAccelRoll" "90" // Roll
"AngAccelPitch" "300" // Pitch
"AngAccelYaw" "300" // Yaw

"WeaponData"
{
	"pegasus_launcher"
	{
		"locked" "1"
		"nomodel" "1"
		"trigger" "2048" // IN_ATTACK2
		"role"	"0" // VEHICLE_DRIVER
		"attachment" "missile01"
		//"group" "1"
		"stagger_delay" "0.0"
		"ammo_start"	"8"
	}
	"light_cannon"
	{
		"locked" "1"
		"nomodel" "1"
		"trigger" "1" // IN_ATTACK
		"role"	"0" // VEHICLE_DRIVER
		"attachment" "gun01"
		"primary" "1"
	}
	"light_cannon"
	{
		"locked" "1"
		"nomodel" "1"
		"trigger" "1" // IN_ATTACK
		"role"	"0" // VEHICLE_DRIVER
		"attachment" "gun02"
		"primary" "1"
	}
}
"EngineData"
{
	"engine01"
	{
		"Forward" "1"
		"YawRight" "1"
		"Type" "2"
		"Scale" "0.35"
	}
	"engine02"
	{
		"Forward" "1"
		"YawLeft" "1"
		"Type" "2"
		"Scale" "0.35"
	}
	"engine03"
	{
		"Forward" "1"
		"YawRight" "1"
		"Scale" "1.3"
		"Type" "0"
	}
	"engine04"
	{
		"Forward" "1"
		"YawLeft" "1"
		"Scale" "1.3"
		"Type" "0"
	}
	"engine05"
	{
		"Reverse" "1"
		"Scale" "2.5"
		"Type" "0"
	}
	"engine06"
	{
		"Reverse" "1"
		"Scale" "2.5"
		"Type" "0"
	}
}
}
[/code]

I know the entity "info_vehicle_spawn" looks at these script files to get the data on what it's spawning so if I can include custom script files with my map I should also be able to have sutom space vehicles.

These script files are also used by "space_turret" so useing them I could also creat my own capital ship turrets.
You must be logged in to post a response.