Nanospray...

Nanospray...

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Nanospray...

Post by Forboding Angel »

Wou'ld it be possible to have things for building graphics Other than Nanospray? THis would speed up fps and give other mods a chance to break away from nanospray.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I have a spring.exe here that I've patched to allow the explosion generator to be used for nanospray effects aswell as the normal nanospray but I havent tested it yet.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

I'd like to see some options. Hopefully your testing plays out, AF.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

What I kinda want to figure out is what we can come up with that isn't either no effect(like almost every other RTS ever), particle spray, or supcom style "scanning"... I can't really think of any other options... maybe a coloured, waving back and forth, flame like effect that would simulate spray painting, but that really wouldn't work quite so well for reclaiming...
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

"whips out garden hose, starts watering the ground and the building grows"?
User avatar
Bobcatben
Posts: 120
Joined: 10 Mar 2006, 17:01

Post by Bobcatben »

i wish there was a way to have spring not show everyone elses spray(like a option), ive noticed after awhile, my cousins get like 80 farks and such and theres so much spray the game slows down to a crawl(probably uses up alot of bandwidth too), in old TA i dont think it even showed other players spray.
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

SinbadEV wrote:What I kinda want to figure out is what we can come up with that isn't either no effect(like almost every other RTS ever), particle spray, or supcom style "scanning"... I can't really think of any other options... maybe a coloured, waving back and forth, flame like effect that would simulate spray painting, but that really wouldn't work quite so well for reclaiming...
arc welding. you script the welding arms to occasionally rotate around, and then 'poke' the general area a unit would be in, at which time it would also throw out yellow particles that fall randomly.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Bobcatben wrote:i wish there was a way to have spring not show everyone elses spray(like a option), ive noticed after awhile, my cousins get like 80 farks and such and theres so much spray the game slows down to a crawl(probably uses up alot of bandwidth too), in old TA i dont think it even showed other players spray.
it did, but in TA nanoparticles were single pixels, so...
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

everything you have suggested falls under the "no effect" category for which we already have the code in SVN... scripting a watering hose effect or a hammering animation on the edge of the building isn't a different build effect... I suppose you might want to have a weapon or particle animation associated with the water flowing from the hose or arch welding... so there is that...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

My immediate test of explosion generator binding crashed on startup, more testing is needed =(
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

Imagine this...

Unit deposits box on the ground. Box starts strobe light frenzy. Building forms around strobe lights.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

neddiedrow...eddited wrote:Imagine this...

Unit deposits box on the ground. Box starts strobe light frenzy. Building forms around strobe lights while The Who's "Teenage Wasteland" starts playing.
Last edited by SinbadEV on 03 Aug 2006, 13:51, edited 1 time in total.
IMSabbel
Posts: 747
Joined: 30 Jul 2005, 13:29

Post by IMSabbel »

Bobcatben wrote:i wish there was a way to have spring not show everyone elses spray(like a option), ive noticed after awhile, my cousins get like 80 farks and such and theres so much spray the game slows down to a crawl(probably uses up alot of bandwidth too), in old TA i dont think it even showed other players spray.
Sorry, its not the others nanospray that is slowing the game but rather pathfinding/phyiscs of all those farks bunching near the factory.
You could just test it by setting the particle count way low (like 500) and see if the slowdown dissapears.
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Post by ILMTitan »

The pathfinding and physics costs of a bunch of farks standing still is virtually zero. The problem is most likely too many particles.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I see visible slowdowns when the screen displays lots of nanospray, and framerate can nearly double once it's offscreen.


But then again the middle of centrerock gives me a drop in framerate from 70 to 12
Post Reply

Return to “Engine”