Members | Sign In
All Forums > Mission Scripting
avatar

Damaged, but not?

posted Jul 21, 2011 02:40:39 by 5th_Wall_Gaming
<set_object_property name="Artemis" property="topSpeed" value=".5"/>

<set_object_property name="Artemis" property="systemDamageWarp" value="10000" />


I'm trying to set the ship to no warp and limited to impulse only. When I run this, There is no damage to the warp and while impulse seems to be slowed down, I can still warp, so topspeed doesn't seem to be working either.

Anyone know what I am doing wrong?
http://www.5thWallGaming.com
We make dreams reality
page   1
12 replies
avatar
ThomRobertson said Jul 21, 2011 02:48:38
Yeah, when I released 1.50, the internal damage model of PLAYER ships was fundamentally changed. If you want to damage internal systems now, you'd have to damage a point on a 3D grid. I haven't provided that command yet. I could, but it might be so confusing or unwieldy as to be unusable. I'm not sure what to do.
Creator of Artemis
avatar
5th_Wall_Gaming said Jul 21, 2011 03:00:49
Well, is this possible??

Declare point 3,3,3 as "Warp" (within ship data).
If I want to damage warp from the ship, I call it by "Warp".
The computer sees that I want to damage warp and looks at Ship Data and says, "Hrm. He didn't specify exactly where. So I will damage the first point that is tagged warp".

I'm not sure exactly how you are coding this.. But in my 15+ years of programing, this is how I would go about it.

Either case, applying damage to the players ship HAS to be able to be done via scripting if there is no other way except for the players to get shot.

If that doesn't work as a quick fix, how about explaining to me how to make topspeed limit warp as well. :) I would figure "X.Y" where x=warp and y=impulse and range from 0-10.

So 2.10 would be Max impulse the ship can go (based on vesseldata.xml and up to warp 2. 0.1 would be no warp, but 10 percent of max impulse. Ect.
http://www.5thWallGaming.com
We make dreams reality
avatar
5th_Wall_Gaming said Jul 21, 2011 03:01:04
Sorry. Got off topic.. How do I make topspeed influence warp? :)
http://www.5thWallGaming.com
We make dreams reality
avatar
Mike_Substelny said Jul 22, 2011 03:01:37
You can do what many Star Trek episodes did: suck out a bunch of energy. That will slow them down!
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
avatar
5th_Wall_Gaming said Jul 23, 2011 04:18:35
<set_player_grid_damage systemType="systemWarp" countFrom="front" index="100" value="1.0" />

Ran that and warp drives are not at all damaged when starting.
http://www.5thWallGaming.com
We make dreams reality
avatar
ThomRobertson said Jul 23, 2011 04:23:42
Cause you don't have 100 warp systems on your ship. I think you have 4 or 5.
Creator of Artemis
avatar
5th_Wall_Gaming said Jul 23, 2011 04:31:18
Ah. I thought I could put 100 and just cover myself. Like it's "Up to 100". :)
http://www.5thWallGaming.com
We make dreams reality
avatar
5th_Wall_Gaming said Jul 23, 2011 04:32:30
<set_player_grid_damage systemType="systemWarp" countFrom="front" index="4" value="1.0" />

Counted them. There are 4 warp sections. :)

Still no damage.
http://www.5thWallGaming.com
We make dreams reality
avatar
ThomRobertson said Jul 23, 2011 12:46:29
Still mis-communicating. index doesn't refer to how many systems get damaged. It refers to which one.

<set_player_grid_damage systemType="systemWarp" countFrom="front" index="3" value="1.0" />
<set_player_grid_damage systemType="systemWarp" countFrom="front" index="0" value="1.0" />

The above two lines will fully damage 2 of your 4 warp systems, the first and last one from front to back.
Creator of Artemis
avatar
5th_Wall_Gaming said Jul 23, 2011 18:13:01
Aaahhh... Ok. That makes sense.. :) I'll give that a try then.

So if I wanted to bring it down to 100% damage of all the warp systems, it would be

<set_player_grid_damage systemType="systemWarp" countFrom="front" index="3" value="1.0" />
<set_player_grid_damage systemType="systemWarp" countFrom="front" index="2" value="1.0" />
<set_player_grid_damage systemType="systemWarp" countFrom="front" index="1" value="1.0" />
<set_player_grid_damage systemType="systemWarp" countFrom="front" index="0" value="1.0" />

Right?
http://www.5thWallGaming.com
We make dreams reality
avatar
ThomRobertson said Jul 23, 2011 18:33:15
Yes, assuming 4 warp systems are in the ship (which is a valid assumption for V1.51) .
Creator of Artemis
avatar
Mike_Substelny said Jul 26, 2011 00:52:51
The above code snippets work in Artemis 1.51.
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
Login below to reply: