• Benvenuto in Making Videogames!
  • Dai sfogo alla tua fantasia!
  • Crea il tuo Videogioco!
Benvenuto ospite! Login Registrati




Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
problema character boss
#1
salve a tutti
di recente ho acquistato il character boss, del tgc store, che ha due modalita di combattimento: una col coltello e dopo usa la pistola.
il problema è che quando prende la pistola e ti spara, se lo colpisci fpsc si blocca e smette di funzionare.
lo script main è:
Codice:
desc          = Random Melee Attack

;Triggers

:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\huds\bond1\commandododge.tga,hudname=commandododge,hudhide=1,hudmake=display,state=2

;HEALTH CHECK
:state=1,healthless=200,shotdamage=9:state=50
:state=11,healthless=200,shotdamage=9:state=50
:state=12,healthless=200,shotdamage=9:state=50
:state=13,healthless=200,shotdamage=9:state=50
:state=14,healthless=200,shotdamage=9:state=50
:state=20,healthless=200,shotdamage=9:state=50
:state=21,healthless=200,shotdamage=9:state=50
:state=22,healthless=200,shotdamage=9:state=50
:state=23,healthless=200,shotdamage=9:state=50
:state=24,healthless=200,shotdamage=9:state=50
:state=25,healthless=200,shotdamage=9:state=50

;DETECT PLAYER
:state=2,plrdistwithin=100,plrcanbeseen:waypointstop,state=9,rotatetoplr,setframe=46,sound=audiobank\bond1\commandointro.wav
:state=2,shotdamage=1:waypointstop,state=9,rotatetoplr,setframe=46

;INTRO ANIMATION
:state=9:waypointstop,incframe=46
:state=9,frameatend=46:state=5

;CHOOSE MELEE ATTACK
:state=5,random=2:state=1
:state=5,random=2:state=20


;MELEE ATTACK 1
:state=1,plrdistfurther=60:waypointstop,rotatetoplr,runfore=2,animate=47
:state=1,plrdistwithin=60:waypointstop,rotatetoplr,setframe=48,state=11


:state=11,plrdistfurther=60:runfore=2
:state=11:incframe=48,rotatetoplr
:state=11,framebeyond=48 15:hudshow=commandododge,hudfadeout=commandododge
:state=11,framebeyond=48 60:state=12

:state=12:incframe=48
:state=12,scancodekeypressed=34,frameatend=48:setframe=50,state=14,sound=audiobank\bond1\commandomiss.wav
:state=12,frameatend=48:setframe=49,state=13,sound=audiobank\bond1\commandoconnect.wav

:state=13,plrdistfurther=60:runfore=2
:state=13:incframe=49,rotatetoplr
;:state=13,framewithin=49 20:movefore=1
:state=13,framebeyond=49 30,plrdistwithin=80:plraddhealth=-2,plrfreeze=1
:state=13,frameatend=49:plrfreeze=0,state=5

:state=14:incframe=50
:state=14,frameatend=50:state=5


;MELEE ATTACK 2
:state=20,plrdistfurther=60:waypointstop,rotatetoplr,runfore=2,animate=47
:state=20,plrdistwithin=60:waypointstop,rotatetoplr,setframe=51,state=21

:state=21,plrdistfurther=60:runfore=2
:state=21:incframe=51,rotatetoplr
:state=21,framebeyond=51 15:hudshow=commandododge,hudfadeout=commandododge
:state=21,framebeyond=51 60:state=22

:state=22:incframe=51
:state=22,scancodekeypressed=34,frameatend=51:setframe=53,state=24,sound=audiobank\bond1\commandomiss.wav
:state=22,frameatend=51:setframe=52,state=23,sound=audiobank\bond1\commandoconnect.wav

:state=23,plrdistfurther=60:runfore=2
:state=23:incframe=52,rotatetoplr
;:state=23,framewithin=52 20:movefore=1
:state=23,framebeyond=52 30,plrdistwithin=80:plraddhealth=-2,plrfreeze=1
:state=23,frameatend=52:plrfreeze=0,state=5

:state=24:incframe=53
:state=24,framebeyond=53 63,plrdistwithin=60:plraddhealth=-30,state=25
:state=24,frameatend=53:state=5
:state=25:incframe=53
:state=25,frameatend=53:state=5


;MID FIGHT HURT
:state=50:state=51
:state=51:rotatetoplr,setframe=54,state=52
:state=52:rotatetoplr,incframe=54
:state=52,frameatend=54:state=30

;SHOOT
:state=30,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,resethead
:state=30,plrdistwithin=300:runfore=2,animate=5

:state=30,ifweapon=0:state=38
:state=30,random=20:state=39
:state=30,shotdamage=1:rotatetoplr,state=37
:state=30,noiseheard=5:settarget,rotatetotarget,rotatetoplr,state=37
:state=30,ifweapon=1,plrcanbeseen:state=32


:state=31,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,resethead
:state=31,plrdistwithin=300:runfore=2,animate=5
:state=31:incframe=3,strafe=-90,rotatetoplr
:state=31,ifweapon=1,plrcanbeseen:useweapon,rundecal=6,animate=56
:state=31,frameatend=3:state=30,animate=56

:state=35:useweapon,rundecal=6,animate=56,state=30
:state=34:state=35
:state=33:state=34
:state=32:state=33

:state=36:incframe=4,strafe=90,rotatetoplr
:state=36,ifweapon=1,plrcanbeseen:useweapon,rundecal=6,animate=56
:state=36,frameatend=4:state=30,animate=56

:state=37,random=1:state=36,setframe=4
:state=37:state=31,setframe=3

:state=38:state=30,reloadweapon,sound=audiobank\guns\reload.wav

:state=39,plrcannotbeseen:state=40
:state=39:state=30
:state=40,random=1:rotatetoplr,strafe=135
:state=40,random=1:rotatetoplr,strafe=-135
:state=40,random=1:rotatetoplr,strafe=-65
:state=40,random=1:rotatetoplr,strafe=65
:state=40:state=37


;ROUNDHOUSE GUN
:state=31,plrdistwithin=65:rotatetoplr,setframe=55,state=60
:state=30,plrdistwithin=65:rotatetoplr,setframe=55,state=60


:state=60:incframe=55
:state=60,framewithin=55 40:movefore=2
:state=60,framebeyond=55 50,plrdistwithin=65:plraddhealth=-20,state=61
:state=60,frameatend=55:state=30
:state=61:incframe=55
:state=61,frameatend=55:state=30
e quello di destroy è
Codice:
;Artificial Intelligence Script

;Header

desc          = Fade Out Disappear

;Triggers

:state=0:hudreset,hudx=15,hudy=70,hudimagefine=gamecore\huds\bond1\commandodestroy.tga,hudname=commandodestroy,hudhide=1,hudmake=display,state=1,sound=audiobank\bond1\commandotired.wav

:state=1:animate=57
:state=1,plrdistwithin=100:hudshow=commandodestroy
:state=1,plrdistfurther=101:hudreset,hudunshow=commandodestroy
:state=1,plrdistwithin=100,scancodekeypressed=20:setframe=58,state=2,sound=audiobank\bond1\commandodie.wav
:state=1,plrdistwithin=100,scancodekeypressed=21:setframe=59,state=3,sound=audiobank\bond1\commandodie.wav
;:state=1,shotdamage=50:setframe=

:state=2:incframe=58,hudfadeout=commandodestroy
:state=2,frameatend=58:state=5,suspend,coloff,hudhide=commandodestroy

:state=3:incframe=59,hudfadeout=commandodestroy
:state=3,frameatend=59:state=5,suspend,coloff,hudhide=commandodestroy




;End of Script
sapete come fare per aiutarmi?
per favore

p.s. nello script c'erano dei comandi errati e li ho corretti per vedere se andava ma non cambia ugualmente
 
Rispondi
#2
da come vedo c'hai messo mani sullo script, riscaricatelo dallo store...
 
Rispondi
#3
certo che c'ho messo mano :con gli errori che c'erano dentro...
script originale main
Codice:
desc          = Random Melee Attack

;Triggers

:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\huds\bond1\commandododge.tga,hudname=commandododge,hudhide=1,hudmake=display,state=2

;HEALTH CHECK
:state=1,healthless=200,shotdamage=9:state=50
:state=11,healthless=200,shotdamage=9:state=50
:state=12,healthless=200,shotdamage=9:state=50
:state=13,healthless=200,shotdamage=9:state=50
:state=14,healthless=200,shotdamage=9:state=50
:state=20,healthless=200,shotdamage=9:state=50
:state=21,healthless=200,shotdamage=9:state=50
:state=22,healthless=200,shotdamage=9:state=50
:state=23,healthless=200,shotdamage=9:state=50
:state=24,healthless=200,shotdamage=9:state=50
:state=25,healthless=200,shotdamage=9:state=50

;DETECT PLAYER
:state=2,plrdistwithin=100,plrcanbeseen:waypointstop,state=9,rotatetoplr,setframe=46,sound=audiobank\bond1\commandointro.wav
:state=2,shotdamage=1:waypointstop,state=9,rotatetoplr,setframe=46

;INTRO ANIMATION
:state=9:waypointstop,incframe=46
:state=9,frameatend=46:state=5

;CHOOSE MELEE ATTACK
:state=5,random=2:state=1
:state=5,random=2:state=20


;MELEE ATTACK 1
:state=1,plrdistfurther=60:waypointstop,rotatetoplr,runfore=2,animate=47
:state=1,plrdistwithin=60:waypointstop,rotatetoplr,setframe=48,state=11


:state=11,plrdistfurther=60:runfore=2
:state=11:incframe=48,rotatetoplr
:state=11,framebeyond=48 15:hudshow=commandododge,hudfadeout=commandododge
:state=11,framebeyond=48 60:state=12

:state=12:incframe=48
:state=12,scancodekeypressed=34,frameatend=48:setframe=50,state=14,sound=audiobank\bond1\commandomiss.wav
:state=12,frameatend=48:setframe=49,state=13,sound=audiobank\bond1\commandoconnect.wav

:state=13,plrdistfurther=60:runfore=2
:state=13:incframe=49,rotatetoplr
;:state=13,framewithin=49 20:movefore=1
:state=13,framebeyond=49 30,plrdistwithin=80:plraddhealth=-2,plrfreeze=1
:state=13,frameatend=49:plrfreeze=0,state=5

:state=14:incframe=50
:state=14,frameatend=50:state=5


;MELEE ATTACK 2
:state=20,plrdistfurther=60:waypointstop,rotatetoplr,runfore=2,animate=47
:state=20,plrdistwithin=60:waypointstop,rotatetoplr,setframe=51,state=21

:state=21,plrdistfurther=60:runfore=2
:state=21:incframe=51,rotatetoplr
:state=21,framebeyond=51 15:hudshow=commandododge,hudfadeout=commandododge
:state=21,framebeyond=51 60:state=22

:state=22:incframe=51
:state=22,scancodekeypressed=34,frameatend=51:setframe=53,state=24,sound=audiobank\bond1\commandomiss.wav
:state=22,frameatend=51:setframe=52,state=23,sound=audiobank\bond1\commandoconnect.wav

:state=23,plrdistfurther=60:runfore=2
:state=23:incframe=52,rotatetoplr
;:state=23,framewithin=52 20:movefore=1
:state=23,framebeyond=52 30,plrdistwithin=80:plraddhealth=-2,plrfreeze=1
:state=23,frameatend=52:plrfreeze=0,state=5

:state=24:incframe=53
:state=24,framebeyond=53 63,plrdistwithin=60:plraddhealth=-30,state=25
:state=24,frameatend=53:state=5
:state=25:incframe=53
:state=25,frameatend=53:state=5


;MID FIGHT HURT
:state=50:state=51
:state=51:rotatetoplr,setframe=54,state=52
:state=52:rotatetoplr,incframe=54
:state=52,frameatend=54:state=30

;SHOOT
:state=30,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,resethead
:state=30,plrdistwithin=300:runfore=2,animate=5

:state=30,ifweapon=0:state=38
:state=30,random=20:state=39
:state=30,shotdamage=1:rotatetoplr,state=37
:state=30,noiseheard=5:settarget,rotatetotarget,rotatetoplr,state=37
:state=30,ifweapon=1,plrcanbeseen:state=32


:state=31,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,resethead
:state=31,plrdistwithin=300:runfore=2,animate=5
:state=31:incframe=3,strafe=-90,rotatetoplr
:state=31,ifweapon=1,plrcanbeseen:useweapon,rundecal=6,animate=56
:state=31,frameatend=3:state=30,animate=56

:state=35:useweapon,rundecal=6,animate=56,state=30
:state=34:state=35
:state=33:state=34
:state=32:state=33

:state=36:incframe=4,strafe=90,rotatetoplr
:state=36,ifweapon=1,plrcanbeseen:useweapon,rundecal=6,animate=56
:state=36,frameatend=4:state=30,animate=56

:state=37,random=1:state=36,setframe=4
:state=37:state=31,setframe=3

:state=38:state=30,reloadweapon,sound=audiobank\guns\reload.wav

:state=39,plrcannotbeseen:state=40
:state=39:state=30
:state=40,random=1:rotatetoplr,strafe=135
:state=40,random=1:rotatetoplr,strafe=-135
:state=40,random=1:rotatetoplr,strafe=-65
:state=40,random=1:rotatetoplr,strafe=65
:state=40:state=37


;ROUNDHOUSE GUN
:state=31,plrdistwithin=65:rotatetoplr,setframe=55,state=60
:state=30,plrdistwithin=65:rotatetoplr,setframe=55,state=60


:state=60:incframe=55
:state=60:framewithin=55 40:movefore=2
:state=60,framebeyond=55 50,prdistwithin=65:plraddhealth=-20,state=61
:state=60,frameatend=55:state=30
:state=61:incframe=55
:state=61,frameatend=55:state=30

destroy originale
Codice:
;Artificial Intelligence Script

;Header

desc          = Fade Out Disappear

;Triggers

:state=0:hudreset,hudx=15,hudy=70,hudimagefine=gamecore\huds\bond1\commandodestroy.tga,hudname=commandodestroy,hudhide=1,hudmake=display,state=1,sound=audiobank\bond1\commandotired.wav

:state=1:animate=57
:state=1,plrdistwithin=100:hudshow=commandodestroy
:state=1,plrdistfurther=101:hudreset,hudunshow=commandodestroy
:state=1,plrdistwithin=100,scancodekeypressed=20:setframe=58,state=2,sound=audiobank\bond1\commandodie.wav
:state=1,plrdistwithin=100,scancodekeypressed=21:setframe=59,state=3,sound=audiobank\bond1\commandodie.wav
;:state=1,shotdamage=50:setframe=

:state=2:incframe=58,hudfadeout=commandodestroy
:state=2,frameatend=58:state=5,suspend,coloff,hudhide=commandodestroy

:state=3:incframe=59,hudfadeout=commandodestroy
:state=3,frameatend=59:state=5,suspend,coloff,hudhide=commandodestroy




;End of Script
 
Rispondi
#4
Ciao
Si, effettivamente ci sono un po di errori nello script in main, "santo cielo" Confused

Comunque nei miei test non ha crashato, può darsi che sia proprio l'entità a dare dei problemi.

Io purtroppo non provato con il tuo boss, perchè non possiedo si è offerta volontaria Aiko e l'ho trivellata di colpi ma niente non crasha.

Tra l'altro non ho trovato nello store nessun personaggio con nome Boss, ma qual'è ?

Tax
 
Rispondi
#5
nome: boss commando
filmato: http://www.youtube.com/watch?v=un8Iz4ZcxPU
ora provo con un character normale a vedere che fa
(volevo mettere uno screen ma da "Per favore correggi i seguenti errori prima di continuare:
•Il tipo di file che hai allegato non è permesso. Per favore rimuovi l'allegato o scegli un tipo di file differente")
 
Rispondi
#6
ho rimosso io gli allegati, perchè appesantisce il carico del database.
 
Rispondi
#7
va riscritto ci sono azioni inconcludenti
questo script e un miscuglio

Codice PHP:
desc          Random Melee Attack

;Triggers

:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\huds\bond1\commandododge.tga,hudname=commandododge,hudhide=1,hudmake=display,state=2

;HEALTH CHECK
:state=1,healthless=200,shotdamage=9:state=50
:state=11,healthless=200,shotdamage=9:state=50
:state=12,healthless=200,shotdamage=9:state=50
:state=13,healthless=200,shotdamage=9:state=50
:state=14,healthless=200,shotdamage=9:state=50
:state=20,healthless=200,shotdamage=9:state=50
:state=21,healthless=200,shotdamage=9:state=50
:state=22,healthless=200,shotdamage=9:state=50
:state=23,healthless=200,shotdamage=9:state=50
:state=24,healthless=200,shotdamage=9:state=50
:state=25,healthless=200,shotdamage=9:state=50

;DETECT PLAYER
:state=2,plrdistwithin=100,plrcanbeseen:waypointstop,state=9,rotatetoplr,setframe=46,sound=audiobank\bond1\commandointro.wav
:state=2,shotdamage=1:waypointstop,state=9,rotatetoplr,setframe=46

;INTRO ANIMATION
:state=9:waypointstop,incframe=46
:state=9,frameatend=46:state=5

;CHOOSE MELEE ATTACK
:state=5,random=2:state=1
:state=5,random=2:state=20


;MELEE ATTACK 1
:state=1,plrdistfurther=60:waypointstop,rotatetoplr,runfore=2,animate=47
:state=1,plrdistwithin=60:waypointstop,rotatetoplr,setframe=48,state=11


:state=11,plrdistfurther=60:runfore=2
:state=11:incframe=48,rotatetoplr
:state=11,framebeyond=48 15:hudshow=commandododge,hudfadeout=commandododge
:state=11,framebeyond=48 60:state=12

:state=12:incframe=48
:state=12,scancodekeypressed=34,frameatend=48:setframe=50,state=14,sound=audiobank\bond1\commandomiss.wav
:state=12,frameatend=48:setframe=49,state=13,sound=audiobank\bond1\commandoconnect.wav

:state=13,plrdistfurther=60:runfore=2
:state=13:incframe=49,rotatetoplr
;:state=13,framewithin=49 20:movefore=1
:state=13,framebeyond=49 30,plrdistwithin=80:plraddhealth=-2,plrfreeze=1
:state=13,frameatend=49:plrfreeze=0,state=5

:state=14:incframe=50
:state=14,frameatend=50:state=5


;MELEE ATTACK 2
:state=20,plrdistfurther=60:waypointstop,rotatetoplr,runfore=2,animate=47
:state=20,plrdistwithin=60:waypointstop,rotatetoplr,setframe=51,state=21

:state=21,plrdistfurther=60:runfore=2
:state=21:incframe=51,rotatetoplr
:state=21,framebeyond=51 15:hudshow=commandododge,hudfadeout=commandododge
:state=21,framebeyond=51 60:state=22

:state=22:incframe=51
:state=22,scancodekeypressed=34,frameatend=51:setframe=53,state=24,sound=audiobank\bond1\commandomiss.wav
:state=22,frameatend=51:setframe=52,state=23,sound=audiobank\bond1\commandoconnect.wav

:state=23,plrdistfurther=60:runfore=2
:state=23:incframe=52,rotatetoplr
;:state=23,framewithin=52 20:movefore=1
:state=23,framebeyond=52 30,plrdistwithin=80:plraddhealth=-2,plrfreeze=1
:state=23,frameatend=52:plrfreeze=0,state=5

:state=24:incframe=53
:state=24,framebeyond=53 63,plrdistwithin=60:plraddhealth=-30,state=25
:state=24,frameatend=53:state=5
:state=25:incframe=53
:state=25,frameatend=53:state=5


;MID FIGHT HURT
:state=50:state=51
:state=51:rotatetoplr,setframe=54,state=52
:state=52:rotatetoplr,incframe=54
:state=52,frameatend=54:state=30

;SHOOT
:state=30,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,rotatehead=1
:state=30,plrdistwithin=300:runfore=2,animate=5

:state=30,ifweapon=0:state=38
:state=30,random=20:state=39
:state=30,shotdamage=1:rotatetoplr,state=37
:state=30,noiseheard=5:settarget,rotatetotarget,rotatetoplr,state=37
:state=30,ifweapon=1,plrcanbeseen:state=32


:state=31,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,rotatehead=1
:state=31,plrdistwithin=300:runfore=2,animate=5
:state=31:incframe=3,strafe=-90,rotatetoplr
:state=31,ifweapon=1,plrcanbeseen:useweapon,rundecal=6,animate=56
:state=31,frameatend=3:state=30,animate=56

:state=35:useweapon,rundecal=6,animate=56,state=30
:state=34:state=35
:state=33:state=34
:state=32:state=33

:state=36:incframe=4,strafe=90,rotatetoplr
:state=36,ifweapon=1,plrcanbeseen:useweapon,rundecal=6,animate=56
:state=36,frameatend=4:state=30,animate=56

:state=37,random=1:state=36,setframe=4
:state=37:state=31,setframe=3

:state=38:state=30,reloadweapon,sound=audiobank\guns\reload.wav

:state=39,plrcannotbeseen:state=40
:state=39:state=30
:state=40,random=1:rotatetoplr,strafe=135
:state=40,random=1:rotatetoplr,strafe=-135
:state=40,random=1:rotatetoplr,strafe=-65
:state=40,random=1:rotatetoplr,strafe=65
:state=40:state=37


;ROUNDHOUSE GUN
:state=31,plrdistwithin=65:rotatetoplr,setframe=55,state=60
:state=30,plrdistwithin=65:rotatetoplr,setframe=55,state=60


:state=60:incframe=55
:state=60,framewithin=55 40:movefore=2
:state=60,framebeyond=55 50,plrdistwithin=65:plraddhealth=-20,state=61
:state=60,frameatend=55:state=30
:state=61:incframe=55
:state=61,frameatend=55:state=30 


ho fatto qualche piccola modifica guarda se funge
si dovrebbero eliminare delle azioni sono inutili
 
Rispondi
  


Discussioni simili
Discussione Autore Risposte Letto Ultimo messaggio
  Rig Character 3DS Max Tiazz 1 610 04-07-2014, 11:56 AM
Ultimo messaggio: springofdajuwn
  Smooth Boss Pc23 5 495 02-04-2011, 10:57 AM
Ultimo messaggio: Alche

Vai al forum:


Browsing: 2 Ospite(i)