intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Feb 22, 2018 9:28 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: fighting extension?
PostPosted: Tue Feb 06, 2018 12:55 am 
Offline

Joined: Wed Jan 04, 2017 12:47 am
Posts: 163
I just played Treasure of A Slaver's Kingdom and had the best time with it. In addition to its ridiculous humor, I particularly liked the fighting mechanic of it, which was similar to dice rolls, where the amount of damage you gave or took was a random number within a particular range based on the weapon/shield you carried or experience level.

Is there some extension that does this, or perhaps an extension that even does a better example of this?


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Tue Feb 06, 2018 6:42 am 
Offline

Joined: Mon Dec 15, 2014 9:15 am
Posts: 258
I don't know if there's an extension which does something really similar; there certainly are fighting extensions around, such as ATTACK. The source code for ToaSK is available at IFDB, so you could look at that. It's written in an older version of Inform 7 though, so some things would need adjusting.

(It's over 4 years now since SJohn left the forum. Hard to believe it's been so long.)


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Tue Feb 06, 2018 9:38 am 
Offline

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2358
Location: US - Central
Graham Nelson's The Reliques of Tolti Aph has fighting and dice-rolling. The source is available to study on the Inform 7 website.

http://inform7.com/learn/eg/rota/index.html

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Tue Feb 06, 2018 12:29 pm 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 5216
Location: Burlington, VT
The source code for Treasures of a Slaver's Kingdom is also available: https://drive.google.com/drive/folders/ ... TM3dE1Mamc


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Thu Feb 08, 2018 8:25 am 
Offline

Joined: Wed Jan 04, 2017 12:47 am
Posts: 163
lol and here i thought developing a fighting mechanic would be easy. clearly i still have a lot to learn about I7.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Mon Feb 12, 2018 2:27 pm 
Offline

Joined: Sun Jan 01, 2017 1:32 am
Posts: 42
Check out Inform ATTACK, by Victor Gijsbers. It is completely compatible with the latest I7 version. You can get it here.
Of course, if you want the absolute latest version, you can get it here.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Tue Feb 13, 2018 1:52 am 
Offline
User avatar

Joined: Sun Nov 22, 2009 12:58 pm
Posts: 747
Location: Malmö, Sweden
Dammit, I didn't realize Victor had released that to the general public. Here I was working my own take on ARMED. I feel silly now.

_________________
~Björn Paulsen


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Tue Feb 13, 2018 10:17 pm 
Offline

Joined: Wed Jan 04, 2017 12:47 am
Posts: 163
there's no documentation on Inform ATTACK? or did i dl it wrong?


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Wed Feb 14, 2018 12:31 am 
Offline

Joined: Tue Nov 08, 2011 8:11 am
Posts: 2358
Location: US - Central
Take a look at the source text. I checked earlier and it seemed to be commented very well.

_________________
http://hanonondricek.wixsite.com/pyramidif
https://pyramidif.itch.io


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: fighting extension?
PostPosted: Wed Feb 14, 2018 1:34 am 
Offline

Joined: Wed Jan 04, 2017 12:47 am
Posts: 163
ah ok, yeah, that's what i was trying to do, i just liked the way Eleas had his laid out for Basic Combat because it was very straightforward and clear-cut to me.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group