Changes you need to follow as Modder

Follow this forum if u are a modder (having the modded version)
Contains announcements and how-to guides
Useful for forumers who want to learn how to help out in the game
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Changes you need to follow as Modder

Post by Stratego (dev) »

Hi, welcome all modders, here i will post changes that you need to make on your modded "asset" pack in order to avoid crashes/errors becausee of recent dev. version changes.

like now.

i have just put in 2 graphics that are shown when u win or lose a multiplayer game, and unless u copy these to files into gfx folder the game will crash on popping up that dialog.

so: copy these 2 images into /gfx folder
Attachments
art_game_won.png
art_game_won.png (27.09 KiB) Viewed 15183 times
art_game_lose.png
art_game_lose.png (26.04 KiB) Viewed 15183 times
User avatar
General Brave
Posts: 4662
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Changes you need to follow

Post by General Brave »

Has anyone thought about making it so we could share our Maps? Like I will design it, I sent it to someone who knows about triggers, then he will send it so someone could write dialogue.
Wise, Might, Loyalty. Forever stands Warfell.
KingslyTheGreat
Posts: 33
Joined: Tue Feb 27, 2018 3:57 pm

Re: Changes you need to follow

Post by KingslyTheGreat »

General Brave wrote:Has anyone thought about making it so we could share our Maps? Like I will design it, I sent it to someone who knows about triggers, then he will send it so someone could write dialogue.
If you need help writing dialogue, I can do that
"What sort of fool am I?" A loyal fool, good sir.

All the Gods, all the Devils, all the Heavens and the Hells are within you.
User avatar
General Brave
Posts: 4662
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Changes you need to follow

Post by General Brave »

That would be appreciated.
Wise, Might, Loyalty. Forever stands Warfell.
KingslyTheGreat
Posts: 33
Joined: Tue Feb 27, 2018 3:57 pm

Re: Changes you need to follow

Post by KingslyTheGreat »

Alright. I just need to know a few things about the map and if there are any details you would like examined in the dialogue
"What sort of fool am I?" A loyal fool, good sir.

All the Gods, all the Devils, all the Heavens and the Hells are within you.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

you need to ask for the new achivements images , or your version will crash in modded mode.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

new images in achievements (in AOF)
User avatar
Puss_in_Boots
Posts: 3206
Joined: Fri Apr 21, 2017 1:23 am
Location: New Jersey

Re: Changes you need to follow

Post by Puss_in_Boots »

Would I need to add achievement images into SWS modded version?
OLÉ
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

yes, but there is no such, you are changing AOW to SWS - arent u?
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

Code: Select all

		{
			"idString": "TEXTURE_TURNSLEFT1",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft1.png",
			"withColoring": false
		},		
		{
			"idString": "TEXTURE_TURNSLEFT2",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft2.png",
			"withColoring": false
		},
		{
			"idString": "TEXTURE_TURNSLEFT3",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft3.png",
			"withColoring": false
		},		
		{
			"idString": "TEXTURE_TURNSLEFT4",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft4.png",
			"withColoring": false
		},		
		{
			"idString": "TEXTURE_TURNSLEFT5",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft5.png",
			"withColoring": false
		},
		{
			"idString": "TEXTURE_TURNSLEFT6",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft6.png",
			"withColoring": false
		},		
		{
			"idString": "TEXTURE_TURNSLEFT7",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft7.png",
			"withColoring": false
		},		
		{
			"idString": "TEXTURE_TURNSLEFT8",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft8.png",
			"withColoring": false
		},
		{
			"idString": "TEXTURE_TURNSLEFT9",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft9.png",
			"withColoring": false
		},		
		{
			"idString": "TEXTURE_TURNSLEFT_MORE",
			"imgColumns": 1,
			"imgName": "indicators/turnsleft_more.png",
			"withColoring": false
		},
		
you need to define these textures in graphics.json to work from the next update
also you need to have these images in gfx/indicators folder
Attachments
turnsleft3.png
turnsleft3.png (388 Bytes) Viewed 14584 times
turnsleft2.png
turnsleft2.png (394 Bytes) Viewed 14584 times
turnsleft1.png
turnsleft1.png (389 Bytes) Viewed 14584 times
turnsleft4.png
turnsleft4.png (397 Bytes) Viewed 14584 times
turnsleft5.png
turnsleft5.png (386 Bytes) Viewed 14584 times
turnsleft6.png
turnsleft6.png (382 Bytes) Viewed 14584 times
turnsleft7.png
turnsleft7.png (387 Bytes) Viewed 14584 times
turnsleft8.png
turnsleft8.png (380 Bytes) Viewed 14584 times
turnsleft9.png
turnsleft9.png (384 Bytes) Viewed 14584 times
turnsleft_more.png
turnsleft_more.png (404 Bytes) Viewed 14584 times
User avatar
General Brave
Posts: 4662
Joined: Thu Oct 19, 2017 3:12 am
Location: The Four Point Military Academy.

Re: Changes you need to follow

Post by General Brave »

What's this?
Wise, Might, Loyalty. Forever stands Warfell.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

you need these to run the latest version with modded assets you have.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

in next update this will be required: the new characters are blue, this will be a list of AI settings, now with the first setting

"buildTargets" : [
...
],
"otherSettings":{
"enemyDistanceCalculationFewTurnsFar":3
}
Midonik
Posts: 5325
Joined: Mon Sep 05, 2016 5:27 pm
Location: Poland

Re: Changes you need to follow

Post by Midonik »

@Strategist I think you forgot to post "indicator_production_callout.png" and "aos_show_productions.png" images, at least I don't have them in AoG.
Support new AoS variant, Age of Galaxy: http://ageofstrategy.net/viewforum.php? ... 608408ebc8
All help will be welcome.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

sorry, i am sending you the complete assetfolder now.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

bad news: the new traget sdk thing killed modding since the app can not read your storages to read the modded jsons.

so if u havea working modding version do not update the game yet :)
or have the good version backed up somewhere for you :)
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

in latest dev version there is a new asset u need to have
new directory under gfx folder: "ui"
and a file in it, this
Attachments
button_anc_carrier_arrow.png
button_anc_carrier_arrow.png (479 Bytes) Viewed 14456 times
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

there should be an image in gfx/wallpaper/default.jpg

as a loading screen on launching a map.

put there some image to avoid crashes.
(the image location is configurable in initilization.json but whatever not important to change)
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

from now the unit selection "circle" is need to be defined in graphics.json, i define it like this now

Code: Select all

,	
		{
			"idString": "TEXTURE_HUD_UNIT_SELECTION",
			"imgColumns": 6,
			"imgName": "hud/unit_selection_anim.png",
			"withColoring": true
		}
		
also good news! Any player color now can have alpha value! we can make nicer teamcoloring on images!
(i hope there is no any image that will get teamcolor in unwanted places lol)
User avatar
Puss_in_Boots
Posts: 3206
Joined: Fri Apr 21, 2017 1:23 am
Location: New Jersey

Re: Changes you need to follow

Post by Puss_in_Boots »

So, do I need the unit selection animation in team color form?
OLÉ
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

yes, but that is in in all fresh builds, here
Attachments
unit_selection_anim.png
unit_selection_anim.png (5.38 KiB) Viewed 13166 times
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

indicator_waypoint.png should be moved under "gfx/indicators" folder
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

also you need to have in graphicscs.json:

,
{
"idString": "TEXTURE_STANCE_INDICATOR_STAND_GROUND",
"imgColumns": 1,
"imgName": "indicators/stance_indicator_standground.png",
"withColoring": false
}

lso an image for the stand ground stance indication.
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

new template file in templates folder
tmpl_game_stat.html
User avatar
Puss_in_Boots
Posts: 3206
Joined: Fri Apr 21, 2017 1:23 am
Location: New Jersey

Re: Changes you need to follow

Post by Puss_in_Boots »

What img should I use for stand ground?
OLÉ
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

anything but u can use this if u like
Attachments
stance_indicator_standground.png
stance_indicator_standground.png (266 Bytes) Viewed 12768 times
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

new image in assets:


{
"idString": "TEXTURE_WAYPOINT_TO_CONFIRM",
"imgColumns": 4,
"imgName": "hud/waypoint_to_confirm.png",
"animFrameDuration":150,
"withColoring": false
},
Attachments
waypoint_to_confirm.png
waypoint_to_confirm.png (2.56 KiB) Viewed 12749 times
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

new graphics.json definition for the cancel wayppointing image

Code: Select all

 		{
			"idString": "TEXTURE_WAYPOINT_CANCEL",
			"imgColumns": 1,
			"imgName": "hud/button_waypoint_cancel.png",
			"withColoring": false
		}, 
image attached that is for AOF/AOS
Attachments
button_waypoint_cancel.png
button_waypoint_cancel.png (2.11 KiB) Viewed 12679 times
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

new imagefile in all versions

Code: Select all

assets\gfx\hud\hud_button_objectives.png 
new entry in graphics.json right after hud_butt_msg like this

Code: Select all

		{
			"idString": "TEXTURE_HUD_BUTT_MSG",
            "imgColumns":1,
            "imgName":"hud/hud_button_messages.png",
			"withColoring": false
		},
		{
			"idString": "TEXTURE_HUD_BUTT_OBJECTIVES",
			"imgColumns": 1,
			"imgName": "hud/hud_button_objectives.png",
			"withColoring": false
		},

Attachments
hud_button_objectives.png
hud_button_objectives.png (2.49 KiB) Viewed 12159 times
Stratego (dev)
Site Admin
Posts: 15734
Joined: Fri Apr 25, 2014 9:28 pm

Re: Changes you need to follow

Post by Stratego (dev) »

do this in your assetpack

place the attached image under "gfx/hud"
image name: hud_button_convert.png


also place the new TEXTURE_HUD_BUTT_CONVERT definition in your others/graphics file in this position

Code: Select all

		{
			"idString": "TEXTURE_HUD_BUTT_KILL",
            "imgColumns":1,
            "imgName":"hud/hud_button_kill.png",
			"withColoring": false
		},
 		{
			"idString": "TEXTURE_HUD_BUTT_CONVERT",
            "imgColumns":1,
            "imgName":"hud/hud_button_convert.png",
			"withColoring": false
		},   
		{
			"idString": "TEXTURE_HUD_BUTT_MSG",
            "imgColumns":1,
            "imgName":"hud/hud_button_messages.png",
			"withColoring": false
		},
Attachments
hud_button_convert.png
hud_button_convert.png (2.09 KiB) Viewed 11744 times
Post Reply

Return to “Modders lounge”