Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
zorilya

Registered:
Posts: 35
Reply with quote  #1 
I believe this has been a problem for a while but recently when I was considering the best options for personalizing stations and giving them unique information I noticed that despite having a description text in the vesselData.xml, stations didn't show any descriptions or take a race/class change using the set_ship_text command.

I have since just spawned stations that i wanted to change as neutrals and told them to stop!!! but I feel like the station object could be useful in other ways... comm responses etc.

can anyone confirm and if so, any chance of a fix from the folks with the game source files?
ryleyra

Registered:
Posts: 3,214
Reply with quote  #2 
Stations have never displayed a description. It wasn't needed prior to Artemis 2.1, as all bases were the same and there was no need to describe them. When Thom added the different types of bases, they all still had the same description as the original Deep Space Base. The vesselData he added in 2.3 had a different description for each base.

I don't know why description has not been implemented yet, but I am hopeful that once it is, at least the vesselData will be correct and will display whatever is defined there.

Note this isn't a scripting issue, it occurs in all game modes. Also, enemy bases (in missions, Deep Strike or Border War modes) don't display description either. I'm actually not sure if the set_ship_text command would work on bases, although I suppose if it can change the name, it can change the description once it is displayed.
Menbailee

Registered:
Posts: 48
Reply with quote  #3 
I'm glad this isn't just me!  I've tried to give stations custom descriptions (like a population count for a civilian station, things like that) and there's nothing there for the science officer to see.  Would be nice if I could add custom text to stations.
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #4 
In general Science cannot find out anything about friendly units. With stations this is particularly annoying. The best a mission script can do is uses pop-ups of occasional Comms messages to reveal information or story elements involving stations.
__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
ryleyra

Registered:
Posts: 3,214
Reply with quote  #5 

Quote:
Originally Posted by Mike Substelny
In general Science cannot find out anything about friendly units. With stations this is particularly annoying. The best a mission script can do is uses pop-ups of occasional Comms messages to reveal information or story elements involving stations.


Actually, I'm fairly sure friendly ships display everything but shield frequencies. Player ships also do not display Intel, but friendly ships do.

I was really hoping description would be added in 2.3, since there is now a description available for bases. But I'm still hopeful it will be an easy thing to add in an upcoming release.

Menbailee

Registered:
Posts: 48
Reply with quote  #6 
Yep, I've used the descriptions on friendly ships to add some flavor in missions.  It's the sort of thing the science officer may or may not notice or report, but it's there.

While we're on the topic, is there any way to *suppress* the random information like "the captain is cowardly", etc.?  It's a bit odd if I describe a captain as courageous and wily, and the game goes right out and contradicts that.
ryleyra

Registered:
Posts: 3,214
Reply with quote  #7 
You can use set_special to set the captain's type to something else ("brave") or delete it entirely. ("nothing")

I need to check that set_special can set the ship type ("overpowered") if it is set in an event after the ship is created. I know that if it is set right after the ship is created, the description doesn't show up, but the shield strength is still modified.

Menbailee

Registered:
Posts: 48
Reply with quote  #8 
set_special was what I had tried, though in 2.3 it resulted in the special being *added* to what the game randomly generated.  The especially odd part was how some set_special options for the captain resulted in friendly ships sending hostile taunts to the player.  I got rid of all of my set_special commands for this reason.  Am I doing something wrong here?  I'll see if it works differently in 2.4
ryleyra

Registered:
Posts: 3,214
Reply with quote  #9 
That's interesting. I've never seen that behavior, although I didn't do a lot of research on 2.3. 2.4 came out before I could do much with it. For instance, I don't know if set_special is able to set elite abilities in 2.3, or if that was introduced in 2.4. Let me run down your post and see if I can figure out what is wrong, though.

The syntax to set the ship and captain type is:

<set_special name="myShip" ship="-1" captain="-1"/>

The above should set both ship and captain type to "nothing" for the ship "myShip". In 2.3 the ship types are:

0=dilapidated
1=upgraded
2=overpowered
3=underpowered

In 2.4 dilapidated is removed, so 0 is upgraded, 1 is overpowered and so on.

Captain types are:

0=cowardly
1=brave
2=bombastic
3=seething
4=duplicitous
5=exceptional

These values should be integer settings, not bits, so it shouldn't be POSSIBLE to make a captain both "cowardly" and "brave". Of course, you may have set a ship type and confused it with captain type, so for instance you could have set "upgraded" and still had "cowardly".

As of 2.4, there is a new property, "ability", which is used to set what used to be called Elite Abilities. Those WERE bits, so you can set multiple abilities. Each is set with one set_special command, so as of 2.4 you can create a Warp driven ship with a Tractor beam as follows:

<set_special name="myShip"ability="Warp"/>
<set_special name="myShip"ability="Tractor"/>

This will add BOTH the Warp and Tractor specials, you can't remove a special by adding another. So there's another command to remove it:

<set_special name="myShip" clear="Warp"/>

This will remove Warp drive from the ship's ability list.

Now, as I said above, I don't know if this was implemented in 2.3 and just not mentioned, or implemented in 2.4. I also don't know what happens if you add an ability which isn't on the list of valid abilities. So I'll note you MIGHT have done something like this:

<set_special name="myShip" ability="brave"/>

I have no idea what this would do, but it just might add the work "brave" to the ability list while not removing "cowardly" from the Intel section. Of course, they'd be in two different places, but it might work. I'm not saying this is what happened, maybe you did set captain="1" and brave still showed up.

I did note that if you call set_special in the same event where the ship is created, the shield strength still shows up for "underpowered" or "overpowered", even though the name is removed from Intel. I'm not sure if this is a sign of a bigger issue.

Setting "bombastic" for a friendly ship definitely sends hostile taunts to Comms. However, I don't feel those taunts are directed at the player, I feel they're directed at the enemy, and Comms overhears them. Some taunts do refer to "Terrans" or the like, though. So they could use to be made a big more intelligent. (For instance, I'll note that even if you are playing a Star Trek mod, where you have renamed the race, the enemy still calls you "Terrans")
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,990
Reply with quote  #10 
Quote:
Originally Posted by ryleyra
Setting "bombastic" for a friendly ship definitely sends hostile taunts to Comms. However, I don't feel those taunts are directed at the player, I feel they're directed at the enemy, and Comms overhears them. Some taunts do refer to "Terrans" or the like, though. So they could use to be made a big more intelligent. (For instance, I'll note that even if you are playing a Star Trek mod, where you have renamed the race, the enemy still calls you "Terrans")


I believe this is what Thom intended. Bombastic captains have never been fully implemented and my hope is that in the future they will actually affect game play.

I also would like to see the races play more of a role in ship and captain type. For instance, exceptional, brave and bombastic captains should be common among the Ximni. Cowardly captains should be common among the Kraliens. Seething captains should be common among the Torgoth and Arvonians. Duplicitous captains should be common among the Skaraans and very rare among the Ximni.



__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
ryleyra

Registered:
Posts: 3,214
Reply with quote  #11 
I have yet to figure out what exceptional does. (hint, hint)
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.