Also, another smaller thing: is there any way to have a special weapon that spawns rienforcements at your position? Like a rallying call?
Nighttime for another mode / crazy special weapon
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
Nighttime for another mode / crazy special weapon
I'm working on Kashyyyk, and it occured to me that it would be great if I could have it the same (daytime, slightly misty) for XL mode, then have it a clear nighttime for Hunt mode (complete with Republic walkers
). I hope it's possible.
Also, another smaller thing: is there any way to have a special weapon that spawns rienforcements at your position? Like a rallying call?
Also, another smaller thing: is there any way to have a special weapon that spawns rienforcements at your position? Like a rallying call?
-
xwingguy
RE: Nighttime for another mode / crazy special weapon
you can have 2 different skys and then call it in lua depending on the mode. You would also need 2 separate lighting layers.
you can't make things spawn just anywhere, there must be a spawn path. but you can make ai spawn on call with a weapon
you can't make things spawn just anywhere, there must be a spawn path. but you can make ai spawn on call with a weapon
- 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
Re: RE: Nighttime for another mode / crazy special weapon
Cool! Thanks.xwingguy wrote:you can have 2 different skys and then call it in lua depending on the mode. You would also need 2 separate lighting layers.
Okay, how about this: can you have spawn paths FOLLOW you, like a command vehicle? I wouldn't want the AI to use them regularly - only for when one would use the weapon. Anyway, the point is, could I do that for an actual unit instead of vehicle? Oh, and then how would one go about calling AI to spawn on those paths with a weapon (assuming this is possible).xwingguy wrote:you can't make things spawn just anywhere, there must be a spawn path. but you can make ai spawn on call with a weapon
-
Adreniline
- Command Sergeant Major

- Posts: 290
- Joined: Fri Oct 28, 2005 8:24 pm
- Projects :: No Mod project currently.
- xbox live or psn: XTIndie
- Location: Coffee Centre of the World
- Contact:
-
xwingguy
- 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
I looked over a mobile command post ODF, namely the AT - TE, and unfortunately, it has no name for the spawns. This is what I found:
SpawnPointCount = "6"
SpawnPointLocation = "-6.0 0.0 4.0 0"
SpawnPointLocation = "6.0 0.0 4.0 0"
SpawnPointLocation = "-7.0 0.0 0.0 0"
SpawnPointLocation = "7.0 0.0 0.0 0"
SpawnPointLocation = "-6.0 0.0 -4.0 0"
SpawnPointLocation = "6.0 0.0 -4.0 0"
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_ATK_Locals = 0
Value_DEF_Alliance = 0
Value_DEF_CIS = 0
Value_DEF_Empire = 0
Value_DEF_Republic = 0
Value_DEF_Locals = 0
HUDIndexDisplay = 0
So I guess a special weapon to call rienforcements is out, but I might try just having the hero be a mobile spawn point rofl!
SpawnPointCount = "6"
SpawnPointLocation = "-6.0 0.0 4.0 0"
SpawnPointLocation = "6.0 0.0 4.0 0"
SpawnPointLocation = "-7.0 0.0 0.0 0"
SpawnPointLocation = "7.0 0.0 0.0 0"
SpawnPointLocation = "-6.0 0.0 -4.0 0"
SpawnPointLocation = "6.0 0.0 -4.0 0"
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_ATK_Locals = 0
Value_DEF_Alliance = 0
Value_DEF_CIS = 0
Value_DEF_Empire = 0
Value_DEF_Republic = 0
Value_DEF_Locals = 0
HUDIndexDisplay = 0
So I guess a special weapon to call rienforcements is out, but I might try just having the hero be a mobile spawn point rofl!
- 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
- Karnage
- Commander Randomtoast
- Posts: 947
- Joined: Sun Oct 23, 2005 9:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Wherever there is shenanigannery.
- Karnage
- Commander Randomtoast
- Posts: 947
- Joined: Sun Oct 23, 2005 9:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Wherever there is shenanigannery.
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
- 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
-
Big_rich
so has anyone tried putting command in front of soldier? I might just have to try that, of course you'd need the spawn stuff in the odf..
And as far as commandwalkers it's pretty simple. The stuff in red control how many ai spawn and at what location they spawn at. And for that matter allows you to spawn at it also. Notice it has six spawnpointlocation and 6 spawnpoints. SO if you need more you will need to add both locations and counts. Bleed amount are how fast this will take down the enimies reinforcements if spawned. Also you will have to set a memory pool for command walker in your lua or it wont work. You can also make buildings spawnable, with commandbuilding, again need the spawn stuff and a memory pool.
SpawnPointCount = "6"
SpawnPointLocation = "-6.0 0.0 4.0 0"
SpawnPointLocation = "6.0 0.0 4.0 0"
SpawnPointLocation = "-7.0 0.0 0.0 0"
SpawnPointLocation = "7.0 0.0 0.0 0"
SpawnPointLocation = "-6.0 0.0 -4.0 0"
SpawnPointLocation = "6.0 0.0 -4.0 0"
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_ATK_Locals = 0
Value_DEF_Alliance = 0
Value_DEF_CIS = 0
Value_DEF_Empire = 0
Value_DEF_Republic = 0
Value_DEF_Locals = 0
HUDIndexDisplay = 0
also need to add "legs" to your lua, it kinda shows you how in the lua itself.
And as far as commandwalkers it's pretty simple. The stuff in red control how many ai spawn and at what location they spawn at. And for that matter allows you to spawn at it also. Notice it has six spawnpointlocation and 6 spawnpoints. SO if you need more you will need to add both locations and counts. Bleed amount are how fast this will take down the enimies reinforcements if spawned. Also you will have to set a memory pool for command walker in your lua or it wont work. You can also make buildings spawnable, with commandbuilding, again need the spawn stuff and a memory pool.
SpawnPointCount = "6"
SpawnPointLocation = "-6.0 0.0 4.0 0"
SpawnPointLocation = "6.0 0.0 4.0 0"
SpawnPointLocation = "-7.0 0.0 0.0 0"
SpawnPointLocation = "7.0 0.0 0.0 0"
SpawnPointLocation = "-6.0 0.0 -4.0 0"
SpawnPointLocation = "6.0 0.0 -4.0 0"
AllyCount = 65536
Radius = 0.0
ValueBleed = 10
Value_ATK_Alliance = 10
Value_ATK_CIS = 10
Value_ATK_Empire = 10
Value_ATK_Republic = 10
Value_ATK_Locals = 0
Value_DEF_Alliance = 0
Value_DEF_CIS = 0
Value_DEF_Empire = 0
Value_DEF_Republic = 0
Value_DEF_Locals = 0
HUDIndexDisplay = 0
also need to add "legs" to your lua, it kinda shows you how in the lua itself.
-
xwingguy
Wanna bet?
yeah you can have different skies, you just have to set the sky system up like a space map.
in space maps, you call the the sky in the lua like so:
basically what ya got to do is take all the msh, .msh.option, .tga, and .tga.option that has to do with the sky in the world1 folder and pour it into the msh folder.
copy the sky folder in the space_template and put it in the world1 folder.
replace the contents of one of the sky files in the sky folder with the information of one of your skys and do the same with the other
call it in the lua
in space maps, you call the the sky in the lua like so:
Code: Select all
ReadDataFile("dc:TST\\spa_sky.lvl", "fel")copy the sky folder in the space_template and put it in the world1 folder.
replace the contents of one of the sky files in the sky folder with the information of one of your skys and do the same with the other
call it in the lua
- [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: Wanna bet?
This is how you force spawn a unit:
You need a player object and a path point. To get a path point, you need a path name and the number of a node on the path.
Code: Select all
SpawnCharacter(player, GetPathPoint(path, node))-
xwingguy
RE: Wanna bet?
My question:
HOW THE **** DOES ONE FORCE A SPAWN ON A MOBILE COMMANDPOST SINCE THE PATH NAME DOESN'T SEEM TO BE DIRECTLY MENTIONED ANYWHERE?
sorry about that....it's just been bothering me for weeks.
HOW THE **** DOES ONE FORCE A SPAWN ON A MOBILE COMMANDPOST SINCE THE PATH NAME DOESN'T SEEM TO BE DIRECTLY MENTIONED ANYWHERE?
sorry about that....it's just been bothering me for weeks.
- 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
RE: Wanna bet?
Yay! It worked xwingguy! Thanks! Oh, and btw, you put the sky folder in the ABC folder, not the world 1 folder
.
And to zerted, that's awsome, but not for mobile spawn points. And I don't think there is any way to make a soldier a commandsoldier lol (unless someone knows how).
Edit: Heh, good question, xwingguy. I was just hoping that there was some way to slap on mobile spawn points to a unit. That would be one awsome hero for the CIS (especially when I give him infinate rallies w/cooldown).
Edit2: The stars aren't appearing :evil: . I'm using the Naboo sky file, and there is nothing. I looked under PC of the Stars section, and no file was refrenced....
And to zerted, that's awsome, but not for mobile spawn points. And I don't think there is any way to make a soldier a commandsoldier lol (unless someone knows how).
Edit: Heh, good question, xwingguy. I was just hoping that there was some way to slap on mobile spawn points to a unit. That would be one awsome hero for the CIS (especially when I give him infinate rallies w/cooldown).
Edit2: The stars aren't appearing :evil: . I'm using the Naboo sky file, and there is nothing. I looked under PC of the Stars section, and no file was refrenced....
-
t551
- General

- Posts: 791
- Joined: Sat Jul 16, 2005 3:23 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Wanna bet?
The name of the path may be the name of the instance of the vehicle that has the spawn points (if different instances of a vehicle have a different name in the engine).
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
- 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
I figured as much. I wonder if there's a way to create a new class label from scratch that could support playable units...?Syth wrote:You cant make a unit a mobile command post unless you make that unit a vehicle. It has to do with the "ClassLabel". To make a unit spawn guys it must have a class label that allows that, like the "commandwalker" label.
