Jump to content


Photo

Beginner Modding Question


Best Answer Gambit , 21 June 2022 - 04:06 AM

Hello brother.

What you seek, needs SCaR (Lua programming).

There is a SCaR engine that is built-in to the game.

 

The idea is to start a rule (a function), that does what you seek, via commands.

But you must familiarize yourself with the specifics - at this needs time!

 

For example, to damage a building, you must find its in-game EntityID (unique for each entity), and apply a health modifier to that entity.

It is a bit tricky.

 

My suggestion is:

If you do have some programming experience (C, Python, whatever), just look into the scar folder of the game, to get an idea.

And then... EXPERIMENT!

Go to the full post


5 replies to this topic

#1 YOUSLESS

YOUSLESS
  • Members
  • 15 posts

Posted 21 June 2022 - 03:13 AM

Hello, I recently started researching Dawn of War Modding, But all the resources currently available are more directed towards creating new races and editing attributes. I'm wondering where I should start if I wanted to be able to trigger an event (such as deleting/damaging a building or unit) with a script .

Thank you in advance



#2 Gambit

Gambit

    title available

  • Members
  • 6,718 posts
  • Location:Athens, Greece

Posted 21 June 2022 - 04:06 AM   Best Answer

Hello brother.

What you seek, needs SCaR (Lua programming).

There is a SCaR engine that is built-in to the game.

 

The idea is to start a rule (a function), that does what you seek, via commands.

But you must familiarize yourself with the specifics - at this needs time!

 

For example, to damage a building, you must find its in-game EntityID (unique for each entity), and apply a health modifier to that entity.

It is a bit tricky.

 

My suggestion is:

If you do have some programming experience (C, Python, whatever), just look into the scar folder of the game, to get an idea.

And then... EXPERIMENT!


-In search of Papasmurf...

#3 YOUSLESS

YOUSLESS
  • Members
  • 15 posts

Posted 22 June 2022 - 02:10 AM

Hello brother.

What you seek, needs SCaR (Lua programming).

There is a SCaR engine that is built-in to the game.

 

The idea is to start a rule (a function), that does what you seek, via commands.

But you must familiarize yourself with the specifics - at this needs time!

 

For example, to damage a building, you must find its in-game EntityID (unique for each entity), and apply a health modifier to that entity.

It is a bit tricky.

 

My suggestion is:

If you do have some programming experience (C, Python, whatever), just look into the scar folder of the game, to get an idea.

And then... EXPERIMENT!

Thank you, this is a great place to start!



#4 YOUSLESS

YOUSLESS
  • Members
  • 15 posts

Posted 22 June 2022 - 02:40 AM

Hello brother.

What you seek, needs SCaR (Lua programming).

There is a SCaR engine that is built-in to the game.

 

The idea is to start a rule (a function), that does what you seek, via commands.

But you must familiarize yourself with the specifics - at this needs time!

 

For example, to damage a building, you must find its in-game EntityID (unique for each entity), and apply a health modifier to that entity.

It is a bit tricky.

 

My suggestion is:

If you do have some programming experience (C, Python, whatever), just look into the scar folder of the game, to get an idea.

And then... EXPERIMENT!

by any chance do you know if the documentation is still out there?



#5 Gambit

Gambit

    title available

  • Members
  • 6,718 posts
  • Location:Athens, Greece

Posted 22 June 2022 - 06:57 AM

... I am not aware of any site with info and tutos...

If you have any question though, post it here and someone will try and answer it!

 

Also:

The best way to learn AE, is to find something that "resembles" what you want to achieve, and start from there!

See, in all our mods, we have implemented nigh EVERYTHING  there is.

Even advanced things that some thought impossible.

So just look into any of our race mods, or Unification, and you will definitely find what you seek :thumbsuphappy:


-In search of Papasmurf...

#6 YOUSLESS

YOUSLESS
  • Members
  • 15 posts

Posted 24 June 2022 - 01:16 AM

Thanks for all the help Gambit, I really appreciate you taking the time.  :thumbsupcool:


  • Gambit likes this



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users