Quick ? about death regions.
Moderator: Moderators
Quick ? about death regions.
To add a death region i just need to add a region and name it "Deathregion1" (without quotes) and then Deathregion2, ect. right?
i think the deathregion is already in the .req but i gotta check b.c im sure that has to be in there.
i think the deathregion is already in the .req but i gotta check b.c im sure that has to be in there.
- 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
RE: Quick ? about death regions.
use damageregions -- they don't have to be set up in the LUA at all --- just make the damage 5000 and it will kill anything.
RE: Quick ? about death regions.
how do i make thoughs
wouldn't it just be easier to make deathregions. im sure i can do it. im getting very familiar with the LUA scripts. plus i dont know how to make damage higher.
so which should i do? death regions or damageregions? how do i add either or?
EDIT: oh found it. i gotta add AddDeathRegion("deathregion") under some line in the conquest LUA script. i just looked at Mustafar's conquest script as reference.
i just got one question. do i have to do AddDeathRegion("deathregion")
then AddDeathRegion("deathregion2")
AddDeathRegion("deathregion3")
ect...... or just deathregion and thats it like this: AddDeathRegion("deathregion")
????????????
EDIT #2: i just looked at other scripts too and confirmed the place and also i just right it once like this AddDeathRegion("deathregion")
and that it.
wouldn't it just be easier to make deathregions. im sure i can do it. im getting very familiar with the LUA scripts. plus i dont know how to make damage higher.
so which should i do? death regions or damageregions? how do i add either or?
EDIT: oh found it. i gotta add AddDeathRegion("deathregion") under some line in the conquest LUA script. i just looked at Mustafar's conquest script as reference.
i just got one question. do i have to do AddDeathRegion("deathregion")
then AddDeathRegion("deathregion2")
AddDeathRegion("deathregion3")
ect...... or just deathregion and thats it like this: AddDeathRegion("deathregion")
????????????
EDIT #2: i just looked at other scripts too and confirmed the place and also i just right it once like this AddDeathRegion("deathregion")
and that it.
- [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: Quick ? about death regions.
I haven't been able to get AddDeathRegion() to work. Use damageregions, their differences are small enough to not matter. Of course, if you want to add and remove a dying region, like in the trash compactor, then use death regions.
- 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
RE: Quick ? about death regions.
there's a 'change type' button (or something similar when you're in region mode.
RE: Quick ? about death regions.
ok ill do that b/c when i made the deathregion it didn't work. i think i may know why though. i gotta check it out.,
RE: Quick ? about death regions.
When I made my damage regions, they corrupted my entire Saleucami map. The map was all black and the spawns had disappeared. It was fixed when I removed them from my script. This is what my GCW script looks like:
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
AddDamageRegion("pit")
AddDamageRegion("ravine")
AddDamageRegion("side1")
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
If I remove the damage region lines, the map will work for GCW. I removed them for CW so I could take new screenshots earlier.
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)
AddDamageRegion("pit")
AddDamageRegion("ravine")
AddDamageRegion("side1")
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
If I remove the damage region lines, the map will work for GCW. I removed them for CW so I could take new screenshots earlier.
- 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
RE: Quick ? about death regions.
You don't add Damage Regions to the lua. Only Death regions.
RE: Quick ? about death regions.
ok im still confused of how to even create damage regions and how to set the damage. is it all in zeroeditor?
just create a region call it damageregion or something, but what about the damage?
EDIT: oh and mazda thats EXACTLY what happened to me when i made an error when i wanted to add locals.
i put AddAIGoal (locals, 7) blah blah blah
locals should have been 3 which created a fatal error which made everything disappear. chaning that one word into 3 fix the whole thing
EDIT #2: i see what to do with damage regions. thx guys.
just create a region call it damageregion or something, but what about the damage?
EDIT: oh and mazda thats EXACTLY what happened to me when i made an error when i wanted to add locals.
i put AddAIGoal (locals, 7) blah blah blah
locals should have been 3 which created a fatal error which made everything disappear. chaning that one word into 3 fix the whole thing
EDIT #2: i see what to do with damage regions. thx guys.
RE: Quick ? about death regions.
That's strange, Tean. They still wouldn't work in the map after I removed the lines. Should the scales for damage be 100? It may be the "creature, vehicle, soldier" lines that need some sort of numerical value.
- [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: Quick ? about death regions.
You set the damage value in ZeroEdit. Name your region something. Then set the region's properties to damageregion. ZeroEdit will now open a window on the right side of the screen with damageregion settings.
RE: Quick ? about death regions.
yeah zerted i said i saw taht in my previous post. thx anyway.
- [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: Quick ? about death regions.
Your right you did. I'm not sure what I was thinking when I posted.