Author Topic: whats going on with vwep?  (Read 1753 times)

0 Members and 1 Guest are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
whats going on with vwep?
i notice the weapon models feature isnt working in any of the newer builds. i know it was committed but it will not work in any of the newer builds. was it disabled or just accidently broken?
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
whats going on with vwep?
:bump:
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
whats going on with vwep?
is it just not showing up in game or are you haveing table parseing problems, someone changed the table syntax
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
whats going on with vwep?
Yeah, you should know by now that "IT NO WORKIE!!!!1111!!11" isn't a particularly helpful bug report. ;)

I heard that it was crashing in-game, but I doubt that's a table thing. and IIRC I tried to keep support for the way Bobb had done it.
-C

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
whats going on with vwep?
i had assumed it was disabled but wanted to know for sure. but sence neither of you knew about it not working its definately a problem. its a parsing thing as far as i know. it works the second i remove the $Show Weapon Models: entrys from the table. all the other tags get parsed fine.

i get this when the tags are presant:

Error: ships.tbl(417):
Error: Required token = [$AI Class:], found [)]
in ship: PF HellBat.

File:U:\src\cvs\fs2_open.testing\code\Parse\PARSELO.CPP
Line: 528

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

now the same tables work fine in older cvs builds that had the vwep code.  ship flags arent getting processed, it cannot find $ai class:. if you remove $show weapon models: it will load just fine. this is my table:

Code: [Select]

$Name: PF HellBat
$Short name: Deathmaker
$Species: Pirate   ; yes, im using custom spiecies
+Type: XSTR("Light Raider", 2939)
+Maneuverability: XSTR("Excellent", 2940)
+Armor: XSTR("Light", 2941)
+Manufacturer: XSTR("Fat Tony's Custom Fighters", 2942)
+Description: XSTR("Sweet", 2943)
$end_multi_text
+Tech Description: XSTR("yada yada yada.", 2944)
$end_multi_text
+Length: 16 m
+Gun Mounts: 6
+Missile Banks: 0
$POF file: hellbat.pof
$Detail distance: (0)
$Show damage: YES
$Density: 1
$Damp: 0.1
$Rotdamp: 0.35
$Max Velocity: 30.0, 30.0, 85.0
$Rotation time: 2.9, 2.5, 4.0
$Rear Velocity: 30.0
$Forward accel: 2.0
$Forward decel: 1.0
$Slide accel: 0.5
$Slide decel: 0.5
$Expl inner rad: 50.0
$Expl outer rad: 75.0
$Expl damage: 25.0
$Expl blast: 1000.0
$Expl Propagates: NO
$Shockwave Speed: 0.0
$Allowed PBanks: ("50mm he" "50mm fmj" "50mm spi" "Phalanx")
$Allowed Dogfight PBanks: ("50mm he" "50mm fmj" "50mm spi" "Phalanx")
$Default PBanks: ("Phalanx" "50mm he")
$Pbank Capacity: (240,800)
$Show Weapon Models: (yes,yes)
$Shields: 100
$Shield Color: 255 180 40
$Power Output: 25
$Max Oclk Speed: 125
$Max Weapon Eng: 10
$Hitpoints: 275
$Flags: ("player_ship" "fighter" "in tech database" "ballistic primaries" "show ship")
$AI Class: Captain
$Afterburner: YES
+Aburn Max Vel: 90.0, 90.0, 175.0
+Aburn For accel: 0.5
+Aburn Fuel: 300.0
+Aburn Burn Rate: 40.0
+Aburn Rec Rate: 8
$Countermeasures: 20
$Scan time: 2000
$EngineSnd: 128
$Closeup_pos: 0.0, 0.0, -20
$Closeup_zoom: 0.5
$Shield_icon: shield_hellbat
$Ship_icon: icon_hellbat
$Ship_anim: ani_hellbat
$Ship_overhead: load_hellbat
$Score: 10
$Trail:
+Offset: -7.75 -2.8 0.75
+Start Width: 0.25
+End Width: 0.05
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.0
+Spew Time: 60
+Bitmap: Contrail01
$Trail:
+Offset: 7.75 -2.8 0.75
+Start Width: 0.25
+End Width: 0.05
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.0
+Spew Time: 60
+Bitmap: Contrail01
$Subsystem: communication, 5, 0
$Subsystem: navigation, 5, 0
$Subsystem: weapons, 10, 0
$Subsystem: sensors, 5, 0
$Subsystem: engines, 18, 0
« Last Edit: June 03, 2005, 04:05:58 pm by 766 »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
whats going on with vwep?
isnt that a custom ship ?

models are working fine for mein the 30/05/05 version, not grabbed the latest one yet though..
Think.

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
whats going on with vwep?
yea, but the other tables parse fine.  its the ships.tbl thats refusing to load. the newest build ive been able to use was fs2_open_C03122005_o.exe. after that stuff stopped working.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
whats going on with vwep?
he wraped the code for loading the bools into a parse bool list function, I think you need to specify a yes or no for every bank, and they need to be in quotation marks and need to have comas between them, but I'm not sure all I know is the syntax changed to something and I didn't feel like fighting with it at that moment
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
whats going on with vwep?
OK, based on your error I guessed that I forgot to increment Mp somewhere, and it looks like I did. Try out the next build.

Also, while commas should work, I'd like to phase it out as every other list type doesn't use them. So bool lists should look like:
Code: [Select]
$Variable: (yes no yes)
-C

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
whats going on with vwep?
cool, thanks, i await your build.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN