Jump to content
Rpg²S Forum
  • 0

Battle Sistem Tattico


the-joker
 Share

Question

Ragazzi un po' di tempo fa ho trovato questo battle system.

 

http://www.megaupload.com/?d=Z6PJBWST

 

Qualcuno che ne capisce mi può spiegare l'essenziale per farlo funzionare?

 

Finora ho capito che le mappe in cui si combatte devono avere la [T] e anche le magie da utilizzare;

che i personaggi sono degli eventi chiamati actor1, actor2 ecc; che i mostri sono chiamati enemy1,2 ecc a seconda di come stanno nel database.

 

Ora vorrei capire una cosa. Come faccio ad assegnare alla morte di un certo mostro una variabile, in modo che qundo muoiono un paio di mostri succeda qualcosa?

E come faccio poi, dopo la battaglia a ritornare alla mappa precedente?

 

Grazie della disponibilità.

 

Edit: E se per cortesia mi spiegate il raggio d'azione come funziona (delle magie delle armi, ecc)

Edited by the-joker

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0
Scusate il doppio post ma....Non c'è nessuno??

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0

Non ho tempo di provarlo ora purtroppo, comunque se cerchi un bs tattico (ne vorrei implementare uno nel mio gioco!) ti consiglio il: "GTBS - GubiD's Tactical Battle System v1.3"

 

una sola parola: DEVASTANTE! il bs tattico DEFINITIVO!!

 

uno problema: è un casino implementarlo in un progetto già iniziato!!!

 

domani comunque scarico, provo e ti dico quello che hai postato! ^^

Finrod, GDR PBF

2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- Cappuccio

Mi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contest

http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/awards/bestresourCSist3.jpghttp://www.rpg2s.net/awards/mosthelpful2.jpghttp://www.rpg2s.net/awards/mostpresent2.jpg

 

 

 

Link to comment
Share on other sites

  • 0
Link to comment
Share on other sites

  • 0

Forse è quello che sto usando io in un gioco, anche nel mio le mappe devono avere [T] e i personaggi actor1 e enemy1.

 

Se è così ti posso dire che è uno script abbastanza personalizzabile e come si usa...

 

Per caso c'è all'inizio degli script:

# Zenith Tactical Battle System 
# Crée par Zenith	(http://zenith.ifdef.jp/)
# Traduction anglaise par Mac
# Traduction française par Samarium

 

e lo script è francese?

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0

Forse era quello...in ogni caso ora l'ho cambiato e uso il GTBS - GubiD's Tactical Battle System v1.3

come consigliatomi da Eikichi.

E' molto più comodo e più bello.

C'è però una cosa che non riesco a fare con il GubiD's...Eikichi ti posso magari mandare un PM per chiertertelo? Magari tu sai rispondermi. :wink:

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0

chiedi pure qui se vuoi, magari può essere utile ad altri ^^

 

sennò manda pure un pm

Finrod, GDR PBF

2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- Cappuccio

Mi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contest

http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/awards/bestresourCSist3.jpghttp://www.rpg2s.net/awards/mosthelpful2.jpghttp://www.rpg2s.net/awards/mostpresent2.jpg

 

 

 

Link to comment
Share on other sites

  • 0

Praticamente volevo creare una nuova magia per evocare.

Allora ho fatto così: sono andato nel database/eroi; sotto gylthir, che è quello che già c'era, ho aggiunto una mia evocazione: "Trakos"(l'id dell eroe Trakos è 037, quella di gylthir è 036).

Quindi sono andato in Skill e alla skill 122 ho creato la magia d'evocazione copiaincollando quella di gylthir che è la 106, modificando il nome ecc.

Dunque ho creato una nuova classe (la 15) per la nuova evocazione.

Poi sono andato in GTBS -Move/Weapons/Skills e sopra ho aggiunto questo

 

module GTBS

#=============================================================#

# Weapon and Skill Setup #

#=============================================================#

 

#-------------------------------------------------------------

# Summon Class - List of database_classes that belong to summons

#-------------------------------------------------------------

SUMMON_CLASS = [14]

SUMMON_CLASS = [15]

 

#-------------------------------------------------------------

# Summon ENEMY_ID - List of database enemies that are summons

#-------------------------------------------------------------

SUMMON_ENID = [36]

SUMMON_ENID = [37]

 

 

 

Ho aggiunto in questo modo l'eroe 37 e la sua classe (la 15) alla lista delle evocazioni.

 

Poi sotto dove c'è skill range ho messo la mia magia:

 

 

def self.skill_range(id)

list = []

case id

when 1; range = [2, 1, false, false] #Heal

when 6; range = [5, 0, false, false] #Raise

when 7; range = [2, 1, false, false] #Fire

when 8; range = [3, 2, false, false] #Greater Fire

when 13; range = [2, 1, false, false] #Thunder

when 15; range = [3, 2, false, false] #Mass Thunder

when 20; range = [3, 2, false, false] #Greater Earth

when 22; range = [3, 1, false, false] #Wind

when 37; range = [2, 0, false, false] #Mute

when 45; range = [2, 0, false, false] #Weaken

when 57; range = [2, 1, false, false] #crosscut

when 61: range = [2, 0, false, false] #leg swep

when 64; range = [3, 0, false, false] #screw thrust

when 69; range = [2, 0, false, false] #poisen edge

when 73; range = [3, 0, false, false] #bird killer

when 100; range = [3,1, false, true] #ivy

when 102; range = [0,0, false, false] #aura

when 106; range = [4,0, false, false] #Gilthyr - Summon

when 110; range = [2,0, true, true] #Dash!

when 122; range = [4,0, false, false] #krakos - Summon

else; range = [1, 0, false, false]

end

return range

end

 

 

 

E anche dove c'è skill wait:

 

#------------------------------------------------------------

# Skill Wait

# This item determines the Casting Time for a skill.

# Items set for 0 are immediate action skills

#------------------------------------------------------------

def self.skill_wait(id)

case id

when 1 ; w = 200

when 7 ; w = 350

when 100 ; w = 100

when 106 ; w = 890

when 122 ; w = 890

else; w = 0

end

return w

 

 

Ora.

Sopra allo script c'è questa parte:

 

 

#-------------------------------------------------------------

# Skill -> Summon Character ID

#-------------------------------------------------------------

def self.is_summon?(skill_id)

skill = $data_skills[skill_id]

return 0 if skill == nil

if skill.element_set.include?(17)

case skill_id

when 106

return 36 #<-- Means that when the skill is 106 then add character/enemy

#36 to the casters team

end

end

return 0 #if none returned... return 0

end

 

 

Io l'ho modificata così per aggiungere la mia evocazione:

 

 

#-------------------------------------------------------------

# Skill -> Summon Character ID

#-------------------------------------------------------------

def self.is_summon?(skill_id)

skill = $data_skills[skill_id]

return 0 if skill == nil

if skill.element_set.include?(17)

case skill_id

when 106

return 36 #<-- Means that when the skill is 106 then add character/enemy

#36 to the casters team

end

end

when 122

return 37 #<-- Means that when the skill is 122 then add character/enemy

#37 to the casters team

end

end

return 0 #if none returned... return 0

end

 

 

Purtroppo però ora, se provo ad evocare Trakos me lo evoca, ma non mi evoca gylthir, nè nello stesso combattimento nè in un altro, nè contemporaneamente le due evocazioni, nè una soltanto.

Posso evocare solo Trakos. :sisi:

Invece se elimino la parte che ho modificato io, riesco ad evocare solo Gylthir.

Potresti darmi qualche delucidazione su cosa sbaglio? :wink:

Grazie mille per l'attenzione.

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0

ehm....PROOOOOOOOOOOOOOOOOOOOOOOOOOOO! XD

 

qui ci vuole uno scripter!!! ^^

Finrod, GDR PBF

2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- Cappuccio

Mi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contest

http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/awards/bestresourCSist3.jpghttp://www.rpg2s.net/awards/mosthelpful2.jpghttp://www.rpg2s.net/awards/mostpresent2.jpg

 

 

 

Link to comment
Share on other sites

  • 0
Ehm :wink:

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0

mmm prova a cambiare questa parte dello script:

module GTBS
#=============================================================#
# Weapon and Skill Setup #
#=============================================================#

#-------------------------------------------------------------
# Summon Class - List of database_classes that belong to summons
#-------------------------------------------------------------
SUMMON_CLASS = [14]
SUMMON_CLASS = [15]

#-------------------------------------------------------------
# Summon ENEMY_ID - List of database enemies that are summons
#-------------------------------------------------------------
SUMMON_ENID = [36]
SUMMON_ENID = [37]

 

con questa:

module GTBS
#=============================================================#
# Weapon and Skill Setup #
#=============================================================#

#-------------------------------------------------------------
# Summon Class - List of database_classes that belong to summons
#-------------------------------------------------------------
SUMMON_CLASS = [14, 15]

#-------------------------------------------------------------
# Summon ENEMY_ID - List of database enemies that are summons
#-------------------------------------------------------------
SUMMON_ENID = [36, 37]

 

vedi se funziona altrimenti cambia anche questo

#-------------------------------------------------------------
# Skill -> Summon Character ID
#-------------------------------------------------------------
def self.is_summon?(skill_id)
skill = $data_skills[skill_id]
return 0 if skill == nil
if skill.element_set.include?(17)
case skill_id
when 106
return 36 #<-- Means that when the skill is 106 then add character/enemy
#36 to the casters team
end
end
when 122
return 37 #<-- Means that when the skill is 122 then add character/enemy
#37 to the casters team
end
end
return 0 #if none returned... return 0
end

 

con questo

#-------------------------------------------------------------
# Skill -> Summon Character ID
#-------------------------------------------------------------
def self.is_summon?(skill_id)
skill = $data_skills[skill_id]
return 0 if skill == nil
if skill.element_set.include?(17)
case skill_id
when 106
return 36 #<-- Means that when the skill is 106 then add character/enemy
#36 to the casters team
when 122
return 37 #<-- Means that when the skill is 122 then add character/enemy
#37 to the casters team
end
end
return 0 #if none returned... return 0
end

 

ma solo se il primo cambiamento non basta... se non va posta

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0

Grazie mille davvero!!! :rovatfl:

 

Ora funziona!

Era questa la parte sbagliata:

 

#-------------------------------------------------------------

# Skill -> Summon Character ID

#-------------------------------------------------------------

def self.is_summon?(skill_id)

skill = $data_skills[skill_id]

return 0 if skill == nil

if skill.element_set.include?(17)

case skill_id

when 106

return 36 #<-- Means that when the skill is 106 then add character/enemy

#36 to the casters team

when 122

return 37 #<-- Means that when the skill is 122 then add character/enemy

#37 to the casters team

end

end

return 0 #if none returned... return 0

end

 

 

Ma molto probabilmente entrambe.

Grazie ancora!

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0
:rovatfl:^^ Edited by mikb89

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...