We need to modify "spawn" function
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
We need to modify "spawn" function
I suggest to modify console command "spawn X" to create X allied units. Well, not modify but add new command like "spawn NAME" of unit, so the player can spawn certain unit by it`s name.
It can be VERY usefull function when you need to check some kind of unit, or maybe a new mod unit.
If it`s not very hard to do - we must add this opportunity! And maybe a little more - "spawn NAME SIDE" - so we could spawn not only ally units!
It can be VERY usefull function when you need to check some kind of unit, or maybe a new mod unit.
If it`s not very hard to do - we must add this opportunity! And maybe a little more - "spawn NAME SIDE" - so we could spawn not only ally units!
- Balthazar
- Moderator
- Posts: 2055
- Joined: Wed Nov 01, 2006 4:31 pm
- Location: Russian Federation
- Contact:
Perfect! Pokemon - gonna catch the all
And Zuzuf!!! In the name of GOD - make INGLISH the default language, and translate all text into inglish! I like french, but I don`t know it at all
And one more thing - I`ve asked early - ADD UNIT INFO, like HP, Dmg, speed somewhere in the gui (I suggest at the bottom near eye (maybe change eye to text ->locked, free).
And Zuzuf!!! In the name of GOD - make INGLISH the default language, and translate all text into inglish! I like french, but I don`t know it at all
And one more thing - I`ve asked early - ADD UNIT INFO, like HP, Dmg, speed somewhere in the gui (I suggest at the bottom near eye (maybe change eye to text ->locked, free).
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
currently, the code that make units fire doesn't care about accuracy so an experience variable wouldn't have any effect until this code is improved so we'll have to wait a bit before having units with experience (maybe for 0.2.5).
Now I can't show as much information as when you press F1 near the health bar but maybe HP and a few other things.
Now I can't show as much information as when you press F1 near the health bar but maybe HP and a few other things.
=>;-D Penguin Powered
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
the spawn_enemy doesn't work any more, it's replaced with the "standard" spawn command:
spawn UNIT_NAME PLAYER_ID NB_UNITS
just set PLAYER_ID to something not 0 if you want to add these units for an enemy (WARNING: setting this to an ID that doesn't exist may result in a crash!!)
currently available IDs are: 0 (you) and 1(computer) because it's the 2 players in the game.
spawn UNIT_NAME PLAYER_ID NB_UNITS
just set PLAYER_ID to something not 0 if you want to add these units for an enemy (WARNING: setting this to an ID that doesn't exist may result in a crash!!)
currently available IDs are: 0 (you) and 1(computer) because it's the 2 players in the game.
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 6 guests