Login

russian armor

Custom Resources

19 Apr 2018, 11:33 AM
#1
avatar of Stardash

Posts: 9


Hi am am currently looking for a way to have custom resources in my win condition. (If it can be done through the attribute editor that would be just as good)

I am attempting to stop command point gain and resource generation and add my own starting amounts.

I have tried editing the army tab in the attribute editor to no success.
I know that it can be done though the win conditions after using another mod but after much testing i was unable to figure out how.

Any assistance would be great thanks.
20 Apr 2018, 03:25 AM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

The only way to do this is by scripting your own UI using SCAR.
20 Apr 2018, 23:40 PM
#3
avatar of Stardash

Posts: 9

jump backJump back to quoted post20 Apr 2018, 03:25 AMeliw00d
The only way to do this is by scripting your own UI using SCAR.


Thanks for the tip i have installed ScarDoc and i am now looking at how this could be done.
21 Apr 2018, 00:18 AM
#4
21 Apr 2018, 01:50 AM
#5
avatar of Stardash

Posts: 9

jump backJump back to quoted post21 Apr 2018, 00:18 AMeliw00d
This should help as well: https://www.coh2.org/topic/38791/scar-ui-control-api


I just got it working!
The tip got me going in the right direction

I was able to edit the starting resources in the attribute editor and freeze the gain with a few lines of code.

Now to stop the command point gain. (Mostly for looks)
edit : Was able to stop passive command point generation
2 users are browsing this thread: 2 guests

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

711 users are online: 711 guests
0 post in the last 24h
5 posts in the last week
33 posts in the last month
Registered members: 49151
Welcome our newest member, pawlicmarg44
Most online: 2043 users on 29 Oct 2023, 01:04 AM