Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: SF-Junky on July 27, 2008, 05:00:05 am
-
I know that Ice Heart once made a few shielded sentries, but firstly the Edjo and the Watchdog/Cerberus isn't included in that pack you can dl on sectorgame, and secondly some of the used models are rather old (e.g. the Ankh).
I for myself don't need nice shield icons, but all sentries equipped with a real shield would be a nice thing. :) What do you think about it?
-
sentries are only placed in certain places like backwater stations or off the line installations or cargo depots but never front line protection that falls to the meat in the grinders, the fighters and other ships.
however if you want a shielded sentry...
$Name: GTSG Alastor
$Short name: TSGun3
$Species: Terran
+Tech Description:
XSTR("GTSG Alastor sentry gun platforms can be dropped by warships to cover a retreat, or they can be used to strengthen firepower around strategic locations. While Alastors alone cannot hold a position against more than a few fighters, complementing them with a warship and several wings of fighters presents an exemplary defense against all but the most determined foes. Two Bessmer-Kohn cannon turrets on opposing sides of the platform give the Alastor a full field of fire. The turrets are controlled by the latest neural-net cyber-AI to track multiple targets simultaneously.", 3066)
$end_multi_text
$POF file: Platform2T-01.pof
$Detail distance: (0, 250, 500)
$Show damage: NO
$Density: 1
$Damp: 0.2
$Rotdamp: 0.2
$Max Velocity: 0.0, 0.0, 0.0
$Rotation time: 20.0, 20.0, 20.0
$Rear Velocity: 0.0
$Forward accel: 0.0
$Forward decel: 0.0
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 0.0
$Expl outer rad: 0.0
$Expl damage: 0.0
$Expl blast: 0.0
$Expl Propagates: NO ;; If set to Yes, then when the ship dies, the explosion propagates through it.
$Shockwave Speed: 0.0 ;; speed shockwave expands at, 0 means no shockwave
$Default PBanks: ()
$Default SBanks: ()
$SBank Capacity: ()
$Shields: 300 ***
$Power Output: 0.0
$Max Oclk Speed: 0.0
$Max Weapon Eng: 0.0
$Hitpoints: 250
$Flags: ("sentrygun" "in tech database")
$AI Class: Captain
$Afterburner: NO
$Countermeasures: 0
$Scan time: 2000
$EngineSnd: -1 ;; Engine sound of ship
$Closeup_pos: 0.0, 0.5, -14
$Closeup_zoom: 0.85
$Score: 9
$Subsystem: turret01a, 20, 1.0
$Default PBanks: ( "Subach HL-7" )
$Subsystem: turret02a, 20, 1.0
$Default PBanks: ( "Subach HL-7" )
-
Just adding it in a table doesn't do anything. I tested this just before I posted this thread.
-
Sure it does... You just need to make a new mission with them or then edit existing one. In FRED editors->ships->initial status there is a checkbox for switching shields on and off.
-
also you check the, editors > shield system > GTSG alastor > friendly > shields on.
-
Sure it does...
... not. I made a little test mission where I have one cerberus with shields and one without and my Subach inflicts exactly the same damage to both of them. Both are down to 82% after one hit. And I can clearly hear the buzzing when my gun fire hits the shielded one, so the tabled shields are there, but don't work.
-
Hmm... i kinda assume the cerberus in question has shield mesh but in case it doesnt add 'surface shields' flag for it.
-
You need to add shield meshes to the pof before standard shields will work. You might be able to get surface shields on them if that code works yet (not been keeping up with that aspect TBH)
-
I think you need to add the "surface shields" flag for that alastor above.
-
Now it works. :) Why didn't you tell me that in the first place? :D :hopping:
-
Cause I didn't notice the topic before. :p
-
*Cough* things liek that are so obvious peopel somethime forget to mention them...
Had I seen this earlier i would have mentioned "edit the pof and add a shield (IMPORT), then add shield entry to table, simple" - that is if you want a VISIBLE shield hit as opposed to surface shields...
For a visible shield importation tools could be PCS2, PCS1, or Model View (in that order)
Load your model and then import shield mesh from another model that has one you like, just resize it.
-
PCS2 can't edit shields "Editing of shield data is currently unavailable"
-
Heh. ty for the correction! :yes:
PCS2 doesn't work for me, so I didn't know that (or rather to be more precise, since it wont make cobs into pofs for me I never bothered to try any other functions) :)
-
PCS2 can't edit shields "Editing of shield data is currently unavailable"
Some old versions of ModelView sometimes work with shields.
-
LoL. If I had known that it was so easy to add shield meshes... I would have called this thread "imported shield mesh doesn't work" ;) I've successfully added a shield mesh to gunplatform01.pof (http://sebastian.ramrod-network.de/Freespace/Misc/GunPlatform01.7z), but in-game it doesn't work, neither with or without the "surface shiels" flag.
-
Hm, then how did you make it in the first place? In trueSpace, as far as I can remember, shield meshes need to be painted with a colour only, not a texture...
-
I wish he had verified he tried my method, from the sound of it he did. I am sorry as I had planned on trying it earlier but RL issues cropped up and detracted me...
Plus I really had going into tables for non-project related stuff.
I'll import one and edit in the table data.
I'll try a quick one now! BRB
[Edit]: Done! Make/modify your own table. I ran out of time cause I was too busy making the shield work for some reason my first attempts didn't work? Should have worked the first time.
[attachment deleted by admin]
-
Heh. ty for the correction! :yes:
PCS2 doesn't work for me, so I didn't know that (or rather to be more precise, since it wont make cobs into pofs for me I never bothered to try any other functions) :)
Hrm, I just tested again, and I could import shield meshes...strange.
I swore it gave errors before...just like importing turrets and geometry, but they all work now?