Jump to content


Photo

corpses


  • Please log in to reply
6 replies to this topic

#1 Colonel of War

Colonel of War
  • Members
  • 36 posts
  • Location:Hamburg
  • Projects:coding, AI-coding , just a bit for my networkgaming

Posted 05 December 2008 - 04:23 PM

Hey guys back at modding ;) ^ ^

well, I can't believe that there just doesn't exist a threat with this topic but if there is I couldn't find it ...
and the searchingtool doesn't really work for me so... ;)

my question is : is there any possibility to let corpses lie on the the ground for a longer time? ??
I think it would be really intresting to have the killed soldiers lying on the battleground after the battle, right? ;)

so.... let me know if you have any idea because I have no :)

Edited by Colonel of War, 05 December 2008 - 05:19 PM.

If you discover any misspellings, you are allowed to keep them!

#2 Sûlherokhh

Sûlherokhh

    Sagacious Engineer

  • Project Team
  • 3,754 posts
  • Location:Central Germany
  • Projects:S.E.E., Sage A.I., Code Advisor
  •  'Axe'er of the Gordic Knot

Posted 05 December 2008 - 05:26 PM

It's quite possible, provided you find a model of a corpse for every unit model in the game. But with the numbers of units dying in an average game, the number of objects the game needs to track, even if they don't do anything, would make the already resource eating monster even more ravenous.

One intermediate solution would be to give all corpses a slightly longer time to sink in the ground (or in the case of Trolls, Mûmakil etc a slightly longer decay time). Check out the units' SlowDeath-modules and play around a bit with the numbers.

Edit: oops, i misunderstood. I though you wanted to have them permanently. SO, there is your solution. ;)

Edited by Sûlherokhh, 05 December 2008 - 05:27 PM.

bannerreal01mittelit3.jpg
Axed Head and A.I. Coder for S.E.E. and ... stuff

".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."


#3 Colonel of War

Colonel of War
  • Members
  • 36 posts
  • Location:Hamburg
  • Projects:coding, AI-coding , just a bit for my networkgaming

Posted 05 December 2008 - 06:20 PM

yeah, this rocks!!! ;) now you can recognize the battlefields :)

I only edited to this:
Behavior = SlowDeathBehavior ModuleTag_05
		DeathTypes = ALL -KNOCKBACK -FADED -NORMAL
		SinkDelay = 600000
		SinkRate = 0.60	 // in Dist/Sec
		DestructionDelay = 1000000
		Sound = INITIAL HumanVoiceDie //GondorSoldierVoiceDie
	End
	
	Behavior = SlowDeathBehavior ModuleTag_FadeDeath
		DeathTypes = NONE +FADED
		SinkDelay = 600000
		SinkRate = 0.60	 // in Dist/Sec
		DestructionDelay = 1000000
		Sound = INITIAL SpellGenericUnsummonFasterMS
	End

	Behavior = SlowDeathBehavior ModuleTag_07
		// Same as normal death, but no sound (sound already played by SoundImpact = ... )
		DeathTypes = NONE +KNOCKBACK
		SinkDelay = 600000
		SinkRate = 0.60	 // in Dist/Sec
		DestructionDelay = 1000000
	End

I works perfect, thank you very much ;)
If you discover any misspellings, you are allowed to keep them!

#4 Sûlherokhh

Sûlherokhh

    Sagacious Engineer

  • Project Team
  • 3,754 posts
  • Location:Central Germany
  • Projects:S.E.E., Sage A.I., Code Advisor
  •  'Axe'er of the Gordic Knot

Posted 05 December 2008 - 09:34 PM

I'm happy you could put it to use. ;)

bannerreal01mittelit3.jpg
Axed Head and A.I. Coder for S.E.E. and ... stuff

".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."


#5 Colonel of War

Colonel of War
  • Members
  • 36 posts
  • Location:Hamburg
  • Projects:coding, AI-coding , just a bit for my networkgaming

Posted 05 December 2008 - 09:34 PM

well, do you think this can cause trouble for the graphic card ? ??
because there are so a lot more models ;)
If you discover any misspellings, you are allowed to keep them!

#6 Sûlherokhh

Sûlherokhh

    Sagacious Engineer

  • Project Team
  • 3,754 posts
  • Location:Central Germany
  • Projects:S.E.E., Sage A.I., Code Advisor
  •  'Axe'er of the Gordic Knot

Posted 05 December 2008 - 09:45 PM

Depends. If all the corpses have vanished by the time you have rebuilt the army that was just lost in the last major batte you should have no problem at all. But if you lead a complete force on a battlefield still littered with all the corpses from the last battle, i'd say your machine will be somewhat strained. It all depends on the kind of punishment your machine can handle and of course the CP cap and the grafix settings. You may need to fiddle around a bit until it all works well. For example i wouldn't use it for S.E.E. because it already has so many additional heavy grafix and loads of AI objects that it strains the computer to the breaking point. But i don't know what kind of machine you have and wether or not you intend to offer your modding project to other people.

Just try out the extreme. Let the corpses stay for 30 min (SinkDelay = 1800000 and DestructionDelay = 1805000) and count the number of major battles you can wage before your machine starts to stutter and wether or not you can finish the game without a major break.
Btw, DestructionDelay is how long it takes for the system to remove the object. Doesn't need to be larger than 5000ms compared to when the corpse starts to sink. With 0.6 DistanceUnits per second it should take less than 5 sec to completely vanish in the ground.

bannerreal01mittelit3.jpg
Axed Head and A.I. Coder for S.E.E. and ... stuff

".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."


#7 Colonel of War

Colonel of War
  • Members
  • 36 posts
  • Location:Hamburg
  • Projects:coding, AI-coding , just a bit for my networkgaming

Posted 12 January 2009 - 08:59 PM

back @ modding :)

well I just asked myself if it makes a big differece, I know there are so a lot more models on the map but models with no action no movement... so i thought i would't make such a problem :)

I tested it out ... and at all I'm not happy with the result :blink:

2on2 I don't notice any difference in tempo of game or any lag but while height point of a 3on3 it was really annoying.
It didn't lag very much but the speed was so decelerated :p that was no fun ;)
and I think at all my system is not really bad : q6600 4x2.4Ghz , Saphire Ati Radeon HD 3780 toxic, 4 GB ddr2 800 ....

well I will reduce the time of corpses to maybe 1 or 2 min , that should be enough ;)

but thank you again! :)
If you discover any misspellings, you are allowed to keep them!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users