Login

russian armor

scar file doesn't seem to be working

20 Dec 2014, 19:14 PM
#1
avatar of Vangruffe

Posts: 139

I'm about to tear my hair out here because for the past few hours I've been trying to get a SIMPLE scar file working. I saved it as the same name as the map name, saved it as a scar file, saved it in the same location as the map is saved at, even have a scar marker in the map, exported all that, and whenever I try the map the map starts out as a standard match with standard everything.

What am I doing wrong here, somebody please help me.
20 Dec 2014, 20:16 PM
#2
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Post your scar code please.
20 Dec 2014, 20:43 PM
#3
avatar of Vangruffe

Posts: 139

Post your scar code please.


Code

import("ScarUtil.scar")

function OnGameSetup()

Resources_Disable()

player1 = World_GetPlayerAt(1)
player2 = World_GetPlayerAt(2)
player3 = World_GetPlayerAt(3)
player4 = World_GetPlayerAt(4)

player5 = World_GetPlayerAt(5)
player6 = World_GetPlayerAt(6)
player7 = World_GetPlayerAt(7)
player8 = World_GetPlayerAt(8)

Setup_Player(player1, "aef", 1)
Setup_Player(player2, "aef", 1)
Setup_Player(player3, "aef", 1)
Setup_Player(player4, "aef", 1)

Setup_Player(player5, "aef", 2)
Setup_Player(player6, "aef", 2)
Setup_Player(player7, "aef", 2)
Setup_Player(player8, "aef", 2)

end
21 Dec 2014, 01:19 AM
#4
avatar of trigg

Posts: 139



Code

import("ScarUtil.scar")

function OnGameSetup()
-- snipped your code for brevity
end

I just replied to your post on Steam. For the sake of anyone finding this thread instead, add after the end of your function definition:
Code
Scar_AddInit(OnGameSetup)
0 user is browsing this thread:

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

756 users are online: 756 guests
0 post in the last 24h
8 posts in the last week
35 posts in the last month
Registered members: 49104
Welcome our newest member, zhcnwps
Most online: 2043 users on 29 Oct 2023, 01:04 AM