News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 298
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 339
Total: 339

Author Topic: [SPAWNCLASS] Rapid Starting Equipment  (Read 3086 times)

0 Members and 67 Guests are viewing this topic.

[SPAWNCLASS] Rapid Starting Equipment
« on: »
Rapid Starting Equipment

Several weeks ago, dissatisfied with the design of "Adventurers Starting Gear", I started looking for alternative methods to make equipment available at the beginning of the game. 

Spoiler (hover to show)

After a couple of quick checks, I can now confirm that this new method works perfectly to provide starting items to the player.  It is a perfect 1-click alternative to "Adventurer's Starting Gear", and can be easily extended for use in other mods.  And it only modifies 1 (semi-hidden) quest to do it! 

A sample starting-gear spawnclass (which I developed for @Kevin Boyle to use with his Titan class) is included as an example. 

Download link (MEGA folder):
MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now
mega.nz



« Last Edit: July 29, 2018, 02:38:08 pm by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

Share on Bluesky Share on Facebook


Re: [SPAWNCLASS] Rapid Starting Equipment
« Reply #1 on: »
Nice work LordNyriox! I need to learn about quests too, bcos thats really the path to "new content". Thanks for sharing!


Re: [SPAWNCLASS] Rapid Starting Equipment
« Reply #2 on: »
Awesome mod!

LOVE it!

Thank you - much appreciation @Lord Nyriox!

Re: [SPAWNCLASS] Rapid Starting Equipment
« Reply #3 on: »
After a couple of quick checks, I can now confirm that this new method works perfectly to provide starting items to the player.  It is a perfect 1-click alternative to "Adventurer's Starting Gear", and can be easily extended for use in other mods.  And it only modifies 1 (semi-hidden) quest to do it!
So basically, every modder that wants this new method will only need the
A1-STARTOFGAME.DAT
with a reward
<STRING>TREASURECLASS:QUESTREWARD_STARTOFGAME
and a customspawnclass.dat with the
<STRING>NAME:QUESTREWARD_STARTOFGAME
Then all starting equipment/items would be conflict-free as long as no one will directly modify the NPC destroyer's function in echopass.

Amazing! Good job @Lord Nyriox !

Re: [SPAWNCLASS] Rapid Starting Equipment
« Reply #4 on: »
Nice work LordNyriox! I need to learn about quests too, bcos thats really the path to "new content". Thanks for sharing!

All I did was tweak the hidden "talk to the Destroyer" quest, to add a "TreasureClass" tag to it.  The quest is
Code: (PATH) [Select]
MEDIA/QUESTS/TL2MAINQUEST/ACT1/A1-STARTOFGAME.DATI assigned it a custom spawnclass called "QUESTREWARD_STARTOFGAME". 


So basically, every modder that wants this new method will only need the
Spoiler (hover to show)
Then all starting equipment/items would be conflict-free as long as no one will directly modify the NPC destroyer's function in echopass.

Essentially, yes.  You can also change the XP, Gold, and/or Fame rewards while you are at it, in order to test high-level mechanics without using the console.

Most notably, however, because this one quest is completed without any dialog of its own, every single item that successfully rolls from this SpawnClass is provided all at once—directly into the player's inventory. 

A normal quest would force players to pick just one item, via the "quest completion" dialog.

Note that I am planning on eventually posting a finalized "reference implementation" (using a renamed variant of the "Adventurer's Starting Gear" SpawnClass), with some proper documentation. 

The currently posted source is an early draft, that I originally created for @Kevin Boyle's Titan armor project.  It includes some unrelated files, and therefore needs some cleanup. 

P.S.  Technically, you can use any SpawnClass name under the TreasureClass tag, but I chose the name "QUESTREWARD_STARTOFGAME" for consistency with equivalent vanilla SpawnClasses. 
« Last Edit: August 27, 2018, 04:54:31 pm by Lord Nyriox »
I am off to Tamriel, seeking new adventures, great and small.  One day, I might return to Novastraia and show what I have learned.

 

Recent Topics+-