Jump to content

Without SDK...


Recommended Posts

I'm not sure about this, but from looking in the quick.bundle file I think weapons were defined in the various XML files it contains. Once someone has figured the bundle file format out and we can extract the XML files and change them we'll have a better idea of what's possible to mod or not.

(in fact if it is the way I think it is, then there's little to no point in having an SDK at all)

Link to comment
Share on other sites

gr1 tools were released by modders and then officially. Where's everyone getting the unofficial from Dev's stuff from? Piggyson's stuff was there, as was a couple others, but after the official plugins for things with DS and again in IT.

That said, GR1 had no SDK and while it did hold back alot of what could be modified...modders found ways to do some pretty cool things. so don't let the no SDK thing get you down. In fact with no SDK that means mod support is probably going to be accomplished thru other editors and xml files...just like GR1. That means all the non-programmers out there will get to be on an even playing field with the hardcore programming modders. OK, well almost.

Edited by DonMiguel
Link to comment
Share on other sites

Look. Would you guys just calm down and give it some time?

GR1's mod tools were released by devs on their own time, unofficially.

wasnt the modding progs on the install disc for GR1

they were released with Desert Siege and updated with Island Thunder expansion discs

Link to comment
Share on other sites

And hey look, [GR] still had a long lifespan even tho we didn't get mod tools right away :) patience, enjoy the SP and coop and wait for Replays, kick/ban options, mod tools and map tools and when they arrive we'll all be top trained and ready to kick ass all over the new maps with the new weapons all the while kicking and banning cheaters to the left and right :)

Link to comment
Share on other sites

Weapon file


<?xml version="1.0" encoding="ISO-8859-1"?>

<units>

	<unit type="weapon" name="g36_3rd" slot="12">

  <model file="/weapons/g36/g36.xml"/>

  <depends_on unit="g36_mag_3rd"/>

  <!-- <script_class name="weapon_player" class="BulletWeapon"/>

  <script_class name="weapon_ai" class="ScarAI"/>

  <script_class name="base" class="Scar"/>

  -->

  <script_class name="base" class="BulletWeapon"/>

  <stats block="base_data"/>

  <stats block="weapon_data">

  	<var name="ammo_type" value="556"/>

  	<var name="length_from_root" value="60"/>

  	<var name="clip_max" value="30"/>

  	<var name="owner_align" value="primary_align"/>

  	<var name="public_name" value="G36"/>

  	<var name="anim_name" value="g36"/>

  	<var name="hud_name" value="scar"/>

  	

  	<!-- Objects / Units -->

  	<var name="object_ejector" value="shell"/> <!-- name of the ejector object -->

  	<var name="object_muzzle" value="fire"/> <!-- name of the ejector object -->

  	<var name="object_clip_align" value="mag_align"/> <!-- name of the ejector object -->

  	<var name="unit_clip" value="g36_mag_3rd"/> <!-- name of the casing unit -->

  	<var name="body_drop" value="main_body"/> <!-- name of the body to activate when dropping the gun -->

  	

  	<!-- Spread -->

  	<var name="spread_normal" value="3.0"/> <!-- spread in normal mode + mods affect this -->

  	<var name="spread_zoom" value="0.05"/> <!-- spread in zoomed mode + mods affect this -->

  	

  	<!-- Recoil -->

  	<var name="recoil_normal" value="0.15"/> <!-- spread in zoomed mode + mods affect this -->

  	<var name="recoil_zoom" value="1.5"/> <!-- spread in zoomed mode + mods affect this -->

  	


  	<!-- Fire modes -->

  	<var name="fire_modes" value="2"/> <!-- 1 = semi, 2 = semi+auto, 3 = semi+auto+burst -->

  	<var name="fire_rate_semi" value="0.1"/> <!-- minimum time between bullets in semi mode -->

  	<var name="fire_rate_auto" value="0.08333"/> <!-- time between bullets on full auto -->

  	<var name="fire_rate_burst" value="0.1"/> <!-- time between bullets in burts mode -->

  	<var name="fire_burst_count" value="3"/> <!-- the amount of bullets to fire in a row in burst mode -->

      

  	<var name="fire_offensive" value="2"/> <!-- 1 = semi, 2 = semi+auto, 3 = semi+auto+burst -->

  	<var name="fire_defensive" value="1"/> <!-- what thread in SGunLogics this weapon uses when when in defensive -->

  	<var name="fire_suppresive" value="4"/> <!-- what thread in SGunLogics this weapon uses when when in suppressed -->

  	

  	<!-- Effects -->

  	<var name="effect_semi_flash" value="g36_muzzle_flash"/> <!-- muzzle effect on semi -->

  	<var name="effect_auto_flash" value="g36_muzzle_flash"/> <!-- muzzle effect on auto -->

  	<var name="effect_auto_end" value="g36_muzzle_smoke"/> <!-- smoke effect on barrel after auto -->

  	<var name="effect_casing" value="556_shell_ejection"/> <!-- name of the casing effect -->

  	<var name="effect_hit" value="bullet_hit"/> <!-- name of the hit effect -->

  	<var name="effect_hit_physics" value="bullet_hit_rifle"/> <!-- name of the hit physics effect -->

  	

  	<!-- AI -->

  	<var name="ai_shoot_delay" value="0.1"/>    	<!-- normal aim time for ai -->  

  	<var name="ai_reload_delay" value="4.3"/>    	<!-- relaod time -->

  	<var name="ai_angle_req_near" value="30"/>

  	<var name="ai_angle_req_far" value="6"/>	

    

  	<var name="bolt_lockup_time" value="0.6"/> <!-- bolt anim -->

  	<var name="bolt_lock_time" value="0.1"/> <!-- bolt lock anim -->

  	

  	<!-- Moddable stats -->

  	<var name="damage" value="2"/> <!-- weapon damage + mods affect this -->

  	<var name="weight" value="1"/> <!-- weapon weight + mods affect this -->

  	<var name="stability" value="1"/> <!-- weapon stability + mods affect this -->

  	

  	<var name="fire_sound" value="1.35"/>

  	<var name="fire_supressed" value="1.2"/>

  	

  	<var name="ai_precision" value="1.1"/>

  	<var name="ai_fire_until" value="3"/>

  	<var name="ai_fire_until_rand" value="4"/>

  	

  	<!-- Mods -->

  </stats>

  

  <stats block="item_data">

  	<var name="inventory_slot" value="secondary"/>

  </stats>

  

  <sounds>

    <soundbank name="g36_sound_3rd"/>

    <soundbank name="foley_rifle_sound"/>

  	<default_soundsource source="sound"/>

  </sounds>

	</unit>


	<unit type="weapon" name="g36_mag_3rd" slot="12">

     <model file="/weapons/g36/g36_mag.xml"/>

	</unit>	


	<unit type="weapon" name="g36_flashlight_3rd" slot="12">

  <model file="/weapons/g36/g36_flashlight.xml"/>

  <depends_on unit="g36_mag_3rd"/>

  <!-- <script_class name="weapon_player" class="BulletWeapon"/>

  <script_class name="weapon_ai" class="ScarAI"/>

  <script_class name="base" class="Scar"/>

  -->

  <script_class name="base" class="BulletWeapon"/>

  <stats block="base_data"/>

  <stats block="weapon_data">

  	<var name="ammo_type" value="556"/>

  	<var name="length_from_root" value="125"/>

  	<var name="clip_max" value="30"/>

  	<var name="owner_align" value="primary_align"/>

  	<var name="public_name" value="G36"/>

  	<var name="anim_name" value="g36"/>

  	<var name="hud_name" value="scar"/>

  	

  	<!-- Objects / Units -->

  	<var name="object_ejector" value="shell"/> <!-- name of the ejector object -->

  	<var name="object_muzzle" value="fire"/> <!-- name of the ejector object -->

  	<var name="object_clip_align" value="mag_align"/> <!-- name of the ejector object -->

  	<var name="unit_clip" value="g36_mag_3rd"/> <!-- name of the casing unit -->

  	<var name="body_drop" value="main_body"/> <!-- name of the body to activate when dropping the gun -->

  	

  	<!-- Spread -->

  	<var name="spread_normal" value="3.0"/> <!-- spread in normal mode + mods affect this -->

  	<var name="spread_zoom" value="0.05"/> <!-- spread in zoomed mode + mods affect this -->

  	

  	<!-- Recoil -->

  	<var name="recoil_normal" value="0.15"/> <!-- spread in zoomed mode + mods affect this -->

  	<var name="recoil_zoom" value="1.5"/> <!-- spread in zoomed mode + mods affect this -->

  	


  	<!-- Fire modes -->

  	<var name="fire_modes" value="2"/> <!-- 1 = semi, 2 = semi+auto, 3 = semi+auto+burst -->

  	<var name="fire_rate_semi" value="0.1"/> <!-- minimum time between bullets in semi mode -->

  	<var name="fire_rate_auto" value="0.08333"/> <!-- time between bullets on full auto -->

  	<var name="fire_rate_burst" value="0.1"/> <!-- time between bullets in burts mode -->

  	<var name="fire_burst_count" value="3"/> <!-- the amount of bullets to fire in a row in burst mode -->

      

  	<var name="fire_offensive" value="2"/> <!-- 1 = semi, 2 = semi+auto, 3 = semi+auto+burst -->

  	<var name="fire_defensive" value="1"/> <!-- what thread in SGunLogics this weapon uses when when in defensive -->

  	<var name="fire_suppresive" value="4"/> <!-- what thread in SGunLogics this weapon uses when when in suppressed -->

  	

  	<!-- Effects -->

  	<var name="effect_semi_flash" value="g36_muzzle_flash"/> <!-- muzzle effect on semi -->

  	<var name="effect_auto_flash" value="g36_muzzle_flash"/> <!-- muzzle effect on auto -->

  	<var name="effect_auto_end" value="g36_muzzle_smoke"/> <!-- smoke effect on barrel after auto -->

  	<var name="effect_casing" value="556_shell_ejection"/> <!-- name of the casing effect -->

  	<var name="effect_hit" value="bullet_hit"/> <!-- name of the hit effect -->

  	<var name="effect_hit_physics" value="bullet_hit_rifle"/> <!-- name of the hit physics effect -->

  	

  	<!-- AI -->

  	<var name="ai_shoot_delay" value="0.1"/>    	<!-- normal aim time for ai -->  

  	<var name="ai_reload_delay" value="4.3"/>    	<!-- relaod time -->

  	<var name="ai_angle_req_near" value="30"/>

  	<var name="ai_angle_req_far" value="5"/>	

  	

  	

  	<var name="bolt_lockup_time" value="0.6"/> <!-- bolt anim -->

  	<var name="bolt_lock_time" value="0.1"/> <!-- bolt lock anim -->

  	

  	<!-- Moddable stats -->

  	<var name="damage" value="2"/> <!-- weapon damage + mods affect this -->

  	<var name="weight" value="1"/> <!-- weapon weight + mods affect this -->

  	<var name="stability" value="1"/> <!-- weapon stability + mods affect this -->

  	

  	<!-- Mods -->

  </stats>

  

  <stats block="item_data">

  	<var name="inventory_slot" value="secondary"/>

  </stats>

  

  <sounds>

    <soundbank name="g36_sound_3rd"/>

    <soundbank name="foley_rifle_sound"/>

  	<default_soundsource source="sound"/>

  </sounds>

	</unit>


</units>

Massive amount of the game is XML driven. I unpacked the bundle file and the game runs off the file system, so you can mod stuff and test it out. How you will be able to distribute a mod im not sure. Perhaps you can have it load multiple bundles. I've really not checked.

I've also been working on the symantics of the scripting language. All the included script files are byte code compiled but i have managed to write my own script file and have it compile on the fly. It doesn't do anything but it is legit game scripting code.

Edited by Nemon
Link to comment
Share on other sites

Is it truely official that there is NO SDK coming for this game? If so..that's a death sentence for the game. :/

I was considering buying it...but if that's the case...I guess i'll have to find another game.

[Merged into existing thread - Please check before posting]

Edited by Pave Low
Link to comment
Share on other sites

Take your pick Tangokillah

SDK acronyms

:whistle:

And yeah...it seems to be a fairly easy to understand weapon configuration file. Be intereresting to see what the g36.xml and g36_flashlight.xml files look like as the configuration seems to hint at those being model files.

Link to comment
Share on other sites

It has been said that a sandbox type editor will be released for Graw. In such an editor, is it normally possible to change enemy placements, set their patrolling paths, add/delete enemies and set their platoons/groups etc. , like we could do by using Igor ? Does anybody know ? Thank you.

Link to comment
Share on other sites

No wonder all the complaints of bizarre reticule behavior, and incomprehensible weapon performance...

If that's all there is it looks like the GRAW weapon metrics effecting accuracy from recoil, climb and posture are pretty crude -- even compared to Ghost Recon...

:(

Edited by Waika
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...