problems initializig my .scd

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

problems initializig my .scd

Postby Myxir » 23 Jul 2012, 10:07

hi there, as i already said, my problem is initializing my .scd file (.koth in this case)

i used command prompt to change the current directory to
C:\programdata\faforever\bin
and use
forgedalliance.exe /init [whatever init i use].lua
to start the game with the mod i want, this works pretty good with e.g. phantomx


somehow i just happen to fail initializing my own mod (King of the Hill, viewtopic.php?f=2&t=1013), i'm using the same init file as BO and PHX just exchanged all the .bo/.phx to .koth etc but it won't start with the hooked functions, just the normal faf version


i uploaded the init_koth.lua (belongs to the /bin folder) and the kingofthehill.koth (belongs to the /gamedata folder) which both don't have the right extensions to be uploaded without renaming them :/

however, some suggestions on this or can you maybe finish it?
Attachments
init_koth.zip
rename this file to init_koth.lua
(uploading .lua files isn't possible)
(924 Bytes) Downloaded 39 times
kingofthehill.zip
rename this file to kingofthehill.koth
(uploading .koth files isn't possible)
(3.73 KiB) Downloaded 38 times
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: problems initializig my .scd

Postby Myxir » 25 Jul 2012, 09:51

managed to solve my issue, this thread is no longer needed

the problem wasn't the init file but a data path within the .scd file i didn't see and therefore didn't change


edit:
uploaded the working files now

kingofthehill.koth belongs to the \gamedata folder
init_koth.lua belongs to the \bin folder
Attachments
kingofthehill.zip
rename it to kingofthehill.koth
(3.72 KiB) Downloaded 42 times
init_koth.zip
rename it to init_koth.lua
(924 Bytes) Downloaded 38 times
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: problems initializig my .scd

Postby Ze_PilOt » 25 Jul 2012, 10:29

Great. I will *try* to add it this weekend (I got a lot of my hands already for this weekend :)
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: problems initializig my .scd

Postby Myxir » 11 Aug 2012, 22:56

ok, i worked a bit on it and added a time option to the lobby, so you can select the default hill time for the players (was static 15min yet)
2.5 , 5 , 10 , 15 and 30min selectable, time still sums up when players are teamed

and i suggest a new description for the mod (as the current one doesn't look good tbh)


--------------

King of the Hill

Now with selectable time conditions!

Conquer the middle of the map with landunits alone or in teams and prove you can own it.
The bigger the maps, the more units you'll need to score points, but the size of the Hill will also increase.

The Hill is located exactly in the middle of the map and 5% of the mapwidth/height large,
points will be given every 5 seconds to everyone who's having enough landunits on the Hill, and also all their teammates.
At the beginning and at steps of 25/50/75 % points, there will be a warning to all players, and you can keep track
of the exact amout of points, they are also displayed when scored, but much smaller.
Attachments
kingofthehill.zip
rename to kingofthehill.koth
(4.51 KiB) Downloaded 39 times
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest