Jump to content
SubSpace Forum Network

teraskasi

Member
  • Posts

    10
  • Joined

  • Last visited

Everything posted by teraskasi

  1. teraskasi

    Update 9/7/09

    To answer your first two questions, I have Win XP Pro SP2, and no the first error I got didn't re-occur. I will try what you say next time I have free time. Edit: I deleted the Experimental Warfare zone, and it did the exact same thing as the first error I got. It threw the Just In Time debug message before my download finished, but the game appeared to function normally and download the zone files completely until I clicked OK, at which point the game went back the initial zone selection screen.
  2. teraskasi

    Update 9/7/09

    Well I came back in and got more errors after I played around for a couple minutes, switching ships and flying around. Checking module update file crc32 from 'ss-discretion.sourceforge.net/update/dis c_update.txt.crc32' ss-discretion.sourceforge.net/update/disc_update.txt.crc32: . got 8 bytes in 0.1 41 seconds (0.01 KB/sec) Read crc32 from server '067b255f' crc32 matches, Discretion is up to date! SUCCESS: CHECK FOR UPDATES SUCCEEDED! Net.cpp line 532, drivel: ignoring 6 packet types Checking module update file crc32 from 'ss-discretion.sourceforge.net/update/dis c_update.txt.crc32' ss-discretion.sourceforge.net/update/disc_update.txt.crc32: . got 8 bytes in 3.0 94 seconds (0.00 KB/sec) Read crc32 from server '067b255f' crc32 matches, Discretion is up to date! SUCCESS: CHECK FOR UPDATES SUCCEEDED! Net.cpp line 532, drivel: ignoring 6 packet types ERROR: frame(70) >= numFrames(40) in ship template 'warbird' in function frameTo Rot, on line 372 in file ..\Shipman.cpp SEGFAULT - debug information printed to bin/errorlog.txt ERROR: Incomplete cleanup, data is not null, type = 'TYPE_TICK' in function ~Aud itableEvent, on line 1891 in file ..\Audit.cpp ERROR: Suppressing further such warnings; this error may happen when Discretion unexpectedly quits (but is unlikely the cause of the issue). in function ~Audita bleEvent, on line 1892 in file ..\Audit.cpp Log file attached. errorlog.txt
  3. teraskasi

    Update 9/7/09

    I just encountered a fatal bug it seems. I downloaded a fresh copy of Discretion, and connected to the Experimental zone. Discretion updated and restarted. I then connected to the Experimental zone again, and it downloaded some config files, but it then threw a Just In Time debugging error. However, the game continued to run it seemed, until I clicked OK on the error. One thing I forgot to do though, was to enter profile information. So I was trying to login without a username/pass. I don't know if that's the cause of this or not. backlog packet? ackId = 93, next = 85 ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(3) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(3) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(39) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(37) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(37) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(37) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(37) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(4) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(9) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(14) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(18) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(23) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(27) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(32) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(37) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(2) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(7) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(11) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(15) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(20) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(24) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(29) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(34) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(38) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(3) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame( >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(13) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(17) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(22) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(27) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(31) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(36) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(1) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(5) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(10) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(30) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp ERROR: shipTemplateName not found in templates: 'spec' in function frameToRot, o n line 364 in file ..\Shipman.cpp ERROR: frame(16) >= numFrames(1) in ship template 'spec' in function frameToRot, on line 372 in file ..\Shipman.cpp This isn't a complete log, because the console overflowed with messages.
  4. Well, I downloaded and auto-updated while the online zones are down yet, and started messing around in single player. So I switched to a Spider and noticed that it wasn't using the tarentula.png graphic, but just the spider graphic. I looked at the config file, and it says it IS set to use tarentula.png, but I even copied the png and named it ship3.png, to no avail. So what's up with that? And another thing is that when I shoot bombs in the spider, it says: ERROR: Int Game Settings undefined spider::BlueBombSpeed and Default Ship Settings::BlueBombSpeed <..\Audit.cpp, line 1657> in function getIntGameSetting, on line 40 in file ..\GameSettings.cpp So I proceeded to search for where the default ship settings would be, but I can't find them anywhere! It seems to me that the default ship settings files were left out. I temporarily fixed this error by putting [spider] BlueBombSpeed = 2000 into Singleplayer\CustomSettings.conf Can someone tell me where specifically to look to find the default ship settings files, so I can see if I have them or not?
  5. I've got some, well.... less ambitious... suggestions, lol. 1) And option for bombs so that, when a bomb's time expires, it will either go dead (disappear), or it will explode when the timer expires. It would be interesting in instances where your bombs have a high damage radius, so even if nothing is near the explosion, or at least not close enough to trigger prox, it may still be "felt". 2) Allow the fire rate to be different for each weapon level. Red bombs may shoot like a machine gun, yellow bombs may shoot half as fast, and blue bombs may shoot a quarter as fast, and so on. 3) I know it's been suggested that weapons not be limited to 4 levels (including the level possible when carrying ball/flags), however, if that suggestion isn't implemented, I'd like to suggest making it possible to let ships use level 4 weapons without having to carry a ball/flag to get them. Okay, now for my more ambitious ideas... 4) Allow dual barrel bomb launchers, with a configurable firing angle (for both single and dual, so even if you have only a single launcher, you could fire your bombs backwards, if the ship is configured that way.) 5) For capital ships, allow turret "offsets" from the center of the ship they are attached to. So, you may have a turret towards the front of the capital ship, and a turret towards the back. If possible, make it so turrets can avoid damage somewhat, if they don't take a direct hit. (Think of the Star Destroyer in Star Wars) 6) Allow bursts to have a configurable firing arc (angle) as well. For example, bursts could be an anti-pursuit weapon. If you're running from someone, and your ship is configured to fire 16 burst bullets at 180 degrees (your ship's aft) in a 90 degree arc, that would be very cool. An arc of burst bullets would fire out the back of your ship.
  6. I'd be happy to post my code once it's in a somewhat working condition. The trouble I'm facing is: What is the best (most efficient) way to let updates (transformations) propagate through the tree? It seems to me that the only way to propagate changes is for every node to have a full set of data to accommodate every type of node... In other words.... If you having a scaling node, then a rotation node... The rotation node needs to now keep scaling information to p!@#$%^&* on to it's own children. It somewhat defeats the point of having separate node types. But... I've also come to the realization that I can't use just SDL 2D anyway, because SDL doesn't have a fast real-time way of rotating sprites aside from the way it's done in Subspace with different frames (pre-rendered images), so I'm probably going to end up using OpenGL with SDL and OpenSceneGraph. That's probably for the best though, since I wanted to eventually add some 3D elements, such as 3D planets in the background. I don't think a Z-Buffer is enough for me. The whole thing I want to do is easily manage the relationship between objects. The game I am looking to create is intended to be a much for dynamic, moving world than that of Subspace where objects are mostly all static.
  7. Hmm yeah there's the wikipedia entry, but to put it in the simplest terms I can, it's a tree style data structure, where the top most node (trunk) is the root of the entire scene and the most background object, and the bottom most nodes (leafs) represent the most foreground objects, as the tree is drawn from the root to the leafs. There can be various kinds of nodes in the tree, and that typically depends on the needs of the project, but for a game you'll typically find a graphics node, a rotation node, a translation node, a DOF (transformation) node, a scaling node, a switch node, and so on. The graphic node would of course contain the graphic representing the object in question, such as a ship's base hull. Let's say I wanted to add a weapon turret to the base hull of the ship. It might look something like this: > Ship Base Hull Graphic Node (Display the graphic) > > Translation Node (set the position for all children relative to the center of the ship, say... x=0,y=10 for the front of the ship ) > > > Rotation Node (rotation changes based on player control) > > > > Turret Graphic Node (Display the graphic at the new location)
  8. Hi. I'm working on a game engine for a top down space game with similar game play to subspace. Right now I'm researching scene graphs for that purpose. I was wondering if Discretion is using any sort of scene graph? Although I have a pretty good grasp of the basics of scene graph implementation, I'm still a bit confused and can't complete my implementation. Pretty much all scene graph stuff I can find is geared towards 3D worlds, and is really bloated IMHO. I'm just looking to implement a basic 2D scene graph with possibly a "depth" node to create the illusion of 3D by scaling transformations so that distant objects move less as the camera moves. The game I have in mind is only like subspace in the way of being top down 2d and having a similar combat system -- I don't plan on having bases, tiled maps, etc. I suppose the classic subspace game didn't really need a scene graph, but what I have in mind really should use it. The scene graph will have celestial objects orbiting other celestial objects: stars, planets, moons, asteroids, etc. Colonies that are attached to planets, and space stations that are only attached to the nearest star, but are otherwise drifting through deep space. Not only that but man made objects (ships, stations, etc) will have base hulls, and components attached to the base hull. Similar to when a player is attached to another player in subspace -- having weapon turrets like that, except the weapon turrets will not all be in one spot like subspace. Rather, they'll each have a unique place on the hull of the ship. Just thought you might want to know why I'm looking for an implemented scene graph.
  9. teraskasi

    Ship Settings

    There is a solution, but I haven't figured out an optimal storage method yet. Store all attribute modifiers in lists, and store the start of each list in a map that is mapped via attribute name, psuedo code example: "MaxSpeed" => maxspeed_attr_list "MaxRotation" => maxrot_attr_list The ship object would have two sets of values. The base_values, and the actual_values. Whenever a modifier is added, removed, or changed, option 1) would be to simply alter the corresponding actual_value. Option 2) would be to completely recalculate the actual_value by adding all the corresponding modifiers to the base_value. Option 2 requires more CPU, but is ultimately fail-safe in ensuring that the modifier list and base_value add up to the actual_value. Now as I understand it, These attribute modifiers will come from different sources, such as ship damage, boosters, or being in an area that represents hyperspace. This complicates things just a little bit, because you now have to give each modifier a unique identifier to keep track of them. I'm !@#$%^&*uming that various modules can alter the modifiers, so the safest bet would be to force the use of namespaces for each module, and let the module author sort out the specific identifier. It goes without saying, I think, that modules shouldn't play with other module's attributes under most, if not all cir!@#$%^&*stances.
  10. I would just like to second the idea of configurable seeking bombs/missiles. Configurable options might include: Tracking (turning) speed of the projectile to determine how maneuverable the projectile is. Sensor range and field of view (FOV) to determine what targets are track-able (a target on the other side of the map, or a target behind the projectile might not be track-able. Some sort of target prioritizing such as (of the track-able targets) going after the one with the highest bounty. This would perhaps require an alteration to the graphics system, as regular old bombs don't have a "front," but if you added the extra data to give this seeking projectile a front, that would also allow for more unique projectiles to be made by artists (such as actual missiles rather than just "orbs of energy" that regular old bombs look like.) EDIT: And of course the configuration option of what ships have seeking projectiles.
×
×
  • Create New...