question on feature attribute for a map

question on feature attribute for a map

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

question on feature attribute for a map

Post by Otherside »

hey im taking my first whack at map making

was wondering if i could have a feature which u cud nano for energy i know u can do this normally but wat if i want this feature to have infinite energy (means u can nano it for the whole game and it wont deplete) was thinking of having one of these in the center of the map as a objective to fight for :] (dunoo if it would work balance wise but i wanna try it)

just want to know if its possible (sorri if its been talked about already)
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

nope

Post by rcdraco »

I don't think you can make an unlimited one, maybe one with a ton of stuff, but not infinite.
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Post by Otherside »

also another question this is probably for mod specific maps is it possible to place a units corpse as a feature on the map and have res kbots be able to res it ? :P


if so i have an idea of a graveyard level were u can only use res kbots :P and ur com can only build energy :p so u need to res and reclaim as much as possible and pick out wat units u need ;P
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

nope

Post by rcdraco »

I don't that that's possible eihter.

Make a map that pwns.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

You can set a feature to massive amounts energy, which is good enough, but you might need the next version to have it reclaim at the right speed, I don't remember.
As far as the graveyard, as far as I know you can't build them in as features, but you can pack a lua script that will spawn them all at the start of the game.
What was that non-cavedog campaign where you started as a lone necro with the war long since lost... I have an urge to play it now...

Edit: actually, if you set a feature to have enough energy, all of what was lost from reclaiming would be forgotten by the rounding of the floating point numbers, so it would be infinite...
Edit 2: and you could even set it so that only one con could leech energy from it at a time

rcdraco is too pessamistic
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

LuaGaia can be used for active in-game scripts for maps.

It can place unit wrecks as features with specific resurrection targets:
- CreateFeature()
- SetFeatureResurrect()

It can keep features at max health and resources:
- SetFeatureReclaim()
- SetFeatureHealth()
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

trepan wrote:LuaGaia can be used for active in-game scripts for maps.

It can place unit wrecks as features with specific resurrection targets:
- CreateFeature()
- SetFeatureResurrect()
yay
trepan wrote:It can keep features at max health and resources:
- SetFeatureReclaim()
- SetFeatureHealth()
Or you do it the simple way, and instead of a script where it potentially be destroyed between updates just set the health and energy to 1,000,000,000,000,000,000,000,000,000,000. You and your lua, trepan. You and your lua. :roll:
:P
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Post by Otherside »

expect a graveyard map and a energy point map soon thx for the help :D
Post Reply

Return to “Map Creation”