help unable to get spawns/launch the game for testing(FIXED)

Interesting mapping tools and mapping help.

Moderator: Morax

help unable to get spawns/launch the game for testing(FIXED)

Postby The Hoff » 24 May 2014, 07:20

Got the editor working. Have made a map. Started over several times. Want to test. Unable to get scripting to play ball. Have read both tutorials. I can see my map in the list in game but I don't have spawns and I cant launch the game.

HELP. What the hell is going on here?

Did the FFA rename...

Created a script.lua file. Didnt work. Tried to copy and paste from a known good map, didnt work.
Copied file exactly and renamed to map name. Still didnt work

I dont know what the hell is wrong or why this has to be so complicated. Any help appreciated.
Last edited by The Hoff on 25 May 2014, 00:19, edited 2 times in total.
The Hoff
Avatar-of-War
 
Posts: 82
Joined: 15 May 2014, 08:00
Has liked: 0 time
Been liked: 3 times
FAF User Name: The Hoff

Re: HELP UNABLE TO GET SPAWNS/LAUNCH THE GAME FOR TESTING

Postby Xinnony » 24 May 2014, 11:11

No need write the title UPPERCASE !!!
User avatar
Xinnony
Contributor
 
Posts: 551
Joined: 19 Feb 2012, 02:49
Has liked: 70 times
Been liked: 34 times
FAF User Name: Xinnony

Re: HELP UNABLE TO GET SPAWNS/LAUNCH THE GAME FOR TESTING

Postby The Hoff » 24 May 2014, 11:16

So can you help me out or no?
The Hoff
Avatar-of-War
 
Posts: 82
Joined: 15 May 2014, 08:00
Has liked: 0 time
Been liked: 3 times
FAF User Name: The Hoff

Re: HELP UNABLE TO GET SPAWNS/LAUNCH THE GAME FOR TESTING

Postby Lionhardt » 24 May 2014, 11:51

If you write less obnoxious posts in the future...


Have you got your scenario.lua and script.lua?
Help me make better maps for all of us, visit my Mapping Thread.

Maps needing gameplay feedback:
Spoiler: show
[list updated last: 31.1.2018]

(maps available in the vault)

- Hexagonian Drylands
- Fervent Soil and Torrid Suns

YouTube Channel
User avatar
Lionhardt
Contributor
 
Posts: 1070
Joined: 29 Jan 2013, 23:44
Has liked: 188 times
Been liked: 144 times
FAF User Name: Lionhardt

Re: HELP UNABLE TO GET SPAWNS/LAUNCH THE GAME FOR TESTING

Postby The Hoff » 24 May 2014, 12:43

wasnt trying to be obnixious just to get some help...
The Hoff
Avatar-of-War
 
Posts: 82
Joined: 15 May 2014, 08:00
Has liked: 0 time
Been liked: 3 times
FAF User Name: The Hoff

Re: HELP UNABLE TO GET SPAWNS/LAUNCH THE GAME FOR TESTING

Postby The Hoff » 24 May 2014, 12:45

Scenario File

version = 3
ScenarioInfo = {
name = 'DUEL ZONER',
description = 'DUEL ZONER',
type = 'skirmish',
starts = true,
preview = '',
size = {512, 512},
map = '/maps/DUEL ZONERv0001/DUEL ZONER.scmap',
map_version = 0001,
save = '/maps/DUEL ZONERv0001/DUEL ZONER_save.lua',
script = '/maps/DUEL ZONERv0001/DUEL ZONER_script.lua',
norushradius = 0.000000,
norushoffsetX_ARMY_1 = 0.000000,
norushoffsetY_ARMY_1 = 0.000000,
norushoffsetX_ARMY_2 = 0.000000,
norushoffsetY_ARMY_2 = 0.000000,
norushoffsetX_ARMY_3 = 0.000000,
norushoffsetY_ARMY_3 = 0.000000,
norushoffsetX_ARMY_4 = 0.000000,
norushoffsetY_ARMY_4 = 0.000000,
norushoffsetX_ARMY_5 = 0.000000,
norushoffsetY_ARMY_5 = 0.000000,
norushoffsetX_ARMY_6 = 0.000000,
norushoffsetY_ARMY_6 = 0.000000,
norushoffsetX_ARMY_7 = 0.000000,
norushoffsetY_ARMY_7 = 0.000000,
norushoffsetX_ARMY_8 = 0.000000,
norushoffsetY_ARMY_8 = 0.000000,
Configurations = {
['standard'] = {
teams = {
{ name = 'ffa', armies = {'ARMY_1','ARMY_2','ARMY_3','ARMY_4','ARMY_5','ARMY_6','ARMY_7','ARMY_8',} },
},
customprops = {
},
},
}}


SCRIPT File

local ScenarioUtils = import('/lua/sim/ScenarioUtilities.lua')
local ScenarioFramework = import('/lua/ScenarioFramework.lua')

function OnPopulate()
ScenarioUtils.InitializeArmies()

end
The Hoff
Avatar-of-War
 
Posts: 82
Joined: 15 May 2014, 08:00
Has liked: 0 time
Been liked: 3 times
FAF User Name: The Hoff

Re: help unable to get spawns/launch the game for testing

Postby Voodoo » 24 May 2014, 12:50

I fixed the caps, please don't use it next time.
User avatar
Voodoo
Moderator
 
Posts: 2410
Joined: 21 Jan 2012, 14:59
Location: Germany
Has liked: 251 times
Been liked: 344 times
FAF User Name: Voodoo

Re: help unable to get spawns/launch the game for testing

Postby The Hoff » 24 May 2014, 12:51

np lol
The Hoff
Avatar-of-War
 
Posts: 82
Joined: 15 May 2014, 08:00
Has liked: 0 time
Been liked: 3 times
FAF User Name: The Hoff

Re: help unable to get spawns/launch the game for testing

Postby D4E_Omit » 24 May 2014, 13:02

I bet you forgot to set the armies in the editor, like the screenshot shows.. scenario and script seems fine.
Attachments
Schermafbeelding-(42).png
Schermafbeelding-(42).png (26.8 KiB) Viewed 2705 times
Sometimes, I just feel like I want to eat pancakes.
D4E_Omit
Avatar-of-War
 
Posts: 291
Joined: 18 Feb 2013, 17:11
Has liked: 10 times
Been liked: 21 times
FAF User Name: D4E_Omit

Re: help unable to get spawns/launch the game for testing

Postby The Hoff » 24 May 2014, 13:11

Well here is what my armies looks like. Any ideas?

Image
The Hoff
Avatar-of-War
 
Posts: 82
Joined: 15 May 2014, 08:00
Has liked: 0 time
Been liked: 3 times
FAF User Name: The Hoff

Next

Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest