ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Dec 03, 2020 4:33 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jun 01, 2020 9:25 am 
Offline
Higher

Joined: Thu Aug 26, 2010 3:46 pm
Posts: 57
Hi guys,

so, I'm having this problem but have no ideia where to start looking.
I'm using a ranged talent ("T_SHOOT" for instance) but the missile stays in my square. It only moves in the next round, after I do something. I first tought about projectile speed or something but it seems to be working allright, just a turn later

Any help would be appreciated, thx.


Top
 Profile  
 
PostPosted: Mon Jun 01, 2020 10:07 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 6138
Context would really help here, especially since this is a forum for discussing Modules make for running in the T4 Engine, not any specific game.

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
PostPosted: Mon Jun 01, 2020 12:22 pm 
Offline
Uruivellas

Joined: Wed Jan 22, 2014 1:46 pm
Posts: 743
this is normal, and the way all projectiles work in ToME.

First, your projectile need to have energy when you create it, otherwise it won't act until it has enough energy.
Second you need to ask it to act() after you're done instanciating it, otherwise even with energy it won't act until the next tick.

The most glaring in vanilla are called shots which say they're instant but are not despite having a huge amount of speed, and coupled with their weird targeting make them miss enemies more often than they hit.

_________________
I write guides and make addons too now, apparently

You can go here for a compilation of everything I wrote, plus some other important stuff!

Includes general guides (inscriptions, zone, prodigies), and class guides (Demo, Anorithil, Bulwark, Zerker, Sblade)


Top
 Profile  
 
PostPosted: Fri Oct 02, 2020 9:26 am 
Offline
Higher

Joined: Thu Aug 26, 2010 3:46 pm
Posts: 57
Thanks for the reply

I'm basically copying TOME so I use archeryShoot and all that, I didn't change the talents
Any ideias why it's acting this way? Could it have something to do with the main character himself? This module has several characters and I choose which one goes to the dungeon. Maybe when I switch "main" characters I have to do something to their energy or somesuch

Thanks again


Top
 Profile  
 
PostPosted: Sat Oct 03, 2020 11:13 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 6138
Three options.
1: The created projectile does not have enough Energy to move when immediately fired.
2: The T_SHOOT action is not costing Energy.
3: The actor using T_SHOOT has so much Energy that they are getting another action before anything else happens.

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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