IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Help with unit creation please
GullyMan
post 28 Jun 2009, 20:49
Post #1



Group Icon

Group: Members
Posts: 6
Joined: 24 June 2009
From: England
Member No.: 208



Hello all,

Im looking to fiddle about with the units and make them how i would like them, how do i do that? huh.gif

Cheers
GullyMan cool.gif


--------------------
There are three sides to every argument: your side, my side and the right side.
Go to the top of the page
 
+Quote Post
Frostyarmy
post 30 Jun 2009, 0:08
Post #2


League is Life
Group Icon

Group: Tester
Posts: 748
Joined: 14 June 2009
From: America
Member No.: 153



You mean actually editing the Model like Changing a rangers Big gun to a small gun Or actually Coding the model with Stuff that make it shot tomahawks out its gun /Example
Go to the top of the page
 
+Quote Post
Failure
post 30 Jun 2009, 13:32
Post #3



Group Icon

Group: Members
Posts: 93
Joined: 16 June 2009
From: Poland
Member No.: 172
Projects: ROTR Staff



The best way to learn it is to copy an existing unit code.

For best example, go to Americavechicle.ini and copy the humvee code.
Rename it's name of course so there won't be two humvee's.
Now you can tweak the code, price, build time, side, weapon, and other stuff.
To buy it in game, you have to do command button for buying it and command set entry in your choosen war factory. For these last two, copy the original humvee's two.
If you have for example named it "truck"
The car in americavechicle is named truck, in command button it should be named something like this:
Command_buytruck

Now you have to paste this into your war factory.
For example america's
1-lol
2-wut
3-hax
6-omg
7-wtf
8-Command_BuyTruck

It should look like this.
Also remember that every building has got only 14 button's, so you can't add 15 without crashing.

As for making models, I'm not the one who can help.
If you need any more help contact me via msn.


--------------------
Go to the top of the page
 
+Quote Post
Shiro
post 6 Jul 2009, 14:33
Post #4


Gamer Girl
Group Icon

Group: Legend
Posts: 3808
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



To add in here, you CAN have up to 18 buttons (for scripting) but of course only 14 will show up. Also, you should of course change the commandbutton line where there is the vehicles object name, else you would buy the same humvee according to this tutorial.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 26 April 2024 - 12:50