Search

Last Downloaded

Exe-256-1Saitek X36F

Login

Skeleton Scenario Code

Joco's Avatar Topic Author
Regular Regular
  • Posts: 148
  • Thanks: 0

Skeleton Scenario Code

20 years 9 months ago
#18398
Is there skeleton scenario code for starting up a scenario?
e.g. getting map loaded, setting up a ship, placing the player in the ship etc.

Looking for real basic stuff here. No fancy UI screens just start the scenario and bank you are in a ship at a location like Hoffar's Wake.

Ideally there would be code comments on what order the exported functions are called by the flux engine.

If there are resources already in place that describe this then please point me in that direction.

I've been trying to get something basic like this working and keep missing the mark. Pitty I deleted the samples like this I worked out a few years back. [V]

--- edit ---
Looks like I might have cracked it.

Thanks,
Joco.

Please Log in or Create an account to join the conversation.

GrandpaTrout's Avatar
King of Space King of Space
  • Posts: 1135
  • Thanks: 0

Re:

20 years 9 months ago
#12587
In the POG sdk there is a challenge_course.pog file that implements a scenario. Granted, it is way more complex than you need, but it is a working example. I have never actually built a scenario mod.

Please Log in or Create an account to join the conversation.

Joco's Avatar Topic Author
Regular Regular
  • Posts: 148
  • Thanks: 0

Re:

20 years 9 months ago
#12588
Thanks. That is what I have been using as my starter. Seem to have gotten it starting correctly now.

The thing that was stuffing me was that the mod code seems to get cached by EoC after the inital run. Having to stop/start the game to get code changes being effected was not something i expected.

Once I get this skeleton tidied up a bit I'll post it for anyone else to use.

--- edit ---
Yes - all working now. I can enter the game and move about the clusters no problems now. There is no traffic or anything but then that is just a perfect opportunity to instantiate a custom traffic system [8D].

Cheers,
Joco.

Please Log in or Create an account to join the conversation.

Joco's Avatar Topic Author
Regular Regular
  • Posts: 148
  • Thanks: 0

Re:

20 years 9 months ago
#12600
Right got it available online now. Anyone interested can get it from here:
homepages.paradise.net.nz/twl-jame/iwar/

Please Log in or Create an account to join the conversation.

Qlippoth's Avatar
Semi-Beginner Semi-Beginner
  • Posts: 41
  • Thanks: 1

Re:

20 years 9 months ago
#12602
Sorry for the off topic, Joco, do you do Neverwinter Nights stuff as well? The heading of your IWar page has NWN instead.

I'm into NWN as well (helping test Good vs. Evil), just wondering.

- Qlippoth

<div align="left"></div id="left">

Please Log in or Create an account to join the conversation.

Joco's Avatar Topic Author
Regular Regular
  • Posts: 148
  • Thanks: 0

Re:

20 years 9 months ago
#12605
oops - lol. Caught. Yeah I do NWN nights stuff as well. I wrote NWmax for NWN and do the tools work for the Dragonlance Adventures mod group.

Please Log in or Create an account to join the conversation.