Results 1 to 11 of 11

Riots

  1. #1

    Riots

    Hey guys, I want to make a squad of rioters.

    Are there any non combat units in the game that I can use as a base.

    Obviously I don't want the riot to be moving about in a tactical fashion...

    Just after guys that run about with poor shooting skills.

    My mod is sort of a peacekeeping mod.

    So tanks, IFVs, and well armed troops versus milita, criminals etc etc.

  2. Company of Heroes Senior Member  #2
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    Nope, CoH has no non-combatants as such. Sounds like you want a squad that only has a few weapons among a large group. Creating an unarmed squad that then has some weapons applied as slot items (so that when an armed guy dies, his gun will pass to an unarmed guy) won't be too hard. But if you don't want them to use the usual infantry formations, you'll have to make your own. Open up the squad_formation_ext and then open the cover_formation_table. There you'll see the paths to each formation table (one for each cover type). Go there, make a a few copies of one (a file for each formation you want your rioters to use). In there, go to the formation listed in the squad_formation field, once again making copies, one for each squad formation you choose to have. Finally, open your formation files, go into the 'spots' table, and in there you can edit the X and Y positons for each squad member in the squad. Save those, and then make sure that the file paths linking the squad's cover_formation_table entries to the squad_formation files, and the squad_formation entries correctly link to the formation files.

  3. #3
    This works! I have a nice riot of engineers now.

    Do you know how to make the stand up like normal? No crouching.

  4. #4
    Take a look at the squad AI files. They have something to do with that. I could be wrong, but I think there might a setting that animates a squad under tense/not so tense situations. Non tense means they stand up and take it easy like they do next to the HQ. Tense, puts them in crouch/ready positions. Been a while since I posted so don't take my word for it.

  5. #5
    I've extracted the squadai files and opened them up in notepad, but cannot find any references to "tense". Any more clues?

    Any particular squadai file?

  6. Company of Heroes Senior Member  #6
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    Please tell me other people saw the big post i wrote about squad formations? It was useful for this, but i really don't want to have to retype it.

  7. #7
    On No, what happened to it?

    Several posts have been deleted. Anyone know why?

    I've read some of your stuff Lethal dosage, I don't think I read anything more about squad formations after your first reply. I have been implementing it. (I have a riot of engineers (still move about tactically though).

    Thanks for the effort anyway.

    Sorry someone deleted it.

    Does anyone know why I can't find my private message in my inbox (it shows that I recieved one from Corsixs near the word notifications in the top right of the page. When I go to my inbox, it's not there though.

    Are the forums being hacked?

    Thanks

  8. Technical Help Senior Member  #8
    Unfortunately the forums did get hacked. The admin's had to revert the forum back to a previous backup meaning we lost a days worth of posts. This may the cause of your PM issue I guess.

  9. #9
    Member Niftyeye's Avatar
    Join Date
    Nov 2006
    Location
    Norwich, United Kingdom
    The eastern front mod has a conscript unit, only a few of them have rifles with the rest being unarmed.

    Maybe you could ask them? I don't know a lot about modding but its the first thing that sprung to mind.

  10. #10
    I have a nice riot of engineers now.
    Yeah rioting engineers. When they are starving things have to be real fucked up.

    You should ask the "Great War" Modders how they scripted their close combat stuff, that would make some better rioters.

  11. Company of Heroes Senior Member  #11
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    Unfortuantly, i lost a number of long-winded replies that i'd posted between the last good backup, and the hacking incident.

    I haven't tried either of these suggestions, but i think at least one of them should help.

    First suggestion;

    Open up the squad's sbps file, and go into the squad_combat_stance_ext.
    Go to the default_stance_name, and change the field to hold_fire_stance

    Save.


    Second Suggestion (try if the first failed);

    Open the ebps of all your squad's entities, and go to the posture_ext.
    Follow the posture_group path to that file (attrib/attrib/posture/) and make a copy of the default_posture_group.rgd, calling it rioter_posture_group.rgd
    Open it, and go into the locomotion_names table. Copy the fields for the locomotion_stand_xxxx entries, to the equivilent entries for crouch and prone. So locomotion_stand_stopped is Stand_Stop, which you'll also copy into the fields for locomotion_prone_stopped, locomotion_crouch_stopped, and locomotion_crouch_stopped_alt.

    Then, in the ebps files, change the posture_group from posture\default_posture_group.lua to posture\rioter_posture_group.lua

    Save all modified files.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •