CFW - Companion Framework

A place to discuss mods in development and concepts for new mods.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Yeah, but I got that from Prophet, so....
I haven't had a chance to play T yet (making a tutorial on how to make ships) but you might be interested in <OnGameStart> ;)

(plug for wiki)
There's also a list of events here:
http://transcendence.kronosaur.com/wiki ... xml/events
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

RPC wrote:you might be interested in <OnGameStart>
I looked at all those things, but <OnGameStart> apparently only works inside an adventure .xml. Dunno why we can't have it in a normal extension...
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Here's something I noticed:
The ares commune shows up at the center of the sun. To fix this, just change the image of vtCFWStation to

Code: Select all

<Image			imageID="&rsStations7;" imageX="0" imageY="0" imageWidth="1" imageHeight="1"/>
Can you explain why you commented out the virtual="true" on both virtual stations? (I noticed because green squares show up on the sun)

I think if you create them in every system they can still run events and receive objectdata even if they're still virtual stations.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Uhh. Did I?

Is there a Trak or something for Transcendence so I can bug someone to add a way to have code that just runs, without having to screw around with virtual stations?
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Here's trac link:

Trac!
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

RPC wrote:Here's trac link:

Trac!
That's incredibly helpful.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

So apparently Trac died in the last few days :/
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

I just uploaded a new version to Xelerus. Again, comments and suggestions are appreciated.

How to make your companion mod work with CFW (in three easy steps!):

1. Call (cfwRegister ship) when your companion joins up with the player.
2. Add <Events> that allow the companion to react to things that are happening! As of V0, the only event is <AngryTentacles>, which happens when the player is about to get eaten by a Teraton fabricator.
3. Add <StaticData> that tell CFW how much your wingman wants to react to the events taking place around him.

Look at CFWOverrides.xml and examine the three vanilla wingman overrides for an example.

http://xelerus.de/index.php?s=mod&id=1331
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
skaianDestiny
Miner
Miner
Posts: 32
Joined: Thu Feb 03, 2011 2:07 am

Hm, does this still work with 1.6?
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

skaianDestiny wrote:Hm, does this still work with 1.6?
Maybe. It's like eight years old now.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
Post Reply