TA: Kingdoms Community Forum
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Zhon Cannoe - Zontri

View previous topic View next topic Go down 
AuthorMessage
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Zhon Cannoe - Zontri   Mon Jul 08, 2013 7:13 pm

I changed the weapon launch sounds in two parts of the script with the one that the rolling tower uses. I saved the .bos file, packed, tried it, and I get the same fire weapon sound from before. I have win7 64bit, do you guys think this could be an issue? Nothing works every time I do a change with scriptor, even for simple stuff like changing sounds.

_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
DeeKay
Administrator
avatar

Posts : 513
Reputation : 28
Join date : 2011-03-19
Age : 18
Location : Brazil - SP

PostSubject: Re: Zhon Cannoe - Zontri   Mon Jul 08, 2013 7:23 pm

KD-Sage wrote:
I changed the weapon launch sounds in two parts of the script with the one that the rolling tower uses. I saved the .bos file, packed, tried it, and I get the same fire weapon sound from before. I have win7 64bit, do you guys think this could be an issue? Nothing works every time I do a change with scriptor, even for simple stuff like changing sounds.

Did you compile it? xDD
Stupid question, but you said you just saved the .bos file. xD

Also, how are you defining the sounds? They should be defined like that: play-sound( "*****SOUNDNAME****", PLAYSOUND_PRIORITY_BATTLE );

_________________


Nick: DeeKay
GameRanger Account ID: 1184157
E-mail (Skype, Outlook and Facebook): Henrique-MS@Outlook.com
All TA:K Downloads Youtube Channel: http://www.youtube.com/AllTAKDownloads
All TA:K Downloads Facebook Page: https://www.facebook.com/AllTAKDownloads

Back to top Go down
View user profile http://alltakdownloads.6te.net/
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Re: Zhon Cannoe - Zontri   Mon Jul 08, 2013 9:45 pm

I struggled compiling a file for a while until someone told me that you can't recompile files back into .cob. So whatever changes you make they have to be done in .bos format and saved that way. And also you need both files the original .cob and .bos for the unit to work.

_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
DeeKay
Administrator
avatar

Posts : 513
Reputation : 28
Join date : 2011-03-19
Age : 18
Location : Brazil - SP

PostSubject: Re: Zhon Cannoe - Zontri   Mon Jul 08, 2013 10:43 pm

KD-Sage wrote:
I struggled compiling a file for a while until someone told me that you can't recompile files back into .cob. So whatever changes you make they have to be done in .bos format and saved that way. And also you need both files the original .cob and .bos for the unit to work.

Eh, what? I don't follow all these "rules" and everything works.
Back to top Go down
View user profile http://alltakdownloads.6te.net/
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Re: Zhon Cannoe - Zontri   Mon Jul 08, 2013 11:39 pm

Can you write step by step on how to deal with an Otak unit on descripting and recompiling after a change has been made? Maybe I'm doing something wrong.

_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
DeeKay
Administrator
avatar

Posts : 513
Reputation : 28
Join date : 2011-03-19
Age : 18
Location : Brazil - SP

PostSubject: Re: Zhon Cannoe - Zontri   Tue Jul 09, 2013 9:19 am

Okay then, here we go:

First you open scriptor:


Then click open and select .cob files if you are going to decompile:


Select your .cob:


Check these options:


And Descript, it's going to seem like that:


Let's try a change, when Elsin fires his first attack:


Don't forget put parenthesis into "get CURRENT_SPEED":


Click Save .bos here (in the little disk):


Click compile:


Check if no errors have been found by Scriptor:


Take your .cob and pack it into your mod:


Okay now, here is my little mod:


And Here is what happen in-game:


Lol. ;D

_________________


Nick: DeeKay
GameRanger Account ID: 1184157
E-mail (Skype, Outlook and Facebook): Henrique-MS@Outlook.com
All TA:K Downloads Youtube Channel: http://www.youtube.com/AllTAKDownloads
All TA:K Downloads Facebook Page: https://www.facebook.com/AllTAKDownloads

Back to top Go down
View user profile http://alltakdownloads.6te.net/
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Re: Zhon Cannoe - Zontri   Tue Jul 09, 2013 12:34 pm

Awesome, thanks man. I always had errors trying to recompile the .cob. I'll definitely try this.

I did it just like you posted, but I get this error:

"Compiling Bos...
Compiling sfxtype.h
Compiling exptype.h
Compiling SmokeUnit.h
Compiling SFXtype.h
Compiling EXPtype.h
Error (34): Expected identifier [ C:\Users\Owner\Desktop\The NewEra 3.8\scripts\zontri.bos ]
Error (34): Invalid PreProcessor command 'INF' [ C:\Users\Owner\Desktop\The NewEra 3.8\scripts\zontri.bos ]

One or more errors occured while compiling the script."

The INF is on every animation.

Would the changes I made still work even If I get an error compiling?

_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
DeeKay
Administrator
avatar

Posts : 513
Reputation : 28
Join date : 2011-03-19
Age : 18
Location : Brazil - SP

PostSubject: Re: Zhon Cannoe - Zontri   Tue Jul 09, 2013 1:07 pm

KD-Sage wrote:
Awesome, thanks man. I always had errors trying to recompile the .cob. I'll definitely try this.

I did it just like you posted, but I get this error:

"Compiling Bos...
Compiling sfxtype.h
Compiling exptype.h
Compiling SmokeUnit.h
Compiling SFXtype.h
Compiling EXPtype.h
Error (34): Expected identifier    [ C:\Users\Owner\Desktop\The NewEra 3.8\scripts\zontri.bos ]
Error (34): Invalid PreProcessor command 'INF'    [ C:\Users\Owner\Desktop\The NewEra 3.8\scripts\zontri.bos ]

One or more errors occured while compiling the script."

The INF is on every animation.

Where exactly?

KD-Sage wrote:
Would the changes I made still work even If I get an error compiling?

Depends of the gravity of the error. If it's of none importance (just a warning), it will continue compiling. If it is important, it will stop compiling.
You can notice if it compiled, it will show:
"Making Cob...
Wrote %path%\name.cob"

If it doesn't show, it didn't compile.

_________________


Nick: DeeKay
GameRanger Account ID: 1184157
E-mail (Skype, Outlook and Facebook): Henrique-MS@Outlook.com
All TA:K Downloads Youtube Channel: http://www.youtube.com/AllTAKDownloads
All TA:K Downloads Facebook Page: https://www.facebook.com/AllTAKDownloads

Back to top Go down
View user profile http://alltakdownloads.6te.net/
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Re: Zhon Cannoe - Zontri   Wed Jul 10, 2013 12:24 am

I finally fixed it. For some reason I couldn't recompile .cob files back because I needed the angular and linear values. Mine for some reason were set to 0.000000. They are located under script/ settings.

Linear = 163840.000000
Angular = 182.000000

Both Output file and directory need to be checked.

_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
Vaerun

avatar

Posts : 104
Reputation : 0
Join date : 2008-08-09

PostSubject: Re: Zhon Cannoe - Zontri   Wed Jul 10, 2013 12:38 am

There you go Sage! Put that education to work! J/K Good Job.

Vaerun
Back to top Go down
View user profile
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Re: Zhon Cannoe - Zontri   Wed Jul 10, 2013 12:53 am


_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
Sage
Lead Designer of Ta Kingdoms: The New Era
avatar

Posts : 1034
Reputation : 3
Join date : 2008-08-02
Age : 30
Location : West Haven

PostSubject: Re: Zhon Cannoe - Zontri   Sat Jul 16, 2016 11:21 pm

This issue has been solved; therefore, I'm closing this thread.

_________________
http://takuniverse.webs.com/ - TAK downloads
www.cristian-fuentealba.com - Graphic Design
GameRanger ID: 4138935
Back to top Go down
View user profile http://cristian-fuentealba.com
Sponsored content




PostSubject: Re: Zhon Cannoe - Zontri   

Back to top Go down
 
Zhon Cannoe - Zontri
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TA: Kingdoms Community Forum :: MODS & 3RD PARTY :: The NewEra Expansion Project :: Bugs and Balance Issues-
Jump to: