September 03, 2010, 01:30:17 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   Help Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Wanderer 080611 build  (Read 11502 times)
0 Members and 1 Guest are viewing this topic.
Wanderer
Wiki Warrior
211

Offline Offline

Posts: 3,273

Mostly harmless


« on: June 11, 2008, 12:28:34 pm »

NOTE: This is not trunk build, the features in it may not be included to the trunk

Download link. FS Open SVN 4660.

Features:
Code:
New turret flags:
   "fixed firingpoints"
      - forces game to use only single firingpoint for a specific weapon.
      - maximum of 3 primaries and 4 secondaries.
      - requires "use multiple guns" flag.
   "salvo mode"
      - uses the first defined weapon
      - fires the weapon from all the firingpoints simultaneously.
      - every weapon aimed independently.
   "fire on target"
      - prevents the turret from firing unless the turret points at the target
   "no subsystem targeting"
      - prevents the turret from targeting without orders the subsystems of target ship.
      - causes more random distribution of shots on the enemy ship.
   "reset when idle"
      - if turret has no targets it resets to its initial position
      - if animation code is used, uses the first 'initial' instance it finds

Subsystem options:
 ---- after last of $Default SBanks:/$SBank Capacity:/$Engine Wash: ----
   $AliveSnd:
      - identifier of the sound played if the subsystem is alive. (integer)
   $DeadSnd:
      - identifier of the sound played if the subsystem is destroyed. (integer)
   $RotationSnd:
      - identifier of the generic rotation sound. (integer)
   $Turret Base RotationSnd:
      - identifier of the turret base rotation sound. (integer)
   $Turret Gun RotationSnd:
      - identifier of the turret gun rotation sound. (integer)
   $Turret BaseSnd Volume:
      - multiplier for turret base rotation volume. (float)
   $Turret GunSnd Volume:
      - multiplier for turret gun rotation volume. (float)
 ---- AWACS entry ----
   $Maximum Barrel Elevation:
      - defines the maximum elevation in degrees allowed for the barrels of a turret. (integer, 0 to 90)
   $Turret Base FOV:
      - defines the maximum FOV for the turret base. (integer, 0 to 359)
      - forces more complicated turret fov tests.
      - if target is past the turrets rotation limit it turns around via the front direction

Ship options:
 ---- After $Thruster: entry, just before subsystem entries ----
   $Ship IFF Colors:/$Ship IFF Colours:
      - allows alternate ship specific IFF colors. (no input)
      +Seen By:
         - iff from the color is observed (name of iff entry - probably most often Friendly)
      +When IFF Is:
         - which IFF type is changed (name of iff entry - probably most often Friendly)
      +As Color:
         - defines the alternate IFF color. (three integers, Red, Green, Blue)
   $Radar Image 2D:
      - alternate option for using bitmaps instead of blips on radar (filename)
      $Radar Image Size:
         - image size in pixels when using 2D radar (integer)
      $3D Radar Blip Size Multiplier:
         - multiplier for the radar blip size when using 3D radar (float)

Additional IFF_defs.tbl options
 ---- after the initial traitor entry ----
   $Selection Color:/$Selection Colour:
      - defines the target frame colors for selected items, like asteroids etc. (three integers, Red, Green, Blue)
   $Message Color:/$Message Colour:
      - defines the target frame colors for objects that is currently sending a message to player (three integers, Red, Green, Blue)
   $Tagged Color:/$Tagged Colour:
      - defines the target frame colors for tagged objects (three integers, Red, Green, Blue)
   $Dimmed IFF brightness:
      - defines the intensity of the hud color alpha value on 'dimmed' objects of the hud and radar (integer, 0 to 15)
      - default is 4
   $Use Alternate Blip Coloring:
      - allows game to use uniform blip coloring method instead of using one for ships and other for rest of the radar blips. (boolean)
   $Missile Blip Color:/$Missile Blip Colour:
      - defines the alternate color for missile blips (three integers, Red, Green, Blue)
   $Navbuoy Blip Color:/$Navbuoy Blip Colour:
      - defines the alternate color for navbuoy blips (three integers, Red, Green, Blue)
   $Warping Blip Color:/$Warping Blip Colour:
      - defines the alternate color for warping in blips (three integers, Red, Green, Blue)
   $Node Blip Color:/$Node Blip Colour:
      - defines the alternate color for jump node blips (three integers, Red, Green, Blue)
   $Tagged Blip Color:/$Tagged Blip Colour:
      - defines the alternate color for tagged target blips (three integers, Red, Green, Blue)
 ---- rest of the IFF_defs.tbl ----

Objecttypes.tbl option:
 ---- after $Warp Pushable: ----
   $Turrets prioritize ship target:
      - forces ship turrets to prioritize ships targets (boolean)
      - set to 'true' on fighters and bombers by default - setting it to 'false' for them allows their turrets to target more freely
 ---- continues with $Max Debris Speed: ----

Sexps...
   change-iff-color
     Sets the specified ship(s) or wing(s) apparent color.
     Takes 6 or more arguments...
     1: Name of the team from which target is observed from.
     2: Name of the team of the observed target to receive the alternate color.
     3: Red color (value from 0 to 255).
     4: Green color (value from 0 to 255).
     5: Blue color (value from 0 to 255).
     Rest: Name of ship or wing to change team status of.
   turret-subsys-target-disable
     Prevents turrets from targeting only the subsystems when targeting large targets
     1: Ship to be operated on
     Rest: List of turrets that are affected
   turret-subsys-target-enable
     Sets turret to target the subsystems when targeting large targets
     1: Ship to be operated on
     Rest: List of turrets that are affected

EDIT: bah.. just noticed the list lacked a couple of options...
Some more features...
Code:
Ships.tbl option
 ---- After $Slide decel:/$Glide:/$Autoaim FOV: entries before the custon warping entries ----
   $Convergence:
      - defines the use of convergence and the settings of it (no input)
      - autoaim assumed to take precedence over convergence
      - automatic convergence takes precedence over standard convergence
      +Automatic
         - defines that automatic convergence is in use (no input)
         +Minimum Distance:
            - defines the minimum range of the autoconvergence (float)
            - if the target is closer than this game uses this distance instead of the range for the convergence
      +Standard
         - defines that a fixed range convergence is in use (no input)
         +Distance:
            - defines the convergence distance
      +Offset:
         - defines the offset vector for the convergence (vector - like velocity entries)
         - allows convergence to be centered elsewhere than only on the ships 'centerline'
         - works with both automatic and manual convergence

Weapons.tbl option
 ---- After swarm/swarmwait entry ----
   +No Swarming Movement:
      - defines that even if weapon is of swarming type it has no swarming movement ie. random small changes (boolean)
      - basically toggles from swarm to burst fire with homing weapons.
      - might cut down some math when used with non-homing weapons.

Weapon flags
   "smart spawn"
      - forces turrets to fire spawn type warheads like any other missiles
      - without this flag spawns fire from turret without a target along turrets normal
   "inherit parent target"
      - phreak's earlier addition to the unstable branch
      - causes the child munitions acquire parent weapons target if it had any.
« Last Edit: June 14, 2008, 05:05:44 pm by Wanderer » Logged
Vretsu
27

Offline Offline

Posts: 239


« Reply #1 on: June 11, 2008, 10:12:32 pm »

The Orion's triple guns find glory at last.

Turret rotating sounds? Long overdue, imho.

Hope these features make it into the trunk. Testing now. 
Logged
Omniscaper
Q3
210

Offline Offline

Posts: 1,158


WWW
« Reply #2 on: June 12, 2008, 01:18:46 am »

Sweat job with the radar code. BtRl will make use of this well.
Logged

Galemp
Darth Sidious
212

Offline Offline

Posts: 6,412

Current project: Colossus UV mapping


WWW
« Reply #3 on: June 12, 2008, 12:20:42 pm »

Code:
   $Radar Image 2D:
      - alternate option for using bitmaps instead of blips on radar (filename)
      $Radar Image Size:
         - image size in pixels when using 2D radar (integer)
      $3D Radar Blip Size Multiplier:
         - multiplier for the radar blip size when using 3D radar (float)

For 'radar image size' is that width, height, or longest dimension? And can it be left to default to 1:1?
Logged

"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Colonol Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth...

Radar Icons  Silent Threat: Reborn
Wanderer
Wiki Warrior
211

Offline Offline

Posts: 3,273

Mostly harmless


« Reply #4 on: June 12, 2008, 01:04:24 pm »

It scales the whole image by its longest dimension... so if the image is 32 x 64 and radar image size is 32 the end result is (should be) 16 x 32. If radar image size has not been defined then it draws the image to its 'true' size.
Logged
Galemp
Darth Sidious
212

Offline Offline

Posts: 6,412

Current project: Colossus UV mapping


WWW
« Reply #5 on: June 12, 2008, 09:27:42 pm »

k, good. I don't want my pixel-perfect icons getting stretched.
Logged

"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Colonol Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth...

Radar Icons  Silent Threat: Reborn
Wanderer
Wiki Warrior
211

Offline Offline

Posts: 3,273

Mostly harmless


« Reply #6 on: June 14, 2008, 05:24:29 am »

Added couple of things i forgot to add to the first post

EDIT: bah... noticed that i had omitted the added weapon flags from the list... both spawn related options now added
« Last Edit: June 14, 2008, 01:57:57 pm by Wanderer » Logged
Topgun
210

Offline Offline

Posts: 1,430




« Reply #7 on: June 14, 2008, 06:14:22 pm »

is this more stable than trunk?
Logged

CaptJosh
210

Offline Offline

Posts: 1,057


« Reply #8 on: June 14, 2008, 08:44:32 pm »

Not likely. The trunk builds are from the stable branch. This is experimental stuff.
Logged

CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.
Wanderer
Wiki Warrior
211

Offline Offline

Posts: 3,273

Mostly harmless


« Reply #9 on: June 15, 2008, 01:57:35 am »

These builds are based on the trunk (ie. the stable branch) but with little additions. The features listed are experimental which are only in this branch and not in the trunk.
Logged
phreak
Gun Phreak
Moderator
211

Offline Offline

Posts: 3,918

-1


« Reply #10 on: June 15, 2008, 10:21:42 pm »

nice to see inherit parent target getting some love.

I may want to get with you to add the salvo fire mode for secondaries (http://www.hard-light.net/forums/index.php/topic,43316.0.html)
Logged

Vasudan Admiral
Member
211

Offline Offline

Posts: 2,575


WWW
« Reply #11 on: June 16, 2008, 02:35:43 am »

Code:
   $Maximum Barrel Elevation:
      - defines the maximum elevation in degrees allowed for the barrels of a turret. (integer, 0 to 90)
   $Turret Base FOV:
      - defines the maximum FOV for the turret base. (integer, 0 to 359)
      - forces more complicated turret fov tests.
      - if target is past the turrets rotation limit it turns around via the front direction

Oh that is awesome. I was going to ask you about turret base rotation limits once I'd finished my exams at the end of this week, but now I find you've already fully implemented it AND barrel elevation limits. I are teh happy! Big grin

I'll test it out as soon as I'm free.
Logged

Get the 3.6.10 Media VPs and report any bugs you find in them to the FSU Mantis! || Blender to POF model conversion guide
Twisted Infinities
blowfish
211

Offline Offline

Posts: 3,076

Join the cult of KILL MY ROUTER!!!!!!!!!!1


WWW
« Reply #12 on: June 21, 2008, 12:49:15 pm »

Interesting.  I'll have to download the source and make a Mac build so that I can test some of these features...  I look forward to some of these changes being committed to the main branch
Logged

Wanderer
Wiki Warrior
211

Offline Offline

Posts: 3,273

Mostly harmless


« Reply #13 on: July 09, 2008, 05:19:31 pm »





If no one bothers to test the things from this build and report back the findings then - how ever beneficial these features might be for certain mods - it is highly unlikely that they would be added to the main branch. So if you want these to be introduced to the main branch... please test the experimental builds.
Logged
Galemp
Darth Sidious
212

Offline Offline

Posts: 6,412

Current project: Colossus UV mapping


WWW
« Reply #14 on: July 09, 2008, 10:04:05 pm »

I really really want to... but I just don't have enough time to myself to play around with them. I'll get back to you in August, once we're finished moving.
Logged

"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Colonol Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth...

Radar Icons  Silent Threat: Reborn
Topgun
210

Offline Offline

Posts: 1,430




« Reply #15 on: August 18, 2008, 02:28:23 pm »

how do you want us to test them? using the new features or just playing like normal and finding regular bugs?
Logged

karajorma
Robin Hood
Administrator
214

Offline Offline

Posts: 23,584



WWW
« Reply #16 on: August 18, 2008, 03:32:31 pm »

Both most likely. Table changes should always be checked to make sure that the code didn't accidentally break something when they aren't present.
Logged

Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]
chief1983
Still lacks a custom title
Moderator
212

Online Online

Posts: 5,226

Uh, what?


WWW
« Reply #17 on: August 18, 2008, 07:54:32 pm »

Yeah, it should be checked against retail to make sure nothing broke there probably, and the features he hasn't committed really need to be checked for issues.
Logged

Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#scp-swc | #diaspora | #SCP | #hard-light on EsperNet
Ha!  Got all the important stuff within the frame - eat it

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays
Wanderer
Wiki Warrior
211

Offline Offline

Posts: 3,273

Mostly harmless


« Reply #18 on: August 19, 2008, 01:00:52 am »

And this build (same branch, except a tad more recent) would probably be better...

http://www.hard-light.net/forums/index.php/topic,55385.0.html

As for testing... There are several things.. one is to choose one feature of the listed, then try with standard trunk or even retail build, then start with the build of this branch and try to see if there is a change. If there is none then it passed the first test (that is, with optional features not in use it should work just like trunk builds).

Then the actual feature testing, basically just playing with the feature enabled. If anything else than what was indicated changed then there is a bug in the feature.
Logged
Galemp
Darth Sidious
212

Offline Offline

Posts: 6,412

Current project: Colossus UV mapping


WWW
« Reply #19 on: August 19, 2008, 08:44:14 am »

Code:
$Turret Base FOV:
      - defines the maximum FOV for the turret base. (integer, 0 to 359)
      - forces more complicated turret fov tests.
      - if target is past the turrets rotation limit it turns around via the front direction

Do we define a normal for the FOV cone somewhere?
Logged

"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Colonol Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth...

Radar Icons  Silent Threat: Reborn
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.107 seconds with 33 queries.