Author Topic: Wanderer 080611 build  (Read 17847 times)

0 Members and 1 Guest are viewing this topic.

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Wanderer 080611 build
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: [Select]
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: [Select]
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 »
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Vretsu

  • 27
Re: Wanderer 080611 build
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.  :yes:

 
Re: Wanderer 080611 build
Sweat job with the radar code. BtRl will make use of this well.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Wanderer 080611 build
Code: [Select]
   $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?
"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: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Wanderer 080611 build
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.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Wanderer 080611 build
k, good. I don't want my pixel-perfect icons getting stretched. :)
"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: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Wanderer 080611 build
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 »
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Topgun

  • 210
Re: Wanderer 080611 build
is this more stable than trunk?

 

Offline CaptJosh

  • 210
Re: Wanderer 080611 build
Not likely. The trunk builds are from the stable branch. This is experimental stuff.
CaptJosh

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

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Wanderer 080611 build
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.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline phreak

  • Gun Phreak
  • Moderator
  • 211
  • -1
Re: Wanderer 080611 build
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)
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
Re: Wanderer 080611 build
Code: [Select]
   $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! :D

I'll test it out as soon as I'm free. :)
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Wanderer 080611 build
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 ;)

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Wanderer 080611 build
:bump:



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.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Wanderer 080611 build
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.
"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: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Topgun

  • 210
Re: Wanderer 080611 build
how do you want us to test them? using the new features or just playing like normal and finding regular bugs?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Wanderer 080611 build
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.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Wanderer 080611 build
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.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

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

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Wanderer 080611 build
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.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Wanderer 080611 build
Code: [Select]
$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?
"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: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...