More special weapon ideas that I need help with
Moderator: Moderators
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
More special weapon ideas that I need help with
*Is it possible to dispense a soldier? I've seen it done with turrets. I mean, there has got to be some way to have a hero be able to "rienforce" himself with more units - that would be so great!
*Has anyone been able to get orbital strike to work in BFII yet and released source files? Cause I can't seem to get mine to work. Also, though, I would like to know how to control the radius/area of the striking (cause I want one with several small ordinaces hitting the ground in a larger area).
*Has anyone been able to get orbital strike to work in BFII yet and released source files? Cause I can't seem to get mine to work. Also, though, I would like to know how to control the radius/area of the striking (cause I want one with several small ordinaces hitting the ground in a larger area).
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
RE: More special weapon ideas that I need help with
1: not possible
2: possible and done by me, not released, you can control where they hit, when they hit, and how many hit.
2: possible and done by me, not released, you can control where they hit, when they hit, and how many hit.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
RE: More special weapon ideas that I need help with
1) It is only known how to spawn units at path nodes. You can have a hero spawn troops, but they would have to spawn on a path.
2)When are you going to release the source Penguin?
2)When are you going to release the source Penguin?
-
sawyerdk9
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
How do you do it?
I kind of want to make my own.
did you just replace the ordinance of say, the timebomb with the orbital attack? or is there more to it?
Last edited by Hebes24 on Sun Sep 10, 2006 4:17 pm, edited 1 time in total.
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
Well, first you need something to give the strike a target. The only two ways I know how to do this (there are undoubtedly more) are to a) place a beacon and b) have a remote object sit there and get blown away by it (a la BFI). Let's say you want to shoot a beacon from a gun. The gun would just be a gun, with a custom ordinance that you make. The ordinance must be ClassLabel = "beacon". No matter what geometry, speed, etc. you give it, it must have these lines in it:
AimAzimuth = "0.0"
AimElevation = "70.0"
AimDistance = "6000.0"
SalvoCount = "4"
SalvoDelay = "0.25"
ScatterDistance = "15.0"
OrdnanceName = "blahblahblah_ord"
The three aim lines are for designating where the strike ordinance will origionate. Salvo count = how many ordinances will be shot, and the SalvoDelay will be how quickly then next strike ordinance will fire after the last one. Scatter distance = how far away from the beacon you want ordinance to deviate (useful for having more than 1 ordiancne so that you can cover an area). Then the ordinance you refrence from this file is what will be shot as an orbital strike, which can be anything you want - bolts, missiles, cows, etc.
The only thing I'm trying to figure out is how to get the delay between placing the beacon and the salvo shorter. Haven't figured that out yet.
EDIT: Figured it out! It's the lifespan of your beacon. The longer it is, the longer the delay between placing the beacon and BOOMZ!
AimAzimuth = "0.0"
AimElevation = "70.0"
AimDistance = "6000.0"
SalvoCount = "4"
SalvoDelay = "0.25"
ScatterDistance = "15.0"
OrdnanceName = "blahblahblah_ord"
The three aim lines are for designating where the strike ordinance will origionate. Salvo count = how many ordinances will be shot, and the SalvoDelay will be how quickly then next strike ordinance will fire after the last one. Scatter distance = how far away from the beacon you want ordinance to deviate (useful for having more than 1 ordiancne so that you can cover an area). Then the ordinance you refrence from this file is what will be shot as an orbital strike, which can be anything you want - bolts, missiles, cows, etc.
The only thing I'm trying to figure out is how to get the delay between placing the beacon and the salvo shorter. Haven't figured that out yet.
EDIT: Figured it out! It's the lifespan of your beacon. The longer it is, the longer the delay between placing the beacon and BOOMZ!
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Originally I was going to have the new Commander class have what you might call an "Ion Painter" a la UT 2004. Basically it sends a laser sight out (in our case a very thin, red beam) when fired, and once that ordnance hits something, it calls the Orbital Strike. I still might go there as everyone seems to have this curiosity about it.
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
Yeah, right now I'm trying to get it on a grenade launcher. (grenade as beacon). but It hasn't worked so far.
here's the odfs:
all_weap_inf_orbital_attack_launcher:
P.S. Sorry if I'm Hijacking this thread.
@ Teancum - I think the Ion Painter would be cool. (weren't you planning it for the Bf1 pack 2.0? )
here's the odfs:
all_weap_inf_orbital_attack_launcher:
all_weap_inf_orbital_attack_launcher_ord:[WeaponClass]
ClassParent = "com_weap_inf_mortar_launcher"
[Properties]
GeometryName = "com_weap_inf_torpedo"
HighResGeometry = "com_1st_weap_inf_torpedo"
//***************************************************
//***************************************************
//******************** SOUND ************************
//***************************************************
FireSound = "imp_weap_inf_mortar_launcher_fire"
ReloadSound = "com_weap_inf_reload_lg"
ChangeModeSound = "com_weap_inf_equip_lg"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_lg"
JumpSound = "com_weap_inf_bazooka_mvt_jump"
LandSound = "com_weap_inf_bazooka_mvt_land"
RollSound = "com_weap_inf_bazooka_mvt_roll"
//ProneSound = "com_weap_inf_bazooka_mvt_lie"
SquatSound = "com_weap_inf_bazooka_mvt_squat"
//StandSound = "com_weap_inf_bazooka_mvt_getup"
//***************************************************
//************** VARIABLE ORDANANCE *****************
//***************************************************
OrdnanceName = "all_weap_inf_orbital_attack_launcher_ord"
Did I do anything wrong?[OrdnanceClass]
ClassParent = "com_weap_inf_mortar_launcher_ord"
classLabel = "beacon"
[Properties]
GeometryName = "com_weap_inf_grenadethermal_ord"
TrailEffect = "com_sfx_weap_grenade_red"
LightColor = "253 43 43 150"
LightRadius = "4.0"
Lifespan = "1.0"
AimAzimuth = "0.0"
AimElevation = "70.0"
AimDistance = "6000.0"
SalvoCount = "4"
SalvoDelay = "0.25"
ScatterDistance = "15.0"
OrdnanceName = "all_weap_inf_orbital_attack_salvo_ord"
P.S. Sorry if I'm Hijacking this thread.
@ Teancum - I think the Ion Painter would be cool. (weren't you planning it for the Bf1 pack 2.0? )
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
No problem, I've already got orbital strikes working now.
Right off, I see a big problem: your ordinance is drawing information from a common file that is NOT a beacon. Somply delete the ClassParent = "com_weap_inf_mortar_launcher_ord", and define things like gravity, speed, etc. yourself (in the same file). Beacons shouldn't have any explosions refrenced for it, either - only ordinance.
Right off, I see a big problem: your ordinance is drawing information from a common file that is NOT a beacon. Somply delete the ClassParent = "com_weap_inf_mortar_launcher_ord", and define things like gravity, speed, etc. yourself (in the same file). Beacons shouldn't have any explosions refrenced for it, either - only ordinance.
-
Hebes24
- Sith Master

- Posts: 2594
- Joined: Sat Jun 03, 2006 5:15 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: In An Epic Space Battle!
- Contact:
I see. But it is still not working. the weapon launches fine, but the orbital attack never happens. Is the lifespan in seconds? 
updated ordinance odf:
updated ordinance odf:
[OrdnanceClass]
ClassLabel = "beacon"
[Properties]
GeometryName = "com_weap_inf_grenadethermal_ord"
TrailEffect = "com_sfx_weap_grenade_red"
Velocity = "40.0"
Gravity = "1.75"
Rebound = "0.35"
Friction = "1.0"
LifeSpan = "5.0"
LightColor = "253 43 43 150"
LightRadius = "4.0"
AimAzimuth = "0.0"
AimElevation = "70.0"
AimDistance = "6000.0"
SalvoCount = "4"
SalvoDelay = "0.25"
ScatterDistance = "15.0"
OrdnanceName = "all_weap_inf_orbital_attack_salvo_ord"
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
No I thinks that its in minutes, so 5.0 would be five minutes! Also you don't have an explosion file set up so even if it did happen then you wouldn't see it and nothing would happen.
Last edited by Darth_Z13 on Sun Sep 10, 2006 5:41 pm, edited 1 time in total.
